3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strlen(array());
Output for 5.3.0 - 5.6.30, hhvm-3.10.1 - 3.21.3, 7.0.0 - 7.1.10
Warning: strlen() expects parameter 1 to be string, array given in /in/4MuHm on line 3
Output for hhvm-3.22.0
Warning: strlen() expects parameter 1 to be string, array given in /in/4MuHm on line -1
Output for 4.3.0 - 5.2.17
Notice: Array to string conversion in /in/4MuHm on line 3 5