3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php #var_dump( @iconv_strlen("\xc3\x28", "UTF-8")); #var_dump( extension_loaded('iconv')); var_dump(preg_match('##u', "\xc3\x28")); #echo mb_strlen("\xc3\x28", "UTF-8");
based on dfo6k
Output for 5.3.4 - 7.2.0
bool(false)
Output for 4.3.5 - 5.0.5, 5.1.1 - 5.3.3
int(0)
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/p6O1s on line 10
Process exited with code 255.
Output for 4.3.0 - 4.3.4
int(1)