3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str[106] = 106; if(strpos($str, "\\'") !== false || strpos($str, '\\"') !== false){ return true; } else { return false; }
Output for 5.3.0 - 7.1.0
Warning: strpos() expects parameter 1 to be string, array given in /in/StIRh on line 4
Output for 4.3.0 - 5.2.17
Notice: Array to string conversion in /in/StIRh on line 4 Notice: Array to string conversion in /in/StIRh on line 4