Date: 07/17/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5634 Updated: mysql_insert_id retruns 0 in php4 but works in php3"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] INSTALL file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: alex <email protected>
Operating system: all
PHP version: 4.0.1pl2
PHP Bug Type: Misbehaving function
Bug description: When a common name for an array and scalar is used, assignments override each o
<?php
$a[0] = "hello";
$a = "world";
print($a[0] . "\n");
print($a . "\n");
?>
The following code misbehaves as well:
<?php
$a = "world";
$a[0] = "hello";
print($a . "\n");
print($a[0] . "\n");
?>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5634 Updated: mysql_insert_id retruns 0 in php4 but works in php3"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] INSTALL file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

