3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $matches=null; $fortune = 'The rain in Spain<br> -- whoknows'; if (strpos($fortune,"--") !== FALSE) { preg_replace("/^--([ a-zA-Z])+$/m","<p> -- " . ${1} . "</p>",$matches); var_dump($matches); }
based on 6LCFA
Output for 5.0.4 - 7.2.6
Notice: Undefined variable: 1 in /in/M1QeY on line 5 NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: 1 in /in/M1QeY on line 5 NULL