3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = array(); $str_n = array(); $str_d = array(); $str_dc; $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)); echo $str_n[0]." / "; echo $str_dc." / "; ?>
based on fGDsX
Output for 5.2.0 - 5.6.28, 7.0.0 - 7.1.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) /
Output for hhvm-3.12.0
Notice: Undefined variable: str_dc in /in/HHmpS on line 5 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) /
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.1.0 - 5.1.6
Fatal error: Call to undefined function mb_strstr() in /in/HHmpS on line 7
Process exited with code 255.
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: str_dc in /in/HHmpS on line 5 Fatal error: Call to undefined function mb_strstr() in /in/HHmpS on line 7
Process exited with code 255.
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: str_dc in /in/HHmpS on line 5 Fatal error: Call to undefined function mb_strstr() in /in/HHmpS on line 7
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Notice: Undefined variable: str_dc in /in/HHmpS on line 5 Fatal error: Call to undefined function: mb_strstr() in /in/HHmpS on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Notice: Undefined variable: str_dc in /in/HHmpS on line 5 Fatal error: Call to undefined function: mb_strstr() in /in/HHmpS on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: str_dc in /in/HHmpS on line 5 Fatal error: Call to undefined function: mb_strstr() in /in/HHmpS on line 7