3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $vector = array(); $vector[] = "sleep(var_export(eval(header(base64_decode('SFRUUC8xLjAgMzY5IFB0UkNFIEZvdW5k')).var_dump($_SERVER)))?:5);"; $a = "assert"; array_map($a,$vector);
Output for 7.1.0
Notice: Array to string conversion in /in/aXq0X on line 2 Warning: Cannot call assert() with string argument dynamically in /in/aXq0X on line 4
Output for 5.4.0 - 5.6.28, 7.0.0 - 7.0.14
Notice: Array to string conversion in /in/aXq0X on line 2 Parse error: syntax error, unexpected '(Array)' (array) (T_ARRAY_CAST) in /in/aXq0X(4) : assert code on line 1 Catchable fatal error: assert(): Failure evaluating code: sleep(var_export(eval(header(base64_decode('SFRUUC8xLjAgMzY5IFB0UkNFIEZvdW5k')).var_dump(Array)))?:5); in /in/aXq0X on line 4
Process exited with code 255.
Output for hhvm-3.13.2
Notice: Array to string conversion in /in/aXq0X on line 56 Fatal error: Uncaught Error: syntax error, unexpected T_ARRAY_CAST in :1 Stack trace: #0 (): include() #1 (): assert() #2 /in/aXq0X(59): array_map() #3 {main}
Process exited with code 255.
Output for hhvm-3.12.0
Notice: Array to string conversion in /in/aXq0X on line 2 Fatal error: Uncaught Error: syntax error, unexpected T_ARRAY_CAST in :1 Stack trace: #0 (): include() #1 (): assert() #2 /in/aXq0X(4): array_map() #3 {main}
Process exited with code 255.
Output for hhvm-3.10.0
Notice: Array to string conversion in /in/aXq0X on line 2
Output for 5.2.0 - 5.3.29
Parse error: syntax error, unexpected T_ARRAY_CAST in /in/aXq0X(4) : assert code on line 1 Catchable fatal error: assert(): Failure evaluating code: sleep(var_export(eval(header(base64_decode('SFRUUC8xLjAgMzY5IFB0UkNFIEZvdW5k')).var_dump(Array)))?:5); in /in/aXq0X on line 4
Process exited with code 255.
Output for 5.1.0 - 5.1.6
Parse error: syntax error, unexpected T_ARRAY_CAST in /in/aXq0X(4) : assert code on line 1 Fatal error: assert(): Failure evaluating code: sleep(var_export(eval(header(base64_decode('SFRUUC8xLjAgMzY5IFB0UkNFIEZvdW5k')).var_dump(Array)))?:5); in /in/aXq0X on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_ARRAY_CAST in /in/aXq0X(4) : assert code on line 1 Fatal error: assert(): Failure evaluating code: sleep(var_export(eval(header(base64_decode('SFRUUC8xLjAgMzY5IFB0UkNFIEZvdW5k')).var_dump(Array)))?:5); in /in/aXq0X on line 4
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_ARRAY_CAST in /in/aXq0X(4) : assert code on line 1 Fatal error: Failure evaluating code: sleep(var_export(eval(header(base64_decode('SFRUUC8xLjAgMzY5IFB0UkNFIEZvdW5k')).var_dump(Array)))?:5); in /in/aXq0X on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_ARRAY_CAST in /in/aXq0X(4) : assert code on line 1 Fatal error: Failure evaluating code: sleep(var_export(eval(header(base64_decode('SFRUUC8xLjAgMzY5IFB0UkNFIEZvdW5k')).var_dump(Array)))?:5); in /in/aXq0X on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/aXq0X(4) : assert code on line 1 Fatal error: Failure evaluating code: sleep(var_export(eval(header(base64_decode('SFRUUC8xLjAgMzY5IFB0UkNFIEZvdW5k')).var_dump(Array)))?:5); in /in/aXq0X on line 4
Process exited with code 255.