3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = 'Articulation Bras De Suspension Fiat Ulysse Nuova (179) 08/2002 - Avant Gauche'; preg_match('/[0-9]{1,2}\/[0-9]{2,4}[\s]*-/', $t, $periode); if(isset($periode[0]) === true) { $periode = explode('-', $periode[0]); $a_partir_de = trim($periode[0]); $periode[1] = trim($periode[1]); } print_r($periode);
based on laDuG
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Array ( [0] => 08/2002 [1] => )
Output for hhvm-3.10.0

Process exited with code 153.