RE: [PHP] class constants
| From: | Shaunak Kashyap | Date: | Wed, 08 Mar 2006 00:08:20 +0000 |
| Subject: | RE: [PHP] class constants | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-231627@lists.php.net to get a copy of this message | ||
>
> Constants aren't per class, they are per system. Whether you define
them
> in a class or not won't change this.
>
> You can list all constants using
> http://www.php.net/manual/en/function.get-defined-constants.php
>
>
Actually, PHP5 allows constants per class, aka class constants. I think
that's what the OP is referring to.
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main: 323.330.9900
www.worldpokertour.com
Confidentiality Notice: This e-mail transmission (and/or the
attachments accompanying) it may contain confidential information
belonging to the sender which is protected. The information is intended
only for the use of the intended recipient. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or taking of any action in reliance on the contents of this
information is prohibited. If you have received this transmission in
error, please notify the sender by reply e-mail and destroy all copies
of this transmission.