Re: Why "Notice: Use of undefined constant mefe - assumed 'mefe' in C:\...\calc.php on line 24"??
| From: | Pierre-Alain Joye | Date: | Tue, 18 Feb 2003 17:35:10 +0000 |
| Subject: | Re: Why "Notice: Use of undefined constant mefe - assumed 'mefe' in C:\...\calc.php on line 24"?? | ||
| References: | 1 2 3 4 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10078@lists.php.net to get a copy of this message | ||
On 18 Feb 2003 12:30:59 -0500
Adam Voigt <adam@cryptocomm.com> wrote:
> On Tue, 2003-02-18 at 10:59, Pierre-Alain Joye wrote:
> Hmmm, bad advice, you better to safely fix them.
>
> Reply:
>
> This is infact an extremely common practice, and infact 90% of the PHP
> applications
<snip>
I simply do not agree, variable initialisations, well defined constants,
etc... is, imho, the best practice. And make your code cleaner and work
on any configuration. Let see the amount of applications are useless
just because they do not take care about these settings.
But it's not a flamewar, just an advice, do whatever you like :-)
pierre