3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $disabled_functions = ini_get('disable_functions'); if ($disabled_functions!='') { $arr = explode(',', $disabled_functions); sort($arr); echo 'Disabled Functions: '; for ($i=0; $i&lt;count($arr); $i++) { echo $i.' - '.$arr[$i].'&lt; br&gt;'; } } else { echo 'No functions disabled'; }
Output for 5.3.0 - 5.3.18, 5.4.0 - 5.4.8
Parse error: syntax error, unexpected ';', expecting ')' in A0a4W on line 10
Process exited with code 255.

preferences:
166.43 ms | 1395 KiB | 35 Q