3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php filter_var('+27741190086', 272, array( 'options' => array( 'regex' => '/[0-9\*\+]{3,15}$/', 'default' => null ) ));
based on Y6CDN
Output for 7.0.20, 7.1.5 - 7.2.0
Warning: filter_var(): 'regexp' option missing in /in/OGZbP on line 3
Output for 5.3.20 - 7.0.6, 7.1.0
Warning: filter_var(): 'regexp' option missing in /in/OGZbP on line 7