3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php$array = array(PHP_INT_MAX => 'foo');$splArray = new SplFixedArray();try {  $splArray->fromArray($array);} catch (Exception $e) {  echo $e->getMessage();}?>
based on 6RKsR
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.32
<?php$array = array(PHP_INT_MAX => 'foo');$splArray = new SplFixedArray();try {  $splArray->fromArray($array);} catch (Exception $e) {  echo $e->getMessage();}?>