summaryrefslogtreecommitdiff
path: root/Zend/tests/array_type_hint_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/array_type_hint_001.phpt')
-rwxr-xr-xZend/tests/array_type_hint_001.phpt15
1 files changed, 0 insertions, 15 deletions
diff --git a/Zend/tests/array_type_hint_001.phpt b/Zend/tests/array_type_hint_001.phpt
deleted file mode 100755
index b110622aeb..0000000000
--- a/Zend/tests/array_type_hint_001.phpt
+++ /dev/null
@@ -1,15 +0,0 @@
---TEST--
-Array type hint
---FILE--
-<?php
-function foo(array $a) {
- echo count($a)."\n";
-}
-
-foo(array(1,2,3));
-foo(123);
-?>
---EXPECTF--
-3
-
-Fatal error: Argument 1 must be an array, called in %sarray_type_hint_001.php on line 7 and defined in %sarray_type_hint_001.php on line 2