PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php var_dump(filter_var('example.com', FILTER_VALIDATE_DOMAIN)); // also var_dump(filter_var('test.example.com', FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)); ?>
Show:  
Copy Clear