3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $blah = mb_strlen(array()); echo ($blah === null) ? "true" : "false";
Output for 7.0.0 - 7.2.0
Warning: mb_strlen() expects parameter 1 to be string, array given in /in/AWFtX on line 3 true
Output for 5.5.0 - 5.6.28
Warning: mb_strlen() expects parameter 1 to be string, array given in /in/AWFtX on line 3 false