ID: 34330 Updated by: [EMAIL PROTECTED] 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