On Thu, Aug 29, 2002 at 10:34:05AM +0200, Timm Friebe wrote : > On Thu, 2002-08-29 at 01:51, Yasuo Ohgaki wrote: > > Marcus Börger wrote: > > > Not that mod_apache delivering txt format info pages would be > > > unusable but a simple phpinfo(0|1) would be better. > > > > > > > I would like to see phpinfo(true|false) > > What about phpinfo(PHPINFO_OF_TEXT|PHPINFO_OF_HTML|...) > > This way, new output formats could be easily added.
It seems you all forgot about that phpinfo() already takes one optional parameter ... So this would be phpinfo(INFO_ALL, INFO_HTML|INFO_PDF|INFO_WHATEVER); It's "nice" (and definitely needed for php -i for cli) but if it's worth to do has to be decided by the one who will implement it ;-) - Markus -- GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc "Finally, if someone actually flying a plane is relying on a freakin' webcam to land, we're all in trouble." - A /. poster. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php