3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sku = base64_decode('MjM1Nkdy/G5fTUxWMV8y'); $match = array(); $r = preg_match('/(.*)_MLV([0-9]*)_([0-9]*)$/u', $sku, $match); var_dump($r); echo "\n"; print_r($match);
Output for 5.3.4 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
bool(false) Array ( )
Output for 4.3.5 - 5.3.3
int(0) Array ( )
Output for 4.3.0 - 4.3.4
int(1) Array ( [0] => 2356Gr�n_MLV1_2 [1] => 2356Gr�n [2] => 1 [3] => 2 )