3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $blah = mb_strlen(array()); echo ($blah === null) ? "true" : "false";
based on VNr14
Output for 7.0.0 - 7.3.0
Warning: mb_strlen() expects parameter 1 to be string, array given in /in/k5GRi on line 4 true
Output for hhvm-3.22.0
Warning: mb_strlen() expects parameter 1 to be string, array given in /in/k5GRi on line -1 false
Output for 5.3.21 - 5.6.38, hhvm-3.10.1 - 3.21.3
Warning: mb_strlen() expects parameter 1 to be string, array given in /in/k5GRi on line 4 false