summaryrefslogtreecommitdiff
path: root/Zend/tests/bug27268.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug27268.phpt')
-rwxr-xr-xZend/tests/bug27268.phpt28
1 files changed, 0 insertions, 28 deletions
diff --git a/Zend/tests/bug27268.phpt b/Zend/tests/bug27268.phpt
deleted file mode 100755
index a86e8d0297..0000000000
--- a/Zend/tests/bug27268.phpt
+++ /dev/null
@@ -1,28 +0,0 @@
---TEST--
-Bug #27268 (Bad references accentuated by clone)
---FILE--
-<?php
-class A
-{
- public function &getA()
- {
- return $this->a;
- }
-}
-
-$A = new A;
-$A->a = array(1);
-$x = $A->getA();
-$clone = clone $A;
-$clone->a = array();
-print_r($A);
-?>
---EXPECT--
-A Object
-(
- [a] => Array
- (
- [0] => 1
- )
-
-)