;ELC   
;;; Compiled by nelson@oikos.local on Thu May 13 16:33:22 2004
;;; from file /Users/nelson/.elisp/php-mode.el
;;; in Emacs version 21.3.50.1
;;; with bytecomp version 2.139
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.
(if (and (boundp 'emacs-version)
	 (< (aref emacs-version (1- (length emacs-version))) ?A)
	 (or (and (boundp 'epoch::version) epoch::version)
	     (string-lessp emacs-version "19.29")))
    (error "`php-mode.el' was compiled for Emacs 19.29 or later"))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


#@26 PHP Mode version number.
(defconst php-version "1.1.0" (#$ . 602))
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312\313\314&\207" [require speedbar font-lock cc-mode custom custom-declare-group php nil "Major mode for editing PHP code." :prefix "php-" :group languages] 8)
#@151 *When set to true automatically configures Speedbar to observe PHP files.Ignores php-file patterns option; fixed to expression "\.\(inc\|php[s34]?\)"
(custom-declare-variable 'php-speedbar-config 't '(#$ . -923) :type 'boolean :group 'php)
#@109 Normally php-mode starts with the speedbar closed.Turning this on will open it whenever php-mode is loaded.
(custom-declare-variable 'php-mode-speedbar-open 'nil '(#$ . 1170) :type 'boolean :group 'php)
#@84 *URL at which to find PHP manual.You can replace "en" with your ISO language code.
(custom-declare-variable 'php-manual-url '"http://www.php.net/manual/en/manual.php" '(#$ . -1379) :type 'string :group 'php)
#@53 *URL at which to search for documentation on a word
(custom-declare-variable 'php-search-url '"http://www.php.net/" '(#$ . -1593) :type 'string :group 'php)
#@68 *List of file patterns for which to automatically invoke php-mode.
(custom-declare-variable 'php-file-patterns '(list "\\.php[s34]?\\'" "\\.phtml\\'" "\\.inc\\'") '(#$ . -1756) :type '(repeat (regexp :tag "Pattern")) :group 'php)
#@55 List of functions to be executed on entry to php-mode
(custom-declare-variable 'php-mode-user-hook 'nil '(#$ . 1992) :type 'hook :group 'php)
#@135 Normally PEAR coding rules are enforced only when the filename contains "PEAR"Turning this on will force PEAR rules on all PHP files.
(custom-declare-variable 'php-mode-force-pear 'nil '(#$ . 2141) :type 'boolean :group 'php)
#@26 Non nil if using XEmacs.
(defconst xemacsp (string-match "Lucid\\|XEmacs" emacs-version) (#$ . 2373))
#@34 Hook run when entering PHP mode.
(defvar php-mode-hook nil (#$ . 2481))
(byte-code "\302B\303\302!\204 \304\302\305 \"\210\306B\303\306!\204  \304\306\307 \"\210\301B\303\301!\2044 \304\301\310\301\311\"\210	\"\210\312\313\314\315#\207" [current-load-list php-mode-abbrev-table php-mode-map default-boundp set-default make-sparse-keymap php-mode-syntax-table make-syntax-table define-abbrev-table nil put php-mode derived-mode-parent c-mode] 5)
#@200 Major mode for editing PHP code.

\{php-mode-map}

In addition to any hooks its parent mode `c-mode' might have run,
this mode runs the hook `php-mode-hook', as the final step
during initialization.
(defalias 'php-mode #[nil "\306\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204' \316\317 \"\210\320\f!\211\2036 \321 =\203< \322\f\323 \"\210)\324!\210\325\f!\21078\3269\327:\330;<=>?\331\304!\204e \332\304\f\"\210@\203v \333\334\335\f#\210\333\336\337\f#\210\306\340!\210\341 \307\211ABCD\306\342!\210\343\"\306\344!\210\343$\345\346!\210\347\346\350\343\307$\210\347\346\351\343\307$\210\347\346\352\343\307$\210\347\346\353\343\307$\210\347\346\354\343\307$\210\347\346\355\343\307$\210E\204\336 0;\203\342 \356\357\360 \"\203\342 \356\361\360 \"\203\342 \362\346!\210\362\363!\210)\364\365!\203\361 \365\366!\207\362\366!\207" [delay-mode-hooks major-mode mode-name php-mode-map php-mode-syntax-table parent make-local-variable t c-mode php-mode "PHP" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table use-local-map set-syntax-table "// " "" "// *" default-boundp set-default modify-syntax-entry 35 "< b" 10 "> b" font-lock-defaults ((php-font-lock-keywords-1 php-font-lock-keywords-2 php-font-lock-keywords-3) nil T nil nil (font-lock-syntactic-keywords . php-font-lock-syntactic-keywords)) require-final-newline nil next-line-add-newlines make-local-hook php-mode-pear-hook add-hook #[nil "\301\300!\210\302\211\207" [tab-width make-local-variable 4] 2] #[nil "\301\300!\210\302\211\207" [c-basic-offset make-local-variable 4] 2] #[nil "\301\300!\210\302\211\207" [c-hanging-comment-ender-p make-local-variable nil] 2] #[nil "\301\300!\210\302\211\207" [indent-tabs-mode make-local-variable nil] 2] #[nil "\300\301\302\"\207" [c-set-offset block-open -] 3] #[nil "\300\301\302\"\207" [c-set-offset block-close 0] 3] string-match "PEAR\\|pear" buffer-file-name "\\.php$" run-hooks php-mode-user-hook fboundp run-mode-hooks php-mode-hook php-mode-abbrev-table local-abbrev-table comment-start comment-end comment-start-skip php-class-key c-class-key php-conditional-key c-conditional-key xemacsp font-lock-maximum-decoration case-fold-search php-imenu-generic-expression imenu-generic-expression php-mode-force-pear] 6 (#$ . 2940) nil])
(byte-code "\211\203 \305\306	@\307B\"\210	A\211\204 )\n\203 \310\311!\210\203& \312\313!\210\314\f\315\316 #\210\314\f\317\320\316\320!B#\210\314\f\321\322#\210\314\f\323\324#\210\314\f\325\326#\207" [php-file-patterns php-file-patterns-temp php-mode-speedbar-open php-speedbar-config php-mode-map add-to-list auto-mode-alist php-mode speedbar 1 speedbar-add-supported-extension "\\.\\(inc\\|php[s34]?\\)" define-key [menu-bar] make-sparse-keymap [menu-bar php] "PHP" [menu-bar php complete-function] ("Complete function name" . php-complete-function) [menu-bar php browse-manual] ("Browse manual" . php-browse-manual) [menu-bar php search-documentation] ("Search documentation" . php-search-documentation)] 7)
#@67 Complete the function name at the point from known PHP functions.
(defalias 'php-complete-function #[nil "\300\301!\207" [message "php-complete-function not implemented yet"] 2 (#$ . 6059) nil])
#@53 Search PHP documentation for the word at the point.
(defalias 'php-search-documentation #[nil "\301\302\303!P!\207" [php-search-url browse-url current-word t] 4 (#$ . 6260) nil])
#@26 Bring up manual for PHP.
(defalias 'php-browse-manual #[nil "\301!\207" [php-manual-url browse-url] 2 (#$ . 6446) nil])
(byte-code "\301\302\303#\210\301\304\305#\207" [php-mode-map define-key "" php-search-documentation "" php-browse-manual] 4)
#@16 PHP constants.
(defconst php-constants "ASSERT_\\(?:ACTIVE\\|BAIL\\|CALLBACK\\|QUIET_EVAL\\|WARNING\\)\\|C\\(?:HAR_MAX\\|ONNECTION_\\(?:ABORTED\\|NORMAL\\|TIMEOUT\\)\\|R\\(?:EDITS_\\(?:ALL\\|DOCS\\|FULLPAGE\\|G\\(?:ENERAL\\|ROUP\\)\\|MODULES\\|QA\\|SAPI\\)\\|YPT_\\(?:BLOWFISH\\|EXT_DES\\|MD5\\|S\\(?:ALT_LENGTH\\|TD_DES\\)\\)\\)\\)\\|D\\(?:EFAULT_INCLUDE_PATH\\|IRECTORY_SEPARATOR\\)\\|E\\(?:NT_\\(?:COMPAT\\|\\(?:NO\\)?QUOTES\\)\\|XTR_\\(?:OVERWRITE\\|PREFIX_\\(?:ALL\\|INVALID\\|SAME\\)\\|SKIP\\)\\|_\\(?:ALL\\|ERROR\\|NOTICE\\|PARSE\\|USER_\\(?:ERROR\\|NOTICE\\|WARNING\\)\\|WARNING\\)\\)\\|FALSE\\|HTML_\\(?:\\(?:ENTITIE\\|SPECIALCHAR\\)S\\)\\|INFO_\\(?:ALL\\|C\\(?:ONFIGURATION\\|REDITS\\)\\|ENVIRONMENT\\|GENERAL\\|LICENSE\\|VARIABLES\\)\\|L\\(?:C_\\(?:ALL\\|C\\(?:\\(?:OLLAT\\|TYP\\)E\\)\\|M\\(?:ESSAGES\\|ONETARY\\)\\|NUMERIC\\|TIME\\)\\|O\\(?:CK_\\(?:EX\\|NB\\|SH\\|UN\\)\\|G_\\(?:A\\(?:LERT\\|UTH\\(?:PRIV\\)?\\)\\|C\\(?:ONS\\|R\\(?:IT\\|ON\\)\\)\\|D\\(?:AEMON\\|EBUG\\)\\|E\\(?:MERG\\|RR\\)\\|INFO\\|KERN\\|L\\(?:OCAL[0-7]\\|PR\\)\\|MAIL\\|N\\(?:DELAY\\|EWS\\|O\\(?:TICE\\|WAIT\\)\\)\\|ODELAY\\|P\\(?:ERROR\\|ID\\)\\|SYSLOG\\|U\\(?:SER\\|UCP\\)\\|WARNING\\)\\)\\)\\|M_\\(?:1_PI\\|2_\\(?:\\(?:SQRT\\)?PI\\)\\|E\\|L\\(?:N\\(?:10\\|2\\)\\|OG\\(?:\\(?:10\\|2\\)E\\)\\)\\|PI\\(?:_[24]\\)?\\|SQRT\\(?:\\(?:1_\\)?2\\)\\)\\|NULL\\|P\\(?:ATHINFO_\\(?:BASENAME\\|DIRNAME\\|EXTENSION\\)\\|EAR_\\(?:\\(?:EXTENSION\\|INSTALL\\)_DIR\\)\\|HP_\\(?:BINDIR\\|CONFIG_FILE_PATH\\|DATADIR\\|L\\(?:\\(?:IB\\|OCALSTATE\\)DIR\\)\\|O\\(?:S\\|UTPUT_HANDLER_\\(?:CONT\\|END\\|START\\)\\)\\|SYSCONFDIR\\|VERSION\\)\\)\\|S\\(?:EEK_\\(?:CUR\\|END\\|SET\\)\\|ORT_\\(?:ASC\\|DESC\\|NUMERIC\\|REGULAR\\|STRING\\)\\|TR_PAD_\\(?:BOTH\\|\\(?:LEF\\|RIGH\\)T\\)\\)\\|TRUE\\|__\\(?:\\(?:FIL\\|LIN\\)E__\\)" (#$ . 6705))
#@15 PHP keywords.
(defconst php-keywords "a\\(?:nd\\|s\\)\\|break\\|c\\(?:atch\\(?: all\\)?\\|ontinue\\)\\|d\\(?:eclare\\|o\\)\\|e\\(?:cho\\|lse\\(?:if\\)?\\|nd\\(?:for\\(?:each\\)?\\|if\\|switch\\|while\\)\\|x\\(?:it\\|tends\\)\\)\\|f\\(?:inally\\|or\\(?:each\\)?\\)\\|global\\|i\\(?:f\\|n\\(?:clude\\(?:_once\\)?\\|stanceof\\)\\)\\|next\\|or\\|private\\|re\\(?:quire\\(?:_once\\)?\\|turn\\)\\|s\\(?:tatic\\|witch\\)\\|t\\(?:h\\(?:en\\|row\\)\\|ry\\)\\|var\\|while\\|xor" (#$ . 8504))
#@33 Characters in a PHP identifier.
(defconst php-identifier "[a-zA-Z_-\xff][a-zA-Z0-9_-\xff]*" (#$ . 8992))
#@12 PHP types.
(defconst php-types "array\\|bool\\(?:ean\\)?\\|c\\(?:har\\|onst\\)\\|double\\|float\\|int\\(?:eger\\)?\\|long\\|mixed\\|object\\|real\\|string" (#$ . 9105))
#@28 PHP superglobal variables.
(defconst php-superglobals "GLOBALS\\|_\\(?:COOKIE\\|ENV\\|FILES\\|GET\\|POST\\|REQUEST\\|SE\\(?:RVER\\|SSION\\)\\)" (#$ . 9280))
#@42 Subdued level highlighting for PHP mode.
(defconst php-font-lock-keywords-1 (byte-code "\302\303Q\304B\302	\303Q\305B\306\307\310E\311\312\313\314\315\316\317\257\n\207" [php-constants php-keywords "\\<\\(" "\\)\\>" font-lock-constant-face font-lock-keyword-face "\\<\\(break\\|case\\|continue\\)\\>[ 	]*\\(-?\\(?:\\sw\\|\\s_\\)+\\)?" (1 font-lock-keyword-face) (2 font-lock-constant-face t t) (":" ("^[ 	]*\\(\\(?:\\sw\\|\\s_\\)+\\)[ 	]*:[ 	]*$" (beginning-of-line) (end-of-line) (1 font-lock-constant-face))) ("\\<print\\s-*(" . default) ("\\<print\\>" . font-lock-keyword-face) ("<\\?\\(php\\)?" . font-lock-constant-face) ("\\?>" . font-lock-constant-face) ("<\\%\\(=\\)?" . font-lock-constant-face) ("\\%>" . font-lock-constant-face)] 10) (#$ . 9443))
#@41 Medium level highlighting for PHP mode.
(defconst php-font-lock-keywords-2 (byte-code "\301\302\303\304\305\306\307\310\257\"\207" [php-font-lock-keywords-1 append ("\\<\\(class\\|interface\\)[ 	]*\\(\\(?:\\sw\\|\\s_\\)+\\)?" (1 font-lock-keyword-face) (2 font-lock-type-face nil t)) ("\\<\\(new\\|extends\\|implements\\)\\s-+\\$?\\(\\(?:\\sw\\|\\s_\\)+\\)" (1 font-lock-keyword-face) (2 font-lock-type-face)) ("\\<\\(function\\)\\s-+&?\\(\\(?:\\sw\\|\\s_\\)+\\)\\s-*(" (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t)) ("\\(self\\|parent\\)\\W" (1 font-lock-constant-face nil nil)) ("\\<\\(private\\|protected\\|public\\)\\s-+\\$?\\(?:\\sw\\|\\s_\\)+" (1 font-lock-keyword-face)) ("^[ 	]*\\(abstract\\|static\\|final\\)\\s-+\\$?\\(?:\\sw\\|\\s_\\)+" (1 font-lock-keyword-face)) ("^[ 	]*\\(static\\|const\\)\\s-+\\$?\\(?:\\sw\\|\\s_\\)+" (1 font-lock-keyword-face))] 9) (#$ . 10207))
#@41 Gauchy level highlighting for PHP mode.
(defconst php-font-lock-keywords-3 (byte-code "\303\304\305\306\307\310\311	\312Q\313B\314\315B\316\317\n\320Q\321B\322\323\324\325\326\327\330\257\"\207" [php-font-lock-keywords-2 php-types php-superglobals append ("</?\\sw+[^>]*>" . font-lock-constant-face) ("&\\w+;" . font-lock-variable-name-face) ("\\$\\(?:\\sw\\|\\s_\\)+->\\s-*\\(\\$\\)\\(\\(?:\\sw\\|\\s_\\)+\\)" (1 font-lock-warning-face) (2 default)) ("\\$\\(?:\\sw\\|\\s_\\)+\\(\\.\\)\\sw" 1 font-lock-warning-face) ("==+>" . font-lock-warning-face) "(\\s-*\\(" "\\)\\s-*)" (1 font-lock-type-face) "[(,]\\s-*\\(\\(?:\\sw\\|\\s_\\)+\\)\\s-+\\$\\(?:\\sw\\|\\s_\\)+\\>" (1 font-lock-type-face) ("\\$\\(this\\|that\\)\\W" (1 font-lock-constant-face nil nil)) "\\$\\(" "\\)\\W" ((1 font-lock-constant-face nil nil)) ("\\$\\(\\(?:\\sw\\|\\s_\\)+\\)" (1 font-lock-variable-name-face)) ("->\\(\\(?:\\sw\\|\\s_\\)+\\)" (1 font-lock-variable-name-face t t)) ("->\\(\\(?:\\sw\\|\\s_\\)+\\)\\s-*(" 1 default t t) ("\\(?:\\sw\\|\\s_\\)+::\\(?:\\sw\\|\\s_\\)+\\s-*(" . default) ("\\<\\(?:\\sw\\|\\s_\\)+\\s-*[[(]" . default) ("\\<[0-9]+" . default) ("\\<\\(?:\\sw\\|\\s_\\)+\\>" . font-lock-warning-face)] 18) (#$ . 11116))
(byte-code "\302B\303	?\205 \304\305D!\207" [current-load-list xemacsp php-font-lock-syntactic-keywords (lambda (#1=#:defconst-tmp-var) (defconst php-font-lock-syntactic-keywords #1#)) ("\\(#\\)" (1 (11))) ("#.*\\([\n]\\)" (1 (12)))] 3)
#@72 Imenu generic expression for PHP Mode. See `imenu-generic-expression'.
(defvar php-imenu-generic-expression '(("Functions" "^\\s-*function\\s-+\\([a-zA-Z0-9_]+\\)\\s-*(" 1) ("Classes" "^\\s-*class\\s-+\\([a-zA-Z0-9_]+\\)\\s-*" 1)) (#$ . 12575))
(byte-code "\304B\306\307!\210\310\311\312\n	Q+\305B\313\314!\210\315B\316\317\320\321\322\323\260!\210\324\325!\204D \325B\326\325!\204D \327\325\211\"\210\324\330!\204O \331\332\330\"\210\324\333!\204Z \331\330\333\"\210\334\335!\207" [current-load-list back front all-kws php-conditional-key php-class-kwds (lambda (#1=#:defconst-tmp-var) (defconst php-conditional-key #1#)) nil "for\\|if\\|do\\|else\\|while\\|switch\\|foreach\\|elseif\\|try\\|finally\\|try\\|catch all" "\\<\\(" "\\)\\>[^_]" (lambda (#2=#:defconst-tmp-var) (defconst php-class-kwds #2#)) "class\\|interface" php-class-key (lambda (#3=#:defconst-tmp-var) (defconst php-class-key #3#)) "\\(" "\\)\\s +" "\\(\\s *extends\\s *" "\\)?" "\\(\\s *implements *[^{]+{\\)?" boundp default default-boundp set-default font-lock-keyword-face copy-face bold font-lock-constant-face provide php-mode c-symbol-key] 9)
