/home/techb158/exp.abdallabala.com/vendor/respect/validation/tests/integration/rules
Edit: /home/techb158/exp.abdallabala.com/vendor/respect/validation/tests/integration/rules/ip_3.phpt (463B)
--FILE--
check('foo');
} catch (IpException $e) {
echo $e->getMainMessage().PHP_EOL;
}
try {
v::ip()->assert('foo');
} catch (AllOfException $e) {
echo $e->getFullMessage().PHP_EOL;
}
?>
--EXPECTF--
"foo" must be an IP address
- "foo" must be an IP address