3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr[] = 1; var_dump(strlen($arr));
Output for 5.3.0 - 7.2.6
Warning: strlen() expects parameter 1 to be string, array given in /in/sWXEE on line 5 NULL
Output for 4.3.0 - 5.2.17
int(5)