3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str[106] = 106; if(strpos($str, "\\'") !== false || strpos($str, '\\"') !== false){ echo "yep"; } else { echo "nope" } var_dump($str);
Output for 5.3.0 - 5.4.11
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/5gsH0 on line 8
Process exited with code 255.