ID:               29466
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hybrid at tuxfamily dot org
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: *
 PHP Version:      5.0.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:
------------------------------------------------------------------------

[2004-07-31 13:50:04] hybrid at tuxfamily dot org

Description:
------------
i don't know if this is a bug or not, but it seems that php doesn't
allow for $class::method(arg), this might be done using call_user_func
but, it's simply annoying

Reproduce code:
---------------
<?php
class test
{
    final static function testing()
    {
        echo 'hello';
    }
}
$class = 'test';
$class::testing();
?>

Expected result:
----------------
hello

Actual result:
--------------
unexpected T_PAAMAYIM_NEKUDOTAYIM or something like that :D


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29466&edit=1

Reply via email to