summaryrefslogtreecommitdiff
path: root/ext/filter/tests/055.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/filter/tests/055.phpt')
-rw-r--r--ext/filter/tests/055.phpt18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/filter/tests/055.phpt b/ext/filter/tests/055.phpt
index 0edc241efd..32ede68034 100644
--- a/ext/filter/tests/055.phpt
+++ b/ext/filter/tests/055.phpt
@@ -5,18 +5,18 @@ filter_var() and FILTER_VALIDATE_MAC
--FILE--
<?php
$values = Array(
- array("01-23-45-67-89-ab", null),
+ array("01-23-45-67-89-ab", 0),
array("01-23-45-67-89-ab", array("options" => array("separator" => "-"))),
array("01-23-45-67-89-ab", array("options" => array("separator" => "."))),
array("01-23-45-67-89-ab", array("options" => array("separator" => ":"))),
- array("01-23-45-67-89-AB", null),
- array("01-23-45-67-89-aB", null),
- array("01:23:45:67:89:ab", null),
- array("01:23:45:67:89:AB", null),
- array("01:23:45:67:89:aB", null),
- array("01:23:45-67:89:aB", null),
- array("xx:23:45:67:89:aB", null),
- array("0123.4567.89ab", null),
+ array("01-23-45-67-89-AB", 0),
+ array("01-23-45-67-89-aB", 0),
+ array("01:23:45:67:89:ab", 0),
+ array("01:23:45:67:89:AB", 0),
+ array("01:23:45:67:89:aB", 0),
+ array("01:23:45-67:89:aB", 0),
+ array("xx:23:45:67:89:aB", 0),
+ array("0123.4567.89ab", 0),
array("01-23-45-67-89-ab", array("options" => array("separator" => "--"))),
array("01-23-45-67-89-ab", array("options" => array("separator" => ""))),
);