From:             alex at primafila dot net
Operating system: RedHat, MacOS X
PHP version:      4.3.3
PHP Bug Type:     Scripting Engine problem
Bug description:  Weird behavior with objects and references

Description:
------------
Weird behavior with objects and references.

Reproduce code:
---------------
http://alex.primafila.net/bug-sample.phps

Expected result:
----------------
array(1) {
  ["type"]=>
  string(6) "strong"
}
array(1) {
  ["type"]=>
  string(6) "strong"
}

Actual result:
--------------
array(1) {
  ["type"]=>
  &string(6) "strong"
}
array(1) {
  ["type"]=>
  &string(4) "type"
}

-- 
Edit bug report at http://bugs.php.net/?id=25432&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25432&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25432&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25432&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25432&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25432&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25432&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25432&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25432&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25432&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25432&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25432&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25432&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25432&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25432&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25432&r=gnused

Reply via email to