summaryrefslogtreecommitdiff
path: root/Zend/tests/bug33257.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug33257.phpt')
-rwxr-xr-xZend/tests/bug33257.phpt25
1 files changed, 0 insertions, 25 deletions
diff --git a/Zend/tests/bug33257.phpt b/Zend/tests/bug33257.phpt
deleted file mode 100755
index 2ce3e2fe96..0000000000
--- a/Zend/tests/bug33257.phpt
+++ /dev/null
@@ -1,25 +0,0 @@
---TEST--
-Bug #33257 array_splice() inconsistent when passed function instead of variable
---INI--
-error_reporting=4095
---FILE--
-<?php
-class X {
- protected static $arr = array("a", "b", "c");
- public static function getArr() {
- return self::$arr;
- }
-}
-
-//$arr1 = X::getArr();
-array_splice(X::getArr(), 1, 1);
-print_r(X::getArr());
-?>
---EXPECTF--
-Strict Standards: Only variables should be passed by reference in %sbug33257.php on line 10
-Array
-(
- [0] => a
- [1] => b
- [2] => c
-)