summaryrefslogtreecommitdiff
path: root/Zend/tests
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests')
-rw-r--r--Zend/tests/bug34873.phpt27
1 files changed, 0 insertions, 27 deletions
diff --git a/Zend/tests/bug34873.phpt b/Zend/tests/bug34873.phpt
deleted file mode 100644
index d8683c991f..0000000000
--- a/Zend/tests/bug34873.phpt
+++ /dev/null
@@ -1,27 +0,0 @@
---TEST--
-bug #34873 (Segmentation Fault on foreach in object)
---FILE--
-<?php
-class pwa {
- public $var;
-
- function __construct(){
- $this->var = array();
- }
-
- function test (){
- $cont = array();
- $cont["mykey"] = "myvalue";
-
- foreach ($cont as $this->var['key'] => $this->var['value'])
- var_dump($this->var['value']);
- }
-}
-$myPwa = new Pwa();
-$myPwa->test();
-
-echo "Done\n";
-?>
---EXPECT--
-string(7) "myvalue"
-Done