3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $country_code = 'PL'; $a = preg_match('/[A-Z]{2}/', $country_code); var_dump($a);
based on 8GcIR
Output for 5.3.19 - 7.2.0
int(1)