summaryrefslogtreecommitdiff
path: root/Zend/tests
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2005-10-17 20:26:14 +0000
committerSVN Migration <svn@php.net>2005-10-17 20:26:14 +0000
commita23f4d06df76f105a4fb914a2a6923f47b2ec655 (patch)
treee1ffe8b362523a838838e5bd6ec51808c385b65a /Zend/tests
parentf133b09907ca4ccbfc4956c9fbf470d8f0c7240c (diff)
downloadphp-git-php-5.1.0RC3.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_1_0RC3'.php-5.1.0RC3
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