php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #234 Incorrect description of echoing variable variable value
Submitted: 1998-04-02 11:49 UTC Modified: 1998-04-02 13:21 UTC
From: steve at eyekon dot com Assigned: rasmus (profile)
Status: Closed Package: Documentation problem
PHP Version: 3.0 Release Candidate 3 OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: steve at eyekon dot com
New email:
PHP Version: OS:

 

 [1998-04-02 11:49 UTC] steve at eyekon dot com
In Big Manual, Variable Variable section:

$$a = "world";

change to:

${$a} = "world";

and

echo "$a $$a";

change to:

echo "$a ${$a}";

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-04-02 13:21 UTC] rasmus
$$a="world" is fine.  But you are right, the example should be "$a ${$a}"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC