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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

History

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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC