3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $filter = "id eq '2'"; preg_match('/\d+/', $filter, $a); var_dump($a);
based on 72TQc
Output for 4.3.0 - 7.1.0
array(1) { [0]=> string(1) "2" }