PHP 4.0 Bug #3103: Using the same variable twice in a list() command results in a coredump

From: Date: Wed, 05 Jan 2000 00:27:37 +0000
Subject: PHP 4.0 Bug #3103: Using the same variable twice in a list() command results in a coredump
Groups: php.dev 
Request: Send a blank email to php-dev+get-14271@lists.php.net to get a copy of this message
From: oliver@billix.franken.de Operating system: Linux 2.0.38 PHP version: 4.0 Latest CVS (05/01/2000) PHP Bug Type: Reproduceable crash Bug description: Using the same variable twice in a list() command results in a coredump This little program <?php list ( $x , $x ) = array ( 1 , 2 ); ?> leads to the following output and a coredump: [Wed Jan 5 01:26:36 2000] Script: 'test.php' --------------------------------------- zend_alloc.c(355) : Block 0x08158168 status: Beginning: Overrun (magic=0x5A5A5A5A, expected=0x7312F8DC) End: Unknown --------------------------------------- Segmentation fault (core dumped)

« previous php.dev (#14271) next »