3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sku = utf8_encode(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 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
int(1) Array ( [0] => 2356Grün_MLV1_2 [1] => 2356Grün [2] => 1 [3] => 2 )
Output for hhvm-3.10.0

Process exited with code 153.