3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define (PIPPO, "stocazzo"); $stocazzo_1 = 666; $pp = eval (PIPPO.'_1'); print_r($pp);
based on BBeY9
Output for 7.2.0
Warning: Use of undefined constant PIPPO - assumed 'PIPPO' (this will throw an Error in a future version of PHP) in /in/eJdlf on line 3 Parse error: syntax error, unexpected end of file in /in/eJdlf(7) : eval()'d code on line 1
Process exited with code 255.
Output for 5.4.1 - 5.4.10, 7.0.0 - 7.1.10
Notice: Use of undefined constant PIPPO - assumed 'PIPPO' in /in/eJdlf on line 3 Parse error: syntax error, unexpected end of file in /in/eJdlf(7) : eval()'d code on line 1
Process exited with code 255.
Output for 5.4.11 - 5.6.28
Notice: Use of undefined constant PIPPO - assumed 'PIPPO' in /in/eJdlf on line 3 Parse error: syntax error, unexpected end of file in /in/eJdlf(7) : eval()'d code on line 1
Output for 5.3.18 - 5.3.29
Notice: Use of undefined constant PIPPO - assumed 'PIPPO' in /in/eJdlf on line 3 Parse error: syntax error, unexpected $end in /in/eJdlf(7) : eval()'d code on line 1
Process exited with code 255.