3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(~PHP_INT_MIN => 42); var_dump( array_pop($a) ); var_dump($a);
Output for hhvm-3.12.0, 7.0.0 - 7.1.0
int(42) array(0) { }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.6.28
Notice: Use of undefined constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /in/bUZ4e on line 2 int(42) array(0) { }