|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/share/zsh/4.2.6/functions/ |
Upload File : |
#compdef php
# PHP 4.3.6RC2 (cli) (built: Apr 9 2004 00:14:04)
local curcontext="$curcontext" line state
typeset -A opt_args
_arguments -S \
{-a,--interactive}'[run interactively]' \
{-c,--php-ini}'[look for php.ini file in the specified directory]:directory:_files -/' \
{-n,--no-php-ini}'[no php.ini file will be used]' \
{-d,--define}"[define INI entry]:configuration directive:->ini" \
{-e,--profile-info}'[generate extended information for debugger/profiler]' \
'(- *)'{-h,--help}'[display help information]' \
'(- *)'{-i,--info}'[PHP information]' \
'(-)'{-l,--syntax-check}'[syntax check only (lint)]' \
'(- *)'{-m,--modules}'[show compiled in modules]' \
'(1 -l --syntax-check -s --syntax-highlight -w --strip)'{-r,--run}'[run the specified PHP code without using script tags <?..?>]:PHP code:'\
'(-)'{-s,--syntax-highlight}'[display colour syntax highlighted source]' \
'(- *)'{-v,--version}'[display version information]' \
'(-)'{-w,--strip}'[display source with stripped comments and whitespace]' \
{-z,--zend-extension}'[load specified Zend extension]:extension file:_files' \
'(-)1:PHP file:_files -g "*.php(-.)"' \
'*:script argument:_files' && return
case $state in
ini)
if compset -P '*='; then
_default
else
_message -e configuration-directives 'configuration directive'
fi
;;
esac
return 1