3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $utf8string = 'Agence Santé; $var = 'santé'; $pos = strpos($utf8string, $var); if ($pos!==false) { echo substr($utf8string, 0, $pos); }
Output for 5.5.25
Parse error: syntax error, unexpected 'santé' (T_STRING) in /in/rEQ2d on line 5
Process exited with code 255.