#34330 [Opn->Bgs]: Try to use a namespace with variable name and system crash
| From: | sniper@php.net | Date: | Thu, 01 Sep 2005 15:48:12 +0000 |
| Subject: | #34330 [Opn->Bgs]: Try to use a namespace with variable name and system crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84306@lists.php.net to get a copy of this message | ||
ID: 34330
Updated by: sniper@php.net
Reported By: asalamanca at redcetus dot com
-Status: Open
+Status: Bogus
Bug Type: Reproducible crash
Operating System: linux
PHP Version: 4.4.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2005-09-01 17:36:49] asalamanca at redcetus dot com
Description:
------------
Can't use a object like a namespace if the name of class is a
variable.
Reproduce code:
---------------
$myclass = 'foo';
$myclass::anyFunction();
Expected result:
----------------
no error
Actual result:
--------------
Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM in ... etc
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34330&edit=1