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

Reply via email to