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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 06:01:31 2024 UTC