3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = array(); $str_n = array(); $str_d = array(); $str_dc = 0; $str_f = array(); $str_fc = 0; $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_dc = mb_strstr($str[0],';'); $str_dc = substr($str_dc,1,mb_strlen($str_dc)); $str_d[0] = mb_strstr($str_dc,';',true); $str_fc = mb_strstr($str_dc,';'); $str_fc = substr($str_fc,1,mb_strlen($str_fc)); $str_f[0] = mb_strstr($str_fc,';',true); echo $str_n[0]." / "; echo $str_d[0]." / "; echo $str_f[0]." / "; ?>
based on AMZ2k
Output for 5.2.0 - 7.1.0
Shockwave Flash / Shockwave Flash 13.0 r0 / NPSWF32_13_0_0_214.dll /
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function mb_strstr() in /in/q1iYX on line 9
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: mb_strstr() in /in/q1iYX on line 9
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: mb_strstr() in /in/q1iYX on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mb_strstr() in /in/q1iYX on line 9