3v4l.org

run code in 300+ PHP versions simultaneously
<?php filter_var('number', FILTER_VALIDATE_REGEXP, array( 'options' => array( 'regex' => '/[0-9\*\+]{3,15}$/', 'default' => null ) ));

preferences:
27.31 ms | 402 KiB | 5 Q