ID:               27523
 Updated by:       [EMAIL PROTECTED]
 Reported By:      random at sinfusion dot com
 Status:           Wont fix
 Bug Type:         Documentation problem
 Operating System: Windows 2000
 PHP Version:      5.0.0b4 (beta4)
 New Comment:

I wouldn't fix anything for this bug report, althought classes and OO
need a huge rewrite because of PHP 5.


Previous Comments:
------------------------------------------------------------------------

[2004-04-19 17:09:08] [EMAIL PROTECTED]

I wouldn't fix anything for this bug report, althought classes and OO
need a huge rewrite because of PHP 5.

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

[2004-03-09 12:07:33] random at sinfusion dot com

Then I would reclassify this as a documentation issue.

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

[2004-03-09 08:45:50] [EMAIL PROTECTED]

Because you have to.


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

[2004-03-08 12:09:15] random at sinfusion dot com

Okay, that sounds like a workaround, but you don't have to do that in
the body of the class function.  Why should you have to do it
differently here?

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

[2004-03-08 11:28:42] wevegotafileonyou at hotmail dot com

You need to prepend the classname to the constant name (or use 'self')
eg:

TestConstants::CONST_1
self::CONST_1

--
sleepeasy.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/27523

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

Reply via email to