php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2817 (copy) assignement works like reference assignement
Submitted: 1999-11-24 10:51 UTC Modified: 1999-11-25 17:10 UTC
From: teo at digiro dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 3 OS: RH6.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: teo at digiro dot net
New email:
PHP Version: OS:

 

 [1999-11-24 10:51 UTC] teo at digiro dot net
$a = '123';
 $b = $a;
 echo " a: $a";
 $b[1] = '4';
 echo " a: $a";

 displays `143' second time.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-25 17:10 UTC] zeev at cvs dot php dot net
Fixed - thanks!

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 19:01:35 2025 UTC