3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = array(); $str_n = array(); $str[0] = "Shockwave Flash 14.0 r0"; $str_n[0] = mb_strstr($str[0],[^0-9]); echo $str_n[0]; ?>
based on j4WYo
Output for 5.4.0 - 5.4.32
Parse error: syntax error, unexpected '^', expecting ']' in /in/i1J1k on line 5
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/i1J1k on line 5
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 '[' in /in/i1J1k on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/i1J1k on line 5
Process exited with code 255.