3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = NULL; $pop = array_pop( $test ); echo empty($pop);
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: array_pop() expects parameter 1 to be array, null given in /in/NBf0E on line 4 1
Output for hhvm-3.12.0
Warning: array_pop() expects parameter 1 to be an array or mutable collection in /in/NBf0E on line 4 1
Output for hhvm-3.10.0
Warning: array_pop() expects parameter 1 to be an array or mutable collection in /in/NBf0E on line 13 1
Output for 4.3.2 - 5.2.17
Warning: array_pop(): The argument should be an array in /in/NBf0E on line 4 1
Output for 4.3.0 - 4.3.1
Warning: array_pop() [http://www.php.net/function.array-pop]: The argument should be an array in /in/NBf0E on line 4 1