php --ini and the like

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.ini
Scan 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> $... ]
  }
}

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux