3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $reg = '#[0-9]{2}/[0-9]{2}/[0-9]{4}#'; $str = "Avant le 30/04/2013"; $resultat = preg_match($reg,$str,$output); var_dump($output);
Output for 4.3.0 - 7.2.0
array(1) { [0]=> string(10) "30/04/2013" }