Re: Imap Backend Propsal

From: Date: Thu, 29 Jan 2004 21:32:48 +0000
Subject: Re: Imap Backend Propsal
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25336@lists.php.net to get a copy of this message
Quoting Richard York <richy@smilingsouls.net>:
I've been doing OOP for about a year or so and still regularly run into stuff that I didn't know about before, how can I declare variables dynamically? Do I not have to declare a variable with the var keyword before using it?
You don't have to, but IMHO you definitely should. It makes absolutely sure to avoid errors when running in E_ALL error reporting mode, is good practice, and helps people reading the code know what to expect (also gives you a good place to document what you're putting into those vars). -chuck -- Charles Hagenbuch, <chuck@horde.org> "Here, I brought some cole slaw. It's made from peeeooople! Just kidding."

« previous php.pear.dev (#25336) next »