PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php error_reporting(E_ALL); //var_dump($_SERVER); //echo base64_encode(file_get_contents('/usr/local/instantclient')); //echo 'wat', file_get_contents('/code/php81/eval.php'), PHP_EOL; if ($handle = opendir('/usr/local/etc')) { echo "Directory handle: $handle\n"; echo "Entries:\n"; /* This is the correct way to loop over the directory. */ while (false !== ($entry = readdir($handle))) { echo "$entry\n"; } /* This is the WRONG way to loop over the directory. */ while ($entry = readdir($handle)) { echo "$entry\n"; } closedir($handle); }
Show:  
Copy Clear