Menu
HI
Please consider the following code:
[code=php]
var_dump(filter_var(‘[email protected]’, FILTER_VALIDATE_EMAIL));
Ideally the above email should be invalid and var_dump should return false but the strange thing is when u run this code on the following sites they return non similar results, can anyone tell me whats going on?
Site: [url]http://codepad.org/MtDCoxxZ
Output: false
Site: [url]http://writecodeonline.com/php/
Output: True