Re: PEAR_Info output

From: Date: Tue, 03 Feb 2004 14:45:34 +0000
Subject: Re: PEAR_Info output
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10497@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 03 February 2004 05:54, Mike Carter wrote: > hi. > > i'm trying to call the PEAR_Info class. > > it appears that i cannot call the class methods statically. so i > created an instance. but then i get no output at all?! any ideas...? > The method does return TRUE(1) though. > > At least when calling PEAR_Info::PEAR_Info(); i get the header and > then an error about not being able to call $this->getConfig(). > > Regards, > > -- > Mike Carter > <?php require ('PEAR/Info.php'); $info = new PEAR_Info(); $info->show(); ?> - -- James 'Chip' Kaufman jkaufman@wamnetgov.com 952-346-3532 PGP key: 697D43DE -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAH7QOrlGDUWl9Q94RAgCoAJ4jKGcWRYFLzBMxmKekx17T9seWZQCgonv3 6wBzvKkxuWn3kBMHHBLJuOA= =Z+jO -----END PGP SIGNATURE-----

« previous php.pear.general (#10497) next »