3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match("/(.*) \[C\](.*)\[\/C\](.*)/i",$edit,$matches); $a = $matches[1]; $b = $matches[2]; echo($a.";".$b); ?>
Output for 5.3.0 - 7.2.0
Notice: Undefined variable: edit in /in/sHXi0 on line 2 Notice: Undefined offset: 1 in /in/sHXi0 on line 3 Notice: Undefined offset: 2 in /in/sHXi0 on line 4 ;
Output for 5.0.4 - 5.2.17
Notice: Undefined variable: edit in /in/sHXi0 on line 2 Notice: Undefined offset: 1 in /in/sHXi0 on line 3 Notice: Undefined offset: 2 in /in/sHXi0 on line 4 ;
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: edit in /in/sHXi0 on line 2 Notice: Undefined offset: 1 in /in/sHXi0 on line 3 Notice: Undefined offset: 2 in /in/sHXi0 on line 4 ;