Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PHP] Variable declaration

0 views
Skip to first unread message

Chris Boget

unread,
Sep 26, 2001, 1:25:44 PM9/26/01
to Alberto, php-g...@lists.php.net
> I want PHP parser to warn/fail when I try to use a variable
> not declared before. Like "Option Explicit" on ASP/VBA.

Look here:

http://www.php.net/manual/en/function.error-reporting.php

Chris

0 new messages