]> granicus.if.org Git - php/commitdiff
remove ze1_compat tests
authorAntony Dovgal <tony2001@php.net>
Tue, 18 Mar 2008 14:50:14 +0000 (14:50 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 18 Mar 2008 14:50:14 +0000 (14:50 +0000)
Zend/tests/bug42119.phpt [deleted file]
Zend/tests/clone_uncloneable.phpt [deleted file]

diff --git a/Zend/tests/bug42119.phpt b/Zend/tests/bug42119.phpt
deleted file mode 100755 (executable)
index 79d70f0..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
---TEST--
-Bug #42119 (array_push($arr,&$obj) doesn't work with zend.ze1_compatibility_mode On)
---INI--
-allow_call_time_pass_reference=1
-zend.ze1_compatibility_mode=1
---FILE--
-<?php
-class myclass {
-  var $item = 1;
-}
-
-$arr = array();
-@$myobj = new myclass();
-array_push($arr,&$myobj);
-$myobj->item = 2;
-echo $arr[0]->item,"\n";
-?>
---EXPECT--
-2
diff --git a/Zend/tests/clone_uncloneable.phpt b/Zend/tests/clone_uncloneable.phpt
deleted file mode 100644 (file)
index 1549b34..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---TEST--
-cloning uncloneable object
---SKIPIF--
-<?php if (!extension_loaded("xsl")) die("skip xsl extension is missing");?>
---INI--
-zend.ze1_compatibility_mode=1
---FILE--
-<?php
-
-$new = &new XSLTProcessor(); 
-var_dump($new);
-
-echo "Done\n";
-?>
---EXPECTF--    
-Deprecated: Assigning the return value of new by reference is deprecated in %s on line %d
-
-Strict Standards: Implicit cloning object of class 'XSLTProcessor' because of 'zend.ze1_compatibility_mode' in %s on line %d
-
-Fatal error: Trying to clone uncloneable object of class XSLTProcessor in Unknown on line 0