3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( "mail_q" => 0, "task_next_run" => "32432432" ); $res = strstr( $arr, "a:" );
Output for 5.3.1 - 7.1.0
Warning: strstr() expects parameter 1 to be string, array given in /in/2FTiL on line 8
Output for 4.3.0 - 5.3.0
Notice: Array to string conversion in /in/2FTiL on line 8