Re: PEAR_Info Documentation
| From: | Davey | Date: | Sat, 26 Apr 2003 03:40:32 +0000 |
| Subject: | Re: PEAR_Info Documentation | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-664@lists.php.net to get a copy of this message | ||
should I replace the require() with:
$info = new PEAR_Info();
$info->show();
?
no, I don't use echo(), but I do use print() on the very rare occassion I use print.
I also always put { } in my statements, needed or no. ;)
- Davey
Alexander Merz wrote:
Davey wrote:require('PEAR/Info.php'); ? seems odd as that isn't how its used.Because (Headline) PEAR_Config::show() (Synopsis) PEAR_Config::show() (Parameter) PEAR_Config::show() makes no much sense or?Also, I used () on require() cause thats how I write it, always. AFAIK the PEAR specs say those are optional.do you write echo('hallo world'); too?