php --ini and the like
| From: | Jochem Maas | Date: | Thu, 28 Feb 2008 11:08:34 +0000 |
| Subject: | php --ini and the like | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-270528@lists.php.net to get a copy of this message | ||
was just cruising the manual and came accross a nice tidbit.
from: http://nl.php.net/features.commandline
Shows configuration file names and scanned directories. Available as of PHP 5.2.3.
Example#3 --ini example
$ php --ini
Configuration File (php.ini) Path: /usr/dev/php/5.2/lib
Loaded Configuration File: /usr/dev/php/5.2/lib/php.iniScan for additional .ini files in: (none)
Additional .ini files parsed: (none)Shows information about the given function or class method (e.g. number and name of the parameters). Available as of PHP 5.1.2. This option is only available if PHP was compiled with Reflection support. Example#4 basic --rf usage $ php --rf var_dump Function [ <internal> public function var_dump ] { - Parameters [2] {
Parameter #0 [ <required> $var ]
Parameter #1 [ <optional> $... ]
}
}