3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr[] = 1; var_dump(strncmp('ryat',$arr,4));
Output for 5.3.0 - 7.2.0
Warning: strncmp() expects parameter 2 to be string, array given in /in/KlNcn on line 5 NULL
Output for 4.3.0 - 5.2.17
Notice: Array to string conversion in /in/KlNcn on line 5 int(49)