3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = '1392'; echo $str = get_defined_constants($str); echo intval($str)+1;
Output for 5.4.0 - 7.2.0
Notice: Array to string conversion in /in/8trMJ on line 4 Array2
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