ID: 41417 User updated by: hajo at clansphere dot net Reported By: hajo at clansphere dot net Status: Wont fix Bug Type: Feature/Change Request Operating System: Irrelevant PHP Version: 6CVS-2007-05-17 (snap) New Comment:
is it possible to fetch phpinfo data directly as an array? that html formated 'output' is useless to me in this case Previous Comments: ------------------------------------------------------------------------ [2007-05-17 17:25:43] [EMAIL PROTECTED] You don't have to use PHP to execute a shell command. SSH to the server and execute it manually. Or use phpinfo(). ------------------------------------------------------------------------ [2007-05-17 17:19:44] hajo at clansphere dot net running shellcode is forbidden on many webservers due to security ------------------------------------------------------------------------ [2007-05-17 17:00:52] [EMAIL PROTECTED] `php -v` shows the build date. I'm sure it's more than enough if you don't really want to use it in your scripts. ------------------------------------------------------------------------ [2007-05-17 16:52:23] hajo at clansphere dot net wouldn't it be good to have issues fixed in snapshots before they appear to a script when a new final php version is set up on the webserver? to have this done i often try out snapshots, and for example php6 triggers strict errors and a few notices that couldn't be seen on php5 in the current versions. they help to make scripts more valid and flexible. while different developers have different snapshot releases installed it could be easier when looking at the build date to compare with. is there any other way to have the build date available without workarounds? ------------------------------------------------------------------------ [2007-05-17 16:32:32] [EMAIL PROTECTED] Well, you should not be using snapshots in production for the first place. Second, I don't think it would be useful for anybody except developers, but then they always use the latest snapshot. So such a constant makes very little sense for me. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/41417 -- Edit this bug report at http://bugs.php.net/?id=41417&edit=1