Re: Question about constants
| From: | Stanislav Malyshev | Date: | Sun, 18 Nov 2007 02:21:33 +0000 |
| Subject: | Re: Question about constants | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33238@lists.php.net to get a copy of this message | ||
If i were to implement some type of patch, could i define a php constant to indicate the patch has been applied while staying within the php naming conventions? If so, what should i prefix with?I don't think we have any standard for third-party engine functionality detection. Since you add a function there, maybe you could do just with function_exists("get_my_superglobals")? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com