[PHP4BETA] another segfault in new

From: Date: Sun, 11 Apr 1999 23:48:23 +0000
Subject: [PHP4BETA] another segfault in new
Groups: php.version4 
Request: Send a blank email to php-version4+get-78@lists.php.net to get a copy of this message
> There was no text content in this message.

Attachment: [message/rfc822]
<? $i = array(); class dam { function dam() { $donothing = 1; } } class abc { function abc($name) { echo "1\n"; flush(); $this->asd = array(1,23,3123, array(abc => def)); echo "2\n"; flush(); $this->asd[3]["abc"] = new $name; echo "3\n"; flush(); $this->$name = array(); echo "4\n"; flush(); $m = "i"; echo "5\n"; flush(); $i = "j"; echo "6\n"; flush(); for($$$m = 0; $$$m < 10; $$$m++) { echo "7\n"; flush(); ${$this->$name}[] = new $name; echo "8\n"; flush(); } echo "9\n"; flush(); } } for($i[0] = 0; $i[0] < 10; $i[0]++) { for($i[1] = 0; $i[1] < 10; $i[1]++) { for($i[2] = 0; $i[2] < 10; $i[2]++) { for($i[3] = 0; $i[3] < 10; $i[3]++) { for($i[4] = 0; $i[4] < 10; $i[4]++) { for($i[5] = 0; $i[5] < 10; $i[5]++) { for($i[6] = 0; $i[6] < 10; $i[6]++) { for($i[7] = 0; $i[7] < 10; $i[7]++) { for($i[8] = 0; $i[8] < 10; $i[8]++) { for($i[9] = 0; $i[9] < 10; $i[9]++) { $a = new abc("dam"); } } } } } } } } } }
« previous php.version4 (#78) next »