3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = '1392'; echo $str = get_defined_constants($str); echo intval($str)+1;
Output for 5.4.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/8trMJ on line 4 Array2
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.3.29
Array2
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for get_defined_constants() in /in/8trMJ on line 4 1