[wp-hackers] looking for opinions on php5-only plugins

Ryan McCue lists at rotorised.com
Thu Oct 8 09:36:03 UTC 2009

Silverstein, Jesse wrote:
> Along these lines, is there an easy/safe way to check if a const
> variable in a class will be accessed properly, versus throwing a fatal
> error?

You should be able to use defined() for this purpose.

Ryan McCue

More information about the wp-hackers mailing list