Suppressing "undefined variable" notices with argc

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Mephisto
Forum Newbie
Posts: 4
Joined: Thu Oct 10, 2002 5:04 pm
Location: North Germany
Contact:

Suppressing "undefined variable" notices with argc

Post by Mephisto »

Hi,

I'm running PHP with detailed messages for debugging purposes. My problem is a notices coming up with the predefined "argc" variable:

Notice: Undefined variable: argc in [...]index.php on line 190

What must I do to avoid this notice without disabling this kind of notices globally.

Ciao, Meph
Post Reply