3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = 'blabla'; end($test);
Output for 5.3.0 - 7.1.0
Warning: end() expects parameter 1 to be array, string given in /in/I86bN on line 5
Output for 4.3.2 - 5.2.17
Warning: end(): Passed variable is not an array or object in /in/I86bN on line 5
Output for 4.3.0 - 4.3.1
Warning: end() [http://www.php.net/function.end]: Passed variable is not an array or object in /in/I86bN on line 5