3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_time_limit(0); $length = 2; $charset = sprintf('%s', implode('',array_merge(range('0', '9'),range('a', 'z'),range('A', 'Z')))); for ($i = 0; $i < strlen($charset); $i++) $a[] = $charset{$i}; for ($i = 0, $c = "", $d = "if(strpos(md5("; $i < $length; $i++){ $c .= "foreach(\$a as \$b[$i])"; $d .= "\$b[$i]."; } echo($c.$d."/""/"),'202cb962ac59075b964b07152d234b70')!== false){print \"\$str==pass\n\";}");
Output for 5.4.0 - 5.4.12, 5.4.14
Parse error: syntax error, unexpected '"/"' (T_CONSTANT_ENCAPSED_STRING) in Y449j on line 11
Process exited with code 255.
Output for 5.4.13
Parse error: syntax error, unexpected '"/"' (T_CONSTANT_ENCAPSED_STRING) in /in/fbciV on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.3.24
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in Y449j on line 11
Process exited with code 255.
Output for 5.3.23
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /in/fbciV on line 11
Process exited with code 255.

preferences:
182.59 ms | 1399 KiB | 47 Q