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.3.0
Warning: filter_var(): 'regexp' option missing in /in/OGZbP on line 4
Output for 7.0.18 - 7.0.33, 7.1.4 - 7.2.13
Warning: filter_var(): 'regexp' option missing in /in/OGZbP on line 3
Output for 5.3.20 - 7.0.17, 7.1.0 - 7.1.3
Warning: filter_var(): 'regexp' option missing in /in/OGZbP on line 7