1--TEST--
2Bug #44445 (email validator does not handle domains starting/ending with a -)
3--EXTENSIONS--
4filter
5--FILE--
6<?php
7var_dump(filter_var("foo@-foo.com",FILTER_VALIDATE_EMAIL));
8var_dump(filter_var("foo@foo-.com",FILTER_VALIDATE_EMAIL));
9?>
10--EXPECT--
11bool(false)
12bool(false)
13