3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = "<esam >Hello</mase>"; $p = "/<.*?>/x"; $m = []; var_dump(1 <=> $m); preg_match($p, $s, $m); print_r($m);
based on D2SRI
Output for hhvm-3.18.5 - 3.22.0, 7.0.30 - 7.3.0beta1
int(-1) Array ( [0] => <esam > )
Output for 5.6.30
Parse error: syntax error, unexpected '>' in /in/9SotD on line 6
Process exited with code 255.