3v4l.org

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