php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26607 strange beaviour of lonely "$"
Submitted: 2003-12-12 12:15 UTC Modified: 2003-12-12 18:22 UTC
From: riccardo at logicalsystem dot it Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.3.4 OS: linux RH 8.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: riccardo at logicalsystem dot it
New email:
PHP Version: OS:

 

 [2003-12-12 12:15 UTC] riccardo at logicalsystem dot it
Description:
------------
if you forget a "$" it may be attached to the next 
variable; I think it is not correct...


Reproduce code:
---------------
# cat a
<?php
        $pippo="a";
        $$pippo=10;
        echo  $
        $pippo;
        echo "\n";

?>
# php -q a
10


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-12 18:22 UTC] eru@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jan 05 06:01:27 2025 UTC