echo __DIR__;

$date = date_create_from_format(‘y-m-d’, ’05-10-12′);
var_dump(date_format($date, ‘F d, Y’));

 

Dude, where is my code?
stream_resolve_include_path(“PEAR.php”);

$it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(‘.’));
$regx = new RegexIterator($it, ‘/^.+\.php$/i’, RecursiveRegexIterator::GET_MATCH);
foreach($regx as $file){
echo $file[0]. “\n”;
}