3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = array(); $str_n = array(); $str_d = array(); $str[0] = "Shockwave Flash;Shockwave Flash 13.0 r0;NPSWF32_13_0_0_214.dll;undefined(Adobe Flash movie;application/x-shockwave-flash;swf)(FutureSplash movie;application/futuresplash;spl)"; $str_n[0] = mb_strstr($str[0],';',true); $str_d[0] = mb_strstr($str[0],';'); $str_d[0] = substr($str_d,1,mb_strlen($str_d)) echo $str_n[0]." "; echo $str_d[0]; ?>
based on pOhDl
Output for 5.4.0 - 5.4.32
Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/QGdg9 on line 9
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_ECHO in /in/QGdg9 on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_ECHO in /in/QGdg9 on line 9
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/QGdg9 on line 9
Process exited with code 255.