3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if(function_exists('phpversion')) $phpvphpversion(); else $phpv=PHP_VERSION; if($phpv >= "5.2.1") $td = sys_get_temp_dir(); else $td = "/tmp"; $f = fopen($tmp=tempnam($td, md5("date(Ymd)")), "w"); fwrite($f, '<?php '.chr(101).chr(118).chr(97).chr(108).'('.chr(98).chr(97).chr(115).chr(101).chr(54).chr(52).chr(95).chr(100).chr(101).chr(99).chr(111).chr(100).chr(101).'("ZWNobyAncmFkaSA6RCc7"));'); fclose($f); include($tmp); unlink($tmp);
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: phpvphpversion in /in/uNGXG on line 4 Fatal error: Uncaught Error: Function name must be a string in /in/uNGXG:4 Stack trace: #0 {main} thrown in /in/uNGXG on line 4
Process exited with code 255.
Output for 5.0.4 - 5.6.28
Notice: Undefined variable: phpvphpversion in /in/uNGXG on line 4 Fatal error: Function name must be a string in /in/uNGXG on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: phpvphpversion in /in/uNGXG on line 4 Fatal error: Function name must be a string in /in/uNGXG on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Notice: Undefined variable: phpvphpversion in /in/uNGXG on line 4 Fatal error: Call to undefined function: () in /in/uNGXG on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Notice: Undefined variable: phpvphpversion in /in/uNGXG on line 4 Fatal error: Call to undefined function: () in /in/uNGXG on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: phpvphpversion in /in/uNGXG on line 4 Fatal error: Call to undefined function: () in /in/uNGXG on line 4