Full Code of emacs-php/php-mode for AI

master d9858333e42f cached
181 files
608.5 KB
176.3k tokens
114 symbols
1 requests
Download .txt
Showing preview only (657K chars total). Download the full file or copy to clipboard to get everything.
Repository: emacs-php/php-mode
Branch: master
Commit: d9858333e42f
Files: 181
Total size: 608.5 KB

Directory structure:
gitextract_a_cz8plx/

├── .dir-locals.el
├── .github/
│   ├── dependabot.yml
│   └── workflows/
│       └── test.yml
├── .gitignore
├── .mailmap
├── AUTHORS.md
├── CHANGELOG.md
├── CONTRIBUTING.md
├── Eask
├── LICENSE
├── Makefile
├── README.ja.md
├── README.md
├── docs/
│   └── php-align/
│       └── README.md
├── etc/
│   └── git/
│       ├── AUTHORS.md.in
│       ├── AUTHORS2.md.in
│       ├── commit-template.txt
│       ├── former-contributors
│       └── prepare-commit-msg
├── lisp/
│   ├── .editorconfig
│   ├── php-align.el
│   ├── php-complete.el
│   ├── php-defs.el
│   ├── php-face.el
│   ├── php-flymake.el
│   ├── php-format.el
│   ├── php-ide-phpactor.el
│   ├── php-ide.el
│   ├── php-local-manual.el
│   ├── php-mode-debug.el
│   ├── php-mode.el
│   ├── php-project.el
│   └── php.el
├── script/
│   ├── README.md
│   ├── data/
│   │   └── module_id_prefixes.php
│   ├── extract_functions.php
│   └── module_id_prefixes.php
└── tests/
    ├── .dir-locals.el
    ├── .editorconfig
    ├── 7.4/
    │   ├── arrow-function.php
    │   ├── arrow-function.php.faces
    │   ├── typed-property.php
    │   └── typed-property.php.faces
    ├── 8.0/
    │   └── attribute/
    │       ├── class.php
    │       ├── class.php.faces
    │       ├── function.php
    │       ├── function.php.faces
    │       ├── function2.php
    │       └── function2.php.faces
    ├── 8.1/
    │   ├── enum.php
    │   ├── enum.php.faces
    │   ├── readonly.php
    │   └── readonly.php.faces
    ├── 8.4/
    │   ├── property-hooks.php
    │   └── property-hooks.php.faces
    ├── README.md
    ├── arrays.php
    ├── arrays.php.faces
    ├── constants.php
    ├── constants.php.faces
    ├── identifiers.php
    ├── identifiers.php.faces
    ├── indent/
    │   ├── issue-227.php
    │   ├── issue-623.php
    │   ├── issue-702.php
    │   ├── issue-726.php
    │   ├── issue-774.php
    │   └── issue-793.php
    ├── issue-100.php
    ├── issue-102.php
    ├── issue-115.php
    ├── issue-124.php
    ├── issue-129.php
    ├── issue-130.php
    ├── issue-135.php
    ├── issue-136.php
    ├── issue-136.php.faces
    ├── issue-14.php
    ├── issue-144.php
    ├── issue-145.php
    ├── issue-16.php
    ├── issue-174.php
    ├── issue-175.php
    ├── issue-178.php
    ├── issue-18.php
    ├── issue-184.php
    ├── issue-186.php
    ├── issue-19.php
    ├── issue-197.php
    ├── issue-197.php.faces
    ├── issue-200.php
    ├── issue-201.php
    ├── issue-201.php.faces
    ├── issue-21.php
    ├── issue-211.php
    ├── issue-22.php
    ├── issue-237.php
    ├── issue-253.php
    ├── issue-259.php
    ├── issue-27.php
    ├── issue-28.php
    ├── issue-29.php
    ├── issue-305.php
    ├── issue-305.php.faces
    ├── issue-307.php
    ├── issue-310.php
    ├── issue-314.php
    ├── issue-333.php
    ├── issue-42.php
    ├── issue-439.php
    ├── issue-439.php.faces
    ├── issue-443.php
    ├── issue-443.php.27.faces
    ├── issue-443.php.faces
    ├── issue-503.php
    ├── issue-53.php
    ├── issue-66-bracket-namespace.php
    ├── issue-66-multi-namespace.php
    ├── issue-66-namespace.php
    ├── issue-66-use-namespace.php
    ├── issue-66.php
    ├── issue-68.php
    ├── issue-73.php
    ├── issue-83.php
    ├── issue-9.php
    ├── issue-99.php
    ├── lang/
    │   ├── class/
    │   │   ├── anonymous-class.php
    │   │   └── anonymous-class.php.faces
    │   ├── constants/
    │   │   ├── const.php
    │   │   └── const.php.faces
    │   ├── doc-comment/
    │   │   ├── annotation.php
    │   │   ├── annotation.php.faces
    │   │   ├── comments.php
    │   │   ├── comments.php.24.faces
    │   │   ├── comments.php.27.faces
    │   │   ├── comments.php.faces
    │   │   ├── inheritdoc.php
    │   │   ├── inheritdoc.php.faces
    │   │   ├── issue-8.php
    │   │   ├── issue-8.php.faces
    │   │   ├── return-type.php
    │   │   └── return-type.php.faces
    │   ├── errorcontrol.php
    │   ├── errorcontrol.php.faces
    │   ├── function/
    │   │   ├── calls.php
    │   │   ├── calls.php.faces
    │   │   ├── closure.php
    │   │   └── closure.php.faces
    │   ├── import/
    │   │   ├── import-constant.php
    │   │   ├── import-constant.php.faces
    │   │   ├── import-function.php
    │   │   └── import-function.php.faces
    │   ├── magical-constants/
    │   │   ├── echo.php
    │   │   └── echo.php.faces
    │   ├── try-cactch/
    │   │   ├── multiple.php
    │   │   └── multiple.php.faces
    │   └── types/
    │       ├── cast.php
    │       ├── cast.php.faces
    │       ├── function.php
    │       ├── function.php.faces
    │       ├── keywords.php
    │       └── keywords.php.faces
    ├── language-constructs.php
    ├── namespace-block.php
    ├── php-mode-test.el
    ├── profiler/
    │   └── large-string-interpolation.php
    ├── project/
    │   └── 1/
    │       ├── .editorconfig
    │       ├── .hg
    │       ├── .projectile
    │       ├── .svn
    │       ├── composer.json
    │       └── src/
    │           └── functions.php
    ├── static-method-calls.php
    ├── static-method-calls.php.faces
    ├── switch-statements.php
    ├── template.php
    ├── type-hints.php
    ├── type-hints.php.29.faces
    ├── type-hints.php.faces
    ├── variables.php
    └── variables.php.faces

================================================
FILE CONTENTS
================================================

================================================
FILE: .dir-locals.el
================================================
((emacs-lisp-mode (package-lint-main-file . "php-mode.el")))


================================================
FILE: .github/dependabot.yml
================================================
version: 2
updates:
  - package-ecosystem: github-actions
    directory: /
    schedule:
      interval: daily


================================================
FILE: .github/workflows/test.yml
================================================
name: CI

on:
  push:
    paths-ignore:
    - '**/*.md'
    - 'etc/*'
  workflow_dispatch:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  build:
    runs-on: ${{ matrix.os }}
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
        emacs-version:
          - "27.2"
          - "28.2"
          - "29.4"
          - "30.2"
        experimental: [false]
        include:
          - os: ubuntu-latest
            emacs-version: snapshot
            experimental: true
          - os: macos-latest
            emacs-version: snapshot
            experimental: true
          - os: windows-latest
            emacs-version: snapshot
            experimental: true
        exclude:
          - os: macos-latest
            emacs-version: "27.2"
    steps:
    - uses: actions/setup-python@v6
      with:
        python-version: '3.11'
        architecture: 'x64'
    - uses: jcs090218/setup-emacs@master
      with:
        version: ${{ matrix.emacs-version }}
    - uses: emacs-eask/setup-eask@master
      with:
        version: 'snapshot'
    - uses: actions/checkout@v5
    - name: Run tests
      run: 'make .eask test'
    - name: Run tests (allow failure)
      run: 'make .eask test || true'


================================================
FILE: .gitignore
================================================
*.elc
*~
.dir-locals-2.el
/.cask/*
/.eask/*
/.keg/*
/dist
/.php-cs-fixer.cache
php-mode-autoloads.el
php_manual_en.json


================================================
FILE: .mailmap
================================================
Elis Axelsson <elis.axelsson@gmail.com> Elis <elis.axelsson@gmail.com>
David Arroyo Menéndez <davidam@gnu.org> David Arroyo7 <davidam@gnu.org>
Jen-Chieh Shen <jcs090218@gmail.com> JenChieh <jcs090218@gmail.com>
Joe Wreschnig <joe.wreschnig@gmail.com> Joe <joe@dev3>
Jon Dufresne <jon.dufresne@gmail.com> Jon Dufrense <mailto:jon.dufresne@gmail.com>
Syohei YOSHIDA <syohex@gmail.com> Shohei YOSHIDA <shohei.yoshida@dena.com>
Syohei YOSHIDA <syohex@gmail.com> Syohei Yoshida <syohex@gmail.com>


================================================
FILE: AUTHORS.md
================================================
# Authors

## Author

- [Turadg Aleahmad](https://github.com/turadg) (Original Author)
- [Daniel Hackney](https://github.com/haxney) (Integrated with CC Mode)

## Maintainer

- [USAMI Kenta (@zonuexe)](https://github.com/zonuexe) <tadsan@zonu,me>

## Retired Maintainers

- [Aaron S. Hawley](https://users.ninthfloor.org/~ashawley/)
- [Lennart Borgman](https://www.emacswiki.org/emacs/LennartBorgman)
- [Eric James Michael Ritz](https://github.com/ejmr)
- [Syohei Yoshida](https://syohex.org/)

## Contributors

All contributors listed below improved PHP Mode as well.

Names Sorted Alphabetically:

- Aaron S. Hawley
- Alan Pearce
- Alex Figl-Brick
- Andreas Röhler
- Andrei Chițu
- Antoine Brand
- Bence Kalmar
- Bill Lovett
- Bob W. Hogg
- Boris Folgmann
- Carl Groner
- Charlie McMackin
- Chris Morris
- Christian Albrecht
- Christian Weiske
- Craig Andrews
- Daniel Hackney
- David Arroyo Menéndez
- David House
- David Maus
- Demis Balbach
- Dias Badekas
- Doug Marcey
- Elis Axelsson
- Emanuele Tomasi
- Engelke Eschner
- Eric James Michael Ritz
- Eric Mc Sween
- François-Xavier Bois
- Fred Yankowski
- Gerrit Riessen
- Giacomo Tesio
- Gregory Stark
- Gu Weigang
- Herbert Jones
- Hernawan Fa'iz Abdillah
- Ian Eure
- Jacek Wysocki
- Jakub Jankiewicz
- James Laver
- Jeff Beeman
- Jen-Chieh Shen
- Joe Wreschnig
- John Keller
- Jon Dufresne
- Joris Steyn
- Juanjo
- Kevin Blake
- Lennart Borgman
- Marcin Antczak
- Mark A. Hershberger
- Mathias Meyer
- Maël Nison
- Michael Dwyer
- Michael Stolovitzsky
- Michele Bini
- Nate Eagleson
- Nicholas D Steeves
- Nils Rennebarth
- Norio Suzuki
- Olaf The Viking
- Peter Oliver
- Phil Sainty
- Philippe Ivaldi
- Piotr Kwiecinski
- Rex McMaster
- Roland
- Rosenfeld
- Ryan
- Sammartino
- Sean Champ
- Sebastian Wiesner
- Serghei Iakovlev
- Shohei YOSHIDA
- Stefan Monnier
- Stig Bakken
- Syohei YOSHIDA
- Tim Landscheidt
- Tom Willemsen
- Torsten Martinsen
- U-CPT\deb
- USAMI Kenta
- Valentin Funk
- Ville Skytta
- Vinai Kopp
- fabacino
- fallchildren
- flack
- l3msh0
- phil-s
- ppercot
- take
- takeokunn
- tangxinfa
- tetsujin
- tijsmallaerts
- zapad
- 顾伟刚

A chronological list of pre-2019 contributors can be found at [wiki/Authors](https://github.com/emacs-php/php-mode/wiki/Authors).

Contributors since 2011, where this project was hosted, can also be found at [graphs/contributors](https://github.com/emacs-php/php-mode/graphs/contributors), except for accounts that have been withdrawn from GitHub.


================================================
FILE: CHANGELOG.md
================================================
# Changes for PHP Mode by Version

All notable changes of the PHP Mode 1.19.1 release series are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.

## Unreleased

### Changed

 * Add `readonly` class modifier to [Imenu] ([#802])
 * Add `enum` support to `php-current-class` ([#802])
 * Remove hardcoding of implicit paths in `php` that are not guaranteed to exist ([#803])

[Imenu]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Imenu.html
[#802]: https://github.com/emacs-php/php-mode/pull/802
[#803]: https://github.com/emacs-php/php-mode/pull/803

## [1.27.0] - 2024-12-20

### Added

 * Support PHP 8.4 property-hooks ([#797])

### Changed

 * Improve `php-syntax-propertize-extend-region` efficiency ([#789], thanks [@phil-s]!)
 * Update `php-phpdoc-type-names` to support [PHPStan 2.0.4] ([#795])

### Fixed

 * Fix Emacs 30 byte-compile errors ([#792])
 * Use `when-let*` instead of `when-let` to enhance Emacs 30 compatibility ([#796])

### Removed

 * Drop support for Emacs 26 ([#788])

[@phil-s]: https://github.com/phil-s
[PHPStan 2.0.4]: https://github.com/phpstan/phpstan/releases/tag/2.0.4
[#788]: https://github.com/emacs-php/php-mode/pull/788
[#789]: https://github.com/emacs-php/php-mode/pull/789
[#792]: https://github.com/emacs-php/php-mode/pull/792
[#795]: https://github.com/emacs-php/php-mode/pull/795
[#796]: https://github.com/emacs-php/php-mode/pull/796
[#797]: https://github.com/emacs-php/php-mode/pull/797

## [1.26.1] - 2024-09-13

### Added

 * Add `php-base-mode` which is the base of php related modes ([#772])
   * `php-base-mode` is designed as a common parent mode for `php-mode` ~~and [`php-ts-mode`](https://github.com/emacs-php/php-ts-mode)~~.

### Changed

 * Make `php-mode` inherit from `php-base-mode` instead of `c-mode` ([#772])
 * Modify indentation of [PEAR Coding Standards] ([#774], [#777])
   * No longer overindent it by default, since we don't see any mention in the coding style that it should hang `.`. (refs [#227] and [#229])
   * **If you have any feedback on PEAR style, please let us know in [the discussion #776][#776].**
 * Remove `$` from face names for interoperability with treesit ([#780], [emacs-php/php-ts-mode#68])
   * `php-$this` → `php-this`
   * `php-$this-sigil` → `php-this-sigil`
 * Add `php-function-call-standard` face inherit `font-lock-function-call-face` on Emacs 29.1 and above ([#782], thanks [@bricka]!)
 * Add `-tranditional` suffix to the `php-*-call` faces.
   * `php-function-call` → `php-function-call-traditional`
   * `php-method-call` → `php-method-call-traditional`
   * `php-static-method-call` → `php-static-method-call-traditional`
 * Add variables for the `php-function-call`, `php-method-call`, and `php-static-method-call` faces, defaulting to the `-traditional` face.
 * Changes how php-syntax-propertize-rules are applied for the first time. ([#785] and [#786])
   * This change is expected to make heredoc and attribute coloring more stable and reduce flicker.

### Removed

 * Remove `php-mode-disable-c-mode-hook` custom variable and `php-mode-neutralize-cc-mode-effect` function ([#775])
   * `php-mode` no longer inherits `c-mode`, so this variable won't work.

[#227]: https://github.com/emacs-php/php-mode/pull/227
[#229]: https://github.com/emacs-php/php-mode/pull/229
[#772]: https://github.com/emacs-php/php-mode/pull/772
[#774]: https://github.com/emacs-php/php-mode/issues/774
[#775]: https://github.com/emacs-php/php-mode/pull/775
[#776]: https://github.com/emacs-php/php-mode/discussions/776
[#777]: https://github.com/emacs-php/php-mode/pull/777
[#780]: https://github.com/emacs-php/php-mode/issues/780
[#782]: https://github.com/emacs-php/php-mode/issues/782
[#785]: https://github.com/emacs-php/php-mode/issues/785
[#786]: https://github.com/emacs-php/php-mode/pull/786
[@bricka]: https://github.com/bricka
[emacs-php/php-ts-mode#68]: https://github.com/emacs-php/php-ts-mode/pull/68
[PEAR Coding Standards]: https://pear.php.net/manual/en/standards.php

## [1.26.0] - 2024-09-13

> [!NOTE]
> This version was cancelled due to a release error.

## [1.25.1] - 2023-11-24

### Added

 * Add `php-topsy-beginning-of-defun-with-class` to display classname with function signature. ([#766])
 * Add missing `__DIR__` to `php-magical-constants` ([#756], thanks [@piotrkwiecinski])

### Changed

 * Make developer build task in Makefile now depends on Eask. ([#762], thanks [@jcs090218])
   * This change does not affect package installation users
   * Read [CONTRIBUTING.md] if you prefer to build it yourself from zip or tar ball

### Fixed

 * Fixed build failure in Emacs on master branch ([#764], [#765], [#767], thanks [@takeokunn])

### Removed

 * Removed Phan-specific features from `php-project` ([#754])
 * Removed [Cask](https://cask.readthedocs.io/) and [Keg](https://github.com/conao3/keg.el) metadata files for building ([#770])

[#754]: https://github.com/emacs-php/php-mode/pull/754
[#756]: https://github.com/emacs-php/php-mode/pull/756
[#762]: https://github.com/emacs-php/php-mode/pull/762
[#764]: https://github.com/emacs-php/php-mode/issues/764
[#765]: https://github.com/emacs-php/php-mode/pull/765
[#766]: https://github.com/emacs-php/php-mode/pull/766
[#767]: https://github.com/emacs-php/php-mode/pull/767
[#770]: https://github.com/emacs-php/php-mode/pull/770
[@jcs090218]: https://github.com/jcs090218
[@piotrkwiecinski]: https://github.com/piotrkwiecinski
[@takeokunn]: https://github.com/takeokunn
[CONTRIBUTING.md]: https://github.com/emacs-php/php-mode/blob/master/CONTRIBUTING.md

## [1.25.0] - 2023-07-24

### Added

 * **Support Emacs 29.1** ([#743], [#750])

### Fixed

 * Fixed many byte compilation errors on Emacs 29 and 30 by multiple patches contributed by [Stefan Monnier] ([#737], [#739] and [#740], thanks Stefan!)
 * Fixed PEAR method chaining wrong indentation ([#745] and [#746], thanks [@cweiske]!)
 * Fixed `php-mode-debug-reinstall` command ([#747], [#748])

### Removed

 * Drop Emacs 25 support ([#729], [736])

[Stefan Monnier]: https://www.iro.umontreal.ca/~monnier/
[#729]: https://github.com/emacs-php/php-mode/pull/729
[#736]: https://github.com/emacs-php/php-mode/pull/736
[#737]: https://github.com/emacs-php/php-mode/pull/737
[#739]: https://github.com/emacs-php/php-mode/pull/739
[#740]: https://github.com/emacs-php/php-mode/pull/740
[#741]: https://github.com/emacs-php/php-mode/pull/741
[#743]: https://github.com/emacs-php/php-mode/pull/743
[#745]: https://github.com/emacs-php/php-mode/pull/745
[#746]: https://github.com/emacs-php/php-mode/pull/746
[#747]: https://github.com/emacs-php/php-mode/pull/747
[#748]: https://github.com/emacs-php/php-mode/pull/748
[#750]: https://github.com/emacs-php/php-mode/pull/750

## [1.24.3] - 2023-03-19

### Added

 * **Net feature**: `php-format` ([#731])
   * Add `php-format-project` and `php-format-this-buffer-file` commands
   * Add `php-format-auto-mode` minor mode
 * **Experimental feature: `php-ide`** ([#709])
   * Add `php-ide-phpactor` as simple IDE feature without LSP clients
   * Add `php-ide-mode` minor mode for binding IDE-like features

### Fixed

 * Fix array indentation broken by commenting out ([#726], [#732])

### Removed

 * No longer highlights `'link` in PHPDoc ([#724])
   * Please use `goto-address-prog-mode` minor mode

[#709]: https://github.com/emacs-php/php-mode/pull/709
[#724]: https://github.com/emacs-php/php-mode/pull/724
[#726]: https://github.com/emacs-php/php-mode/pull/726
[#731]: https://github.com/emacs-php/php-mode/pull/731
[#732]: https://github.com/emacs-php/php-mode/pull/732

## [1.24.2] - 2022-11-13

### Added

 * **New feature: `php-complete`**
   * Add `php-complete-complete-function` to autocomplete function names ([#708])
 * **New feature: `php-flymake`**
   * Add `php-flymake` as a flymake backend compatible with Emacs 26 and above ([#718])
 * Supports PHPDoc tags and types for static analysis tools ([#710], [#715], [#716], [#717], thanks to [@takeokunn])
     * Please refer to the article below
       * PHPStan: [PHPDoc Types](https://phpstan.org/writing-php-code/phpdoc-types)
       * PHPStan: [PHPDocs Basics](https://phpstan.org/writing-php-code/phpdocs-basics)
       * Psalm: [Atomic Type Reference](https://psalm.dev/docs/annotating_code/type_syntax/atomic_types/)
       * Psalm: [Supported Annotations](https://psalm.dev/docs/annotating_code/supported_annotations/)
       * Psalm: [Template Annotations](https://psalm.dev/docs/annotating_code/templated_annotations/)
 * Add `php-mode-replace-flymake-diag-function` custom variable and default activated it ([#718])
 * Add `php-mode-debug-reinstall` command to help users who update Emacs themselves ([#721])

### Changed

 * Make continued expressions inside lists (arguments and arrays, etc.) have the same indent width as outside the list ([#703])
 * (internal) Improved readability of test failures about indentation ([#707])
 * `php-doc-annotation-tag` inherits `font-lock-doc-markup-face` if defined in Emacs 28 ([#711])
 * Make `php-mode-version` function include a Git tag and revision ([#713])
   * Like `"1.23.4-56-xxxxxx"` for example.
 * Change `php-phpdoc-type-keywords` to `php-phpdoc-type-names` to avoid confusion ([#717])
 * Make `php-flymake-php-init` append to `flymake-allowed-file-name-masks` only in legacy Flymake ([#718])

### Deprecated

 * Make obsolete `php-mode-version-number` contstant variable ([#712])
   * `(php-mode-version :as-number t)` is provided for use cases comparing as versions, but generally SHOULD NOT be dependent on the PHP Mode version.
 * Make obsolete `php-mode-disable-c-mode-hook` customize variable ([#718])

### Removed

 * Remove `php-mode-disable-c-auto-align-backslashes` as it doesn't make sense and is always disabled

### Fixed

 * Removed invalid definitions that caused errors in some expressions ([#704])

[#703]: https://github.com/emacs-php/php-mode/pull/703
[#704]: https://github.com/emacs-php/php-mode/pull/704
[#707]: https://github.com/emacs-php/php-mode/pull/707
[#708]: https://github.com/emacs-php/php-mode/pull/708
[#710]: https://github.com/emacs-php/php-mode/pull/710
[#711]: https://github.com/emacs-php/php-mode/pull/711
[#713]: https://github.com/emacs-php/php-mode/pull/713
[#715]: https://github.com/emacs-php/php-mode/pull/715
[#716]: https://github.com/emacs-php/php-mode/pull/716
[#717]: https://github.com/emacs-php/php-mode/pull/717
[#718]: https://github.com/emacs-php/php-mode/pull/718
[#719]: https://github.com/emacs-php/php-mode/pull/719
[#721]: https://github.com/emacs-php/php-mode/pull/721

## [1.24.1] - 2022-10-08

### Added

 * Support new PHP 8.0 and 8.1 syntax highlighting and indentation
    * [8.0] `#[Attributes]`
    * [8.1] `readonly` property ([#680])
 * Add `php-imenu-generic-expression-default` for default value or `php-imenu-generic-expression`
   * Add `php-imenu-generic-expression-legacy` for compatibility
   * Add `php-imenu-generic-expression-simple` for simple display
 * Add `php-project-project-find-function` compatible with `project-find-functions` ([#693])

### Changed

 * Optimized propertize process ([#669])
   * Reimoplement `php-syntax-propertize-function` using `syntax-propertize-rules`
   * Make propertize PHP 8 `#[Attribute]` always enabled
   * Changed grouping of `php-heredoc-start-re`
 * Re-organized `php-imenu-generic-expression`
   * Added `Import`, `Constants` and `Properties`
   * Removed `Anonymous Functions`
   * Renamed `Named Functions` to `Functions`
   * Renamed `All Methods` to `Methods`
   * Removed `Public Methods`, `Protected Methods` and `Provate Methods`
   * Unified `Classes`, `Traits`, `Interfaces` into `Classes`
 * Modified regexp patterns ([#681])
 * Suppress compile-time warnings ([#683], [#690], [#697])

### Fixed

 * Fix `php-run-builtin-web-server` to expand root path (#699)

[#669]: https://github.com/emacs-php/php-mode/pull/669
[#680]: https://github.com/emacs-php/php-mode/pull/680
[#681]: https://github.com/emacs-php/php-mode/pull/681
[#683]: https://github.com/emacs-php/php-mode/pull/683
[#690]: https://github.com/emacs-php/php-mode/pull/690
[#693]: https://github.com/emacs-php/php-mode/pull/693
[#697]: https://github.com/emacs-php/php-mode/pull/697
[#699]: https://github.com/emacs-php/php-mode/pull/699

## [1.24.0] - 2021-03-07

### Added

 * Support new PHP 8.0 and 8.1 syntax hilighting and indentation
   * [8.0] `match` expression ([#632])
   * [8.0] `mixed` pseudo type declaration ([#633])
   * [8.1] `enum` statement ([#653])

### Changed

 * Drop support for Emacs 24 and 25.1 ([#654])
 * Raises an error when the byte-compiled Cc Mode version does not match that version at runtime.
   * You will need to recompile php-mode after the GNU Emacs version changes.

## Removed

 * Remove `(require 'add-log)`

### Fixed

 * Fix font-lock highlighting
   * `!=` ([#630])
 * Fix Heredoc and Nowdoc highlighting ([#651] thanks [@antoineB])
 * Fix documentation mistake
   * `php-mode-lineup-cascaded-calls` in README.md ([#644] thanks [@cweiske]!)

[#630]: https://github.com/emacs-php/php-mode/pull/630
[#632]: https://github.com/emacs-php/php-mode/pull/632
[#633]: https://github.com/emacs-php/php-mode/pull/633
[#644]: https://github.com/emacs-php/php-mode/pull/644
[#651]: https://github.com/emacs-php/php-mode/pull/651
[#653]: https://github.com/emacs-php/php-mode/pull/653
[#654]: https://github.com/emacs-php/php-mode/pull/654
[@antoineB]: https://github.com/antoineB
[@cweiske]: https://github.com/cweiske

## [1.23.0] - 2020-05-06

Initial support for PHP 8 has been added.  PHP Mode has some issues for compatibility with Emacs 27.0.

The list of all past contributors has been moved to [`AUTHORS.md`](/AUTHORS.md).

This release is positioned as the last minor version of the PHP Mode 1.x series.

### Added

 * Add `php-project-use-projectile-to-detect-root` ([#608])
 * Add PHP file extensions to `auto-mode-alist` ([#609])
   * `.php.inc` is file extension for [Rector](https://github.com/rectorphp/rector)'s test code.
   * `.stub` is file extension for [PHPStan](https://github.com/phpstan/phpstan)'s stub file.
 * Add `php-mode-disable-c-auto-align-backslashes` ([#621])
 * Add PHP 8.0 Attribute syntax as vsemi ([#626])
 * Add feature `php-align` from [tetsujin/emacs-php-align] ([#615], [melpa/melpa#6759])

### Changed

 * Disable `c-auto-align-backslashes` by default. ([#621])
 * Add new faces and font locking ([#611], [#614])

### Removed

 * Remove `php-mode-extra-constants` variable and function. ([#605])
   * This mechanism is for synchronizing the added user-defined constants with WebMode, but it hasn't worked since 2014.

### Fixed

 * Fix indentation of object operator (->) at the beginning of line ([#623], [#624])

[#605]: https://github.com/emacs-php/php-mode/pull/605
[#608]: https://github.com/emacs-php/php-mode/pull/608
[#609]: https://github.com/emacs-php/php-mode/pull/609
[#611]: https://github.com/emacs-php/php-mode/pull/611
[#614]: https://github.com/emacs-php/php-mode/pull/614
[#615]: https://github.com/emacs-php/php-mode/pull/615
[#621]: https://github.com/emacs-php/php-mode/pull/621
[#623]: https://github.com/emacs-php/php-mode/issues/623
[#624]: https://github.com/emacs-php/php-mode/pull/624
[melpa/melpa#6759]: https://github.com/melpa/melpa/pull/6759
[tetsujin/emacs-php-align]: https://github.com/tetsujin/emacs-php-align

## [1.22.2] - 2019-12-23

A face has been added for coloring PHP syntax. Thank you [@minikN]!

This release is a minor modified version of the 1.22.x series.
PHP Mode 2.0 is planned to be released in January 2020.

### Added

 * Add `php-project-etags-file` and `php-project-apply-local-variables` ([#591])
 * Add `php-find-system-php-ini-file` and `php-ini` command ([#593])

### Changed

 * Improve PHP syntax highlighting (by [@minikN])
   * Add support for multiple operators ([#594])
   * Add `=>` to assignment operators ([#602], [#603])
 * Plain faces no longer inherit `default` ([#597])

### Removed

 * Remove `php-mode-modified` variable ([#590])

### Fixed

 * Fix anonymous class indentation ([#598])

[@minikN]: https://github.com/minikN
[#590]: https://github.com/emacs-php/php-mode/pull/590
[#591]: https://github.com/emacs-php/php-mode/pull/591
[#593]: https://github.com/emacs-php/php-mode/pull/593
[#594]: https://github.com/emacs-php/php-mode/pull/594
[#597]: https://github.com/emacs-php/php-mode/pull/597
[#598]: https://github.com/emacs-php/php-mode/pull/598
[#602]: https://github.com/emacs-php/php-mode/pull/602
[#603]: https://github.com/emacs-php/php-mode/pull/603

## [1.22.1] - 2019-11-10

This release is a minor modified version of the 1.22.x series.
PHP Mode 2.0 is planned to be released in January 2020.

### Fixed

 * Fix usas of `rx-form` ([#580], thank you [@cmack])
 * Fix `php-mode-coding-style` custom variable ([#581])
 * Fix unexpected indentation of (return typed) closures written in arguments ([#585])

[@cmack]: https://github.com/cmack
[#580]: https://github.com/emacs-php/php-mode/pull/580
[#581]: https://github.com/emacs-php/php-mode/pull/581
[#585]: https://github.com/emacs-php/php-mode/pull/585

## [1.22.0] - 2019-09-27

~~This release is positioned as the last minor version of the PHP Mode 1.x series.~~
PHP Mode 2.0 is planned to be released in January 2020.

### Added

 * Improve PHP 7 and PHPDoc support
   * Highlighting typed property ([#545])
   * Highlighting `{@inheritdoc}` tag ([#566])
   * Highlighting  multiple `catch`  ([#567])
 * Add new `php-class` face ([#545])
 * Add new `php-run-builtin-web-server` command for invoke `php -S` buitin server ([#548])
 * Add new `php-copyit-fqsen` command for kill current method FQSEN ([#561])
 * Apply lineup cascaded call (method chain separated by new line) for all styles ([#563], [#572])

### Changed

 * Loose HTML template detection algorithm ([#558])
 * Move php-mode-test.el into tests directory ([#559])
   * `php-mode-autoloads.el` no longer includes `php-mode-test`
 * Modify syntax-entry `$` to `"_"` from `"'"` ([#565])
 * Make `php-set-style` display only styles that inherited "php" ([#573])

### Fixed

 * Fix default major mode for `*.phpt` file as `php-default-major-mode` ([#542])
 * prevent recursion in `php-syntax-propertize-extend-region` ([$556], thanks [Herbert Jones][@herbertjones])
 * Fix call `run-hooks` in `set-style` ([#571])

[#542]: https://github.com/emacs-php/php-mode/pull/542
[#545]: https://github.com/emacs-php/php-mode/pull/545
[#548]: https://github.com/emacs-php/php-mode/pull/548
[#556]: https://github.com/emacs-php/php-mode/pull/556
[#558]: https://github.com/emacs-php/php-mode/pull/558
[#559]: https://github.com/emacs-php/php-mode/pull/559
[#561]: https://github.com/emacs-php/php-mode/pull/561
[#563]: https://github.com/emacs-php/php-mode/issues/563
[#565]: https://github.com/emacs-php/php-mode/pull/565
[#566]: https://github.com/emacs-php/php-mode/pull/566
[#567]: https://github.com/emacs-php/php-mode/pull/567
[#571]: https://github.com/emacs-php/php-mode/pull/571
[#572]: https://github.com/emacs-php/php-mode/pull/572
[#572]: https://github.com/emacs-php/php-mode/pull/572
[#573]: https://github.com/emacs-php/php-mode/pull/573
[#556]: https://github.com/emacs-php/php-mode/pull/556
[@herbertjones]: https://github.com/herbertjones

## [1.21.4] - 2019-05-29

This version contains unobtrusive changes for future compatibility. Also, `forward-page` /` backward-page` may improve your operation. Thank you [@takeokunn].

### Added

 * A new command `php-mode-maybe` has been added to improve the compatibility of Blade templates and HTML templates with Web Mode. ([#532])
 * A new custom variable php-mode-page-delimiter is added, which is assigned to page-delimiter in PHP-Mode. It allows you to move smoothly to the previous and subsequent definition statements with `forward-page` (<kbd>C-x C-[</kbd>) and `backward-page` (<kbd>C-x C-]</kbd>). ([#540] by [@takeokunn])

### Changed

 * `php-maybe-mode` and `.php` files are associated with `auto-mode-alist` instead of `php-mode` ([#532])
 * Compatibility with [poly-php] has been improved. This has not yet been officially released.

### Deprecated

 * PHP Mode does not support phpt files . Consider installing the [phpt-mode] package. This mode is a wrapper around Polymode based PHP-Mode.

[#532]: https://github.com/emacs-php/php-mode/pull/532
[#539]: https://github.com/emacs-php/php-mode/pull/539
[#540]: https://github.com/emacs-php/php-mode/pull/540
[@takeokunn]: https://github.com/takeokunn

## [1.21.3] - 2019-05-25

This version includes both PHP syntax support enhancements and performance improvements. See https://github.com/emacs-php/php-mode/projects/1 for all issues for this release.  Also, [@mallt] has helped me improve it with a number of issues. thank you very much.

### Added

 * Added new Faces to display PHP syntax
   * `php-constant-assign`
   * `php-magical-constant`
   * `php-errorcontrol-op`
 * Some funtions have been split into features such as `php.el`, `php-face.el` and `php-mode-debug.el`.

### Fixed

 * Improved performance when opening large files ([#491], [#531])

[#491]: https://github.com/emacs-php/php-mode/issues/491
[#531]: https://github.com/emacs-php/php-mode/pull/531

### Changed

 * Syntax highlighting has been adjusted

### Removed

 * `php-ext` and Skeleton templates have been split into [php-skeleton] ([#534])

[php-skeleton]: https://github.com/emacs-php/php-skeleton
[#534]: https://github.com/emacs-php/php-mode/pull/534

## [1.21.2] - 2019-05-11

It officially supports **PHP 7.3** and **Emacs 26.2**.
Many improvements have been received from [@sergeyklay], thank you!

### Added

 * Highlighting added `fn` keyword supported by [PHP 7.2 arrow function] ([#506])

### Fixed

 * Function `php-beginning-of-defun` should return non-nil on success ([#503])
 * Fixed an error that occurred in some heredoc/nowdoc ([#496])

### Changed

 * Support PHP 7.3 heredoc/nowdoc ([#496])
 * Minor optimization of font-lock regular expression ([#510])

## [1.21.1] - 2019-04-01

### Changed

 * Fixed an error that occurred in Emacs 27
 * Modify URL of PHP web site
 * Fix highlighting of static method calls

## [1.21.0] - 2019-01-09

A minor change from the previous version, but this version has BC brake about `c-mode-hook`.

### Added

 * Add `php` customize group.
   * This group is positioned above `php-mode`.
   * This group was originally planned to be included in v1.20.0.
 * Add `php-mode-disable-c-mode-hook` custom variable.
   * Setting this variable to `nil` will restore the behavior of `c-mode-hook` up to the previous version.

### Changed

 * `php-mode` initialization no longer executes hooks for `c-mode`.
   *  If you want to return to the same behavior as the conventional PHP-Mode, set `nil` to `php-mode-disable-c-mode-hook`.

## [1.20.0] - 2018-12-07

Start preparing for major refactoring in major mode.

### Added

 * Add php-project variables for workflow ([#488](https://github.com/emacs-php/php-mode/pull/488))
    * The following variables are reserved as file/directory local variables.
      * `php-project-repl`
      * `php-project-unit-test`
      * `php-project-deploy`
      * `php-project-build`
      * `php-project-server-start`

### Changed

 * Improve code highlight
    * Fix highlighting of callable keyword ([#471](https://github.com/emacs-php/php-mode/pull/471) by [@fabacino])
    * Highlight the `?` character for nullable type hints and return types ([#482](https://github.com/emacs-php/php-mode/pull/482) by [@fabacino])
 * Modify "customize group" and variable names
    * Add php-mode group and some variables belong to new group ([#486](https://github.com/emacs-php/php-mode/pull/486))
      * `php-default-face` → `php-mode-default-face`
      * `php-speedbar-config` → `'php-mode-speedbar-config`
      * `php-template-compatibility` → `php-mode-template-compatibility`
      * `php-lineup-cascaded-calls` → `php-mode-lineup-cascaded-calls`
      * `php-extra-constants` → `php-mode-extra-constants`
      * `php-do-not-use-semantic-imenu` → `php-mode-do-not-use-semantic-imenu`
 * Modify documents and copyright
    * Move the URL of Website to https://github.com/emacs-php/php-mode
    * Add copyright notation about [Friends of Emacs-PHP development](https://github.com/emacs-php)
    * Add a "Hall of Fame" to the contributors list ([#481](https://github.com/emacs-php/php-mode/pull/481) by [@ejmr] and thanks [@sergey48k](https://github.com/sergey48k) and [@sourcerer-io](https://github.com/sourcerer-io) project)
 * Some refactors
    * Fix style and suppress warning in compile [#485](https://github.com/emacs-php/php-mode/pull/485)

<!--
 * Divide `php-mode.el` into `php.el` and `php-helper.el` for refactor
   *  With this change, we provide simple functions to other packages without loading `php-mode`.
-->

## [1.19.1] - 2018-05-12

### Added

 * Add some functions/variables in `php-project` package
    * `php-project-get-php-executable` ([#436](https://github.com/emacs-php/php-mode/pull/436))
    * `php-project-get-phan-executable` ([#436](https://github.com/emacs-php/php-mode/pull/436))
 * Add `php-debug` command for reporting a bug

### Changed

 * Add highlighting of return types for abstract functions ([#461](https://github.com/emacs-php/php-mode/pull/461) by [@fabacino](https://github.com/fabacino))

### Fixed

 * Fix `c-anchored-cpp-prefix` in Emacs 26 ([#453](https://github.com/emacs-php/php-mode/pull/453))
 * Fix (re-implemteed) `php-complete-function` ([#454](https://github.com/emacs-php/php-mode/pull/454))
 * Fix some problem of `php-set-style` *(disabled on default)*
   * Fix lazy evaluation of php-set-style ([#444](https://github.com/emacs-php/php-mode/pull/444))
   * Do not use `php-mode-enable-backup-style-variables` in initialize ([#452](https://github.com/emacs-php/php-mode/pull/452))
   * Temporarily disable `php-mode-enable-project-coding-style`  ([#450](https://github.com/emacs-php/php-mode/pull/450))
 * Fix heredoc/nowdoc syntax problem ([#440](https://github.com/emacs-php/php-mode/pull/440))
 * Delete duplicate font locks with keywords not related to PHP language ([#432](https://github.com/emacs-php/php-mode/pull/432))
 * Make `php-project-root` variable accept a string ([#458](https://github.com/emacs-php/php-mode/pull/458))

## Before 1.19.0

See [Changelog · emacs-php/php-mode Wiki](https://github.com/emacs-php/php-mode/wiki/Changelog).

[#496]: https://github.com/emacs-php/php-mode/pull/496
[#503]: https://github.com/emacs-php/php-mode/issues/503
[#506]: https://github.com/emacs-php/php-mode/issues/506
[#510]: https://github.com/emacs-php/php-mode/pull/510
[@ejmr]: https://github.com/ejmr
[@fabacino]: https://github.com/fabacino
[@mallt]: https://github.com/mallt
[@sergeyklay]: https://github.com/sergeyklay
[PHP 7.2 arrow function]: https://wiki.php.net/rfc/arrow_functions_v2
[poly-php]: https://github.com/emacs-php/poly-php
[phpt-mode]: https://github.com/emacs-php/phpt-mode


================================================
FILE: CONTRIBUTING.md
================================================
# How to Contribute

This project accepts contributions in various languages.  Not only development but also documentation and translation are important contributions.

 * [English](#english) `[en]`
 * [简体中文](#simplified-chinese) `[zh-Hans]`
 * [繁体中文](#traditional-chinese) `[zh-Hant]`
 * [日本語](#japanese) `[ja]`

----------

## English

### Setup (en)

[Eask] is required to build the package. You need to install it using node.js and npm, or [download a prebuilt executable][eask-releases]. See [Eask Introduction][eask-introduction] and [Install Eask][eask-install] for more details.

You can run the tests using the following command:

```sh
make test
```

### Guideline (en)

All contributions to PHP Mode are welcome.  But please try to do the following when submitting enhancements or bug fixes:

 1. Open `php-mode-test.el` and run all the tests to make sure they pass as expected.  You can also check this by running `make test` from the terminal.
 2. Please commit with a concise and clear message that effectively achieves a simple purpose.
 3. Submit a pull request here on GitHub.

If you are fixing a bug related to a GitHub issue, then first of all, thank you for helping to improve PHP Mode.  Second, there is a `tests/` directory that contains PHP scripts for issues (though not all).  Please consider adding a test script to that directory that documents the expected behavior and provides code that allows others to see if that behavior works properly.  Then create a unit test within `php-mode-test.el' using [ERT]. Try to follow the format of the existing tests.

### Regression test for Face (en)

In this project, the regression test of [Font Lock] is realized by creating a `foo.php.face` file to be paired with the` foo.php` file. Add the `: faces t` option to the` with-php-mode-test` argument to activate this test.

Please refer to [How to generate face file] for how to generate `.face` file required for this test.

----------

## Simplified Chinese

I am seeking a contribution on Chinese.  We also lack a README written in Simplified Chinese.

### Guideline (zh-Hans)

Please contribute.

----------

## Traditional Chinese

I am seeking a contribution on Chinese.  We also lack a README written in Traditional Chinese.

### Guideline (zh-Hant)

Please contribute.

----------

## Japanese

### Setup (ja)

パッケージをビルドするにはEaskが必要です。node.jsとnpmからインストールするか、ビルド済み実行ファイルをダウンロードする必要があります。Easkの詳細は[Eask Introduction][eask-introduction]と[Install Eask][eask-install]をお読みください。

以下のコマンドでテストを実行できます。

```sh
make test
```

### Guideline (ja)

**Emacs PHP Mode**はどなたからの貢献も歓迎です。改善やバグ修正を行う前に以下の手順を行ってください。

 1. `php-mode-test.el`を開いて[すべてのテストを実行][run all of the tests]し、期待通りにテストを通過することを確認します。端末から`make test`で確認することもできます。
 2. 簡潔でシンプルな目的を達成するための、明示的なメッセージでコミットしてください。
 3. GitHubからプルリクエストを送信してください。

**GitHubのissueに関連するバグを修正する場合**: PHPモードの改善に協力いただきありがとうございます! `tests/`ディレクトリには(すべてではありませんが)issueに関連のあるPHPスクリプトが配置されています。そこに予期される挙動と他のひとが動作を適切に確認できるテストコードを追加することを検討してください。そして`php-mode-test.el`に既存のテストと同じように[ERT]を使ったテストコードを追加してください。

### Regression test for Face (ja)

このプロジェクトでは `foo.php` ファイルに対応した `foo.php.face` ファイルを作成することで[Font Lock]の回帰テストを実現しています。このテストを有効化するには`with-php-mode-test`の引数に`:faces t`オプションを追加してください。

このテストに必要な`.face`ファイルの生成方法は[How to generate face file]を参考にしてください。

[run all of the tests]: http://www.gnu.org/software/emacs/manual/html_node/ert/Running-Tests-Interactively.html#Running-Tests-Interactively
[Eask]: https://emacs-eask.github.io/
[eask-introduction]: https://emacs-eask.github.io/Getting-Started/Introduction/
[eask-install]: https://emacs-eask.github.io/Getting-Started/Install-Eask/
[eask-releases]: https://github.com/emacs-eask/cli/releases
[ERT]: http://www.gnu.org/software/emacs/manual/html_node/ert/index.html
[Font Lock]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Font-Lock-Mode.html
[How to generate face file]: https://github.com/emacs-php/php-mode/issues/509#issuecomment-491528968


================================================
FILE: Eask
================================================
;; -*- mode: eask; lexical-binding: t -*-

(package "php-mode"
         "1.26.1"
         "Major mode for editing PHP code")

(website-url "https://github.com/emacs-php/php-mode")
(keywords "languages" "php")

(package-file "lisp/php-mode.el")
(files
 "lisp/php.el"
 "lisp/php-complete.el"
 "lisp/php-defs.el"
 "lisp/php-face.el"
 "lisp/php-format.el"
 "lisp/php-project.el"
 "lisp/php-local-manual.el"
 "lisp/php-ide-phpactor.el"
 "lisp/php-ide.el"
 "lisp/php-mode-debug.el")

(script "test" "echo \"Error: no test specified\" && exit 1")

(source 'melpa)
(source 'gnu)

(depends-on "emacs" "27.1")

(development
 (depends-on "phpactor")
 (depends-on "pkg-info")
 (depends-on "projectile")
 (depends-on "smart-jump")
 (depends-on "shut-up")
 )

(setq network-security-level 'low)  ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432


================================================
FILE: LICENSE
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights.  Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received.  You must make sure that they, too, receive
or can get the source code.  And you must show them these terms so they
know their rights.

  Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

  For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software.  For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

  Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so.  This is fundamentally incompatible with the aim of
protecting users' freedom to change the software.  The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable.  Therefore, we
have designed this version of the GPL to prohibit the practice for those
products.  If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

  Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary.  To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Use with the GNU Affero General Public License.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.


================================================
FILE: Makefile
================================================
EMACS ?= emacs
CASK ?= cask
EASK ?= eask

compile:
	$(EASK) compile

all: autoloads $(ELCS) authors

authors: AUTHORS.md

.PHONY: AUTHORS.md
AUTHORS.md: etc/git/AUTHORS.md.in .mailmap
	@printf "Generating AUTHORS.md file..."
	@test -d .git \
		&& (cat $< > $@ \
			&& git log --pretty=format:'- %aN' \
				| cat etc/git/former-contributors - \
				| grep -v dependabot \
				| LANG=C sort -u >> $@ \
			&& cat etc/git/AUTHORS2.md.in >> $@ \
			&& printf "FINISHED\n" ; ) \
		|| printf "FAILED (non-fatal)\n"

autoloads:
	$(EASK) generate autoloads

.eask: Eask
	$(EASK) install

clean:
	$(EASK) clean all

# Perform any operations that will be useful for developers
# who contribute to PHP Mode.
dev:
	cp etc/git/prepare-commit-msg .git/hooks/prepare-commit-msg
	chmod u+x .git/hooks/prepare-commit-msg

# Runs all unit tests from php-mode-test.el and shows the results. The
# script will exit with the status code zero if all tests pass. If any
# test fails the script exits with a non-zero status and shows
# diagnostics on standard output.
#
# You can use this script with git-bisect. See the documentation at
#
#     http://git-scm.com/book/en/Git-Tools-Debugging-with-Git
#
# for an example of using a script like this with the 'git bisect run'
# command.
test: clean all
	$(EASK) test ert ./tests/php-mode-test.el

.PHONY: all authors autoloads clean test


================================================
FILE: README.ja.md
================================================
<div align="center">
  <h1>Emacs PHP Mode</h1>

[![Emacs: 30.0](https://img.shields.io/badge/Emacs-30.0-blue.svg)](https://www.gnu.org/software/emacs/)
[![lang: PHP 8.4](https://img.shields.io/badge/lang-PHP%208.4-brightgreen.svg)](https://www.php.net/releases/8.4/)
[![Build Status](https://github.com/emacs-php/php-mode/workflows/CI/badge.svg)](https://github.com/emacs-php/php-mode/actions)
[![GPL v3](https://img.shields.io/badge/license-GPL_v3-green.svg)][gpl-v3]<br>
[![NonGNU ELPA][nongnu-elpa-badge]][nongnu-elpa]
[![melpa badge][melpa-badge]][melpa-link]

A powerful and flexible Emacs major mode for editing PHP scripts

[English](README.md) &nbsp;&nbsp;|&nbsp;&nbsp; 日本語

</div>

[GitHubプロジェクト][php-mode]にissueを作成してバグ報告や機能リクエストを送ってください。

> [!NOTE]
> [最新版][releases]のPHP ModeはEmacs 30をサポートしています。<br />アップグレードに伴うトラブルは[Discussions][discussions-emacs30]に気軽に書き込んでください。

> [!WARNING]
> Emacsをアップグレードした直後に初めてPHPファイルを開いたときに、CC Mode関連のエラーが発生する可能性があります。これは以前のバージョンのEmacsでバイトコンパイルされたPHP Modeがディスクにキャッシュされているために起こるので、PHP Modeの再インストールによって解決します。
>
> **`M-x php-mode-debug-reinstall`** または **`M-x package-reinstall php-mode`** コマンドをお試しください。

[releases]: https://github.com/emacs-php/php-mode/releases
[discussions-emacs30]: https://github.com/emacs-php/php-mode/discussions/798

## インストール

**PHP ModeはEmacs 27.1以降で動作します**。対応バージョンの詳細は[Supported Version]をお読みください。Emacs 28以降では単に以下のコマンドを実行するだけでインストールできます。

```
M-x package-install php-mode
```

[`package-archives`にMELPAを追加][melpa-getting-started]することで、Web上の多くのパッケージでEmacsを強化できます。

パッケージマネージャへの依存なしでインストールしたい場合は、Lispファイルを直接配置する伝統的な方法も可能です。詳しくは[Manual installation][wiki-manual-installation]をお読みください。

## 設定

### 個人設定

.emacsファイル(`~/.emacs.d/init.el`)にPHPモードの設定を記述できます。

```lisp
(defun my-php-mode-init ()
  (subword-mode 1)
  (setq-local show-trailing-whitespace t)
  (setq-local ac-disable-faces '(font-lock-comment-face font-lock-string-face))
  (add-hook 'hack-local-variables-hook 'php-ide-turn-on nil t))

(with-eval-after-load 'php-mode
  (add-hook 'php-mode-hook #'my-php-mode-init)
  (custom-set-variables
   '(php-mode-coding-style 'psr2)
   '(php-mode-template-compatibility nil)
   '(php-imenu-generic-expression 'php-imenu-generic-expression-simple))

  ;; If you find phpcs to be bothersome, you can disable it.
  (when (require 'flycheck nil)
    (add-to-list 'flycheck-disabled-checkers 'php-phpmd)
    (add-to-list 'flycheck-disabled-checkers 'php-phpcs)))
```

### プロジェクトローカル設定

プロジェクトのトップディレクトリに`.dir-locals.el`または`.dir-locals-2.el`を記述すると、プロジェクト単位の設定を追加することができます。このファイルはユーザー自身のEmacsにインストールされたパッケージに依存するため、バージョン管理の対象に含めないことを推奨します。

```lisp
((nil
  (php-project-root . git)
  (php-project-coding-style . psr2)))
```

## 不具合を報告する

バグ報告の際には `M-x php-mode-debug` の出力を含めてください。この情報は問題の再現に役立ちます。

貢献するには
-----------------

[CONTRIBUTING.md](CONTRIBUTING.md#japanese)をご覧ください。

## 著作権

PHP Modeは[GNU General Public License Version 3][gpl-v3] (GPLv3) でライセンスされています。

このプロジェクトは1999年に[Turadg Aleahmad][@turadg]が書いた`php-mode.el`に起源を持ちます。2013年に[Daniel Hackney][@haxney]がEmacs組み込みのCC Modeをもとに書き直し始めました。PHPモードの改善に協力した貢献者のリストは[Authors]と[Contributors]に掲載されています。

このプロジェクトは2017年まで[Eric James Michael Ritz][@ejmr]によりメンテナンスされていました。現在は[Friends of Emacs-PHP Development][@emacs-php]コミュニティが引き継いで開発しています。

> ```
> Copyright (C) 2023  Friends of Emacs-PHP development
> Copyright (C) 1999, 2000, 2001, 2003, 2004 Turadg Aleahmad
>               2008 Aaron S. Hawley
>               2011, 2012, 2013, 2014, 2015, 2016, 2017 Eric James Michael Ritz
> ```
>
> This program is free software; you can redistribute it and/or modify
> it under the terms of the GNU General Public License as published by
> the Free Software Foundation, either version 3 of the License, or
> (at your option) any later version.
>
> This program is distributed in the hope that it will be useful,
> but WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> GNU General Public License for more details.
>
> You should have received a copy of the GNU General Public License
> along with this program.  If not, see <https://www.gnu.org/licenses/>.

[@ejmr]: https://github.com/ejmr
[@emacs-php]: https://github.com/emacs-php
[@haxney]: https://github.com/haxney
[@turadg]: https://github.com/turadg
[Authors]: https://github.com/emacs-php/php-mode/wiki/Authors
[Contributors]: https://github.com/emacs-php/php-mode/graphs/contributors
[Supported Version]: https://github.com/emacs-php/php-mode/wiki/Supported-Version
[gpl-v3]: https://www.gnu.org/licenses/gpl-3.0
[nongnu-elpa-badge]: https://elpa.nongnu.org/nongnu/php-mode.svg
[nongnu-elpa]: https://elpa.nongnu.org/nongnu/php-mode.html
[melpa-badge]: http://melpa.org/packages/php-mode-badge.svg
[melpa-getting-started]: https://melpa.org/#/getting-started
[melpa-link]: http://melpa.org/#/php-mode
[php-mode]: https://github.com/emacs-php/php-mode
[wiki]: https://github.com/emacs-php/php-mode/wiki
[wiki-manual-installation]: https://github.com/emacs-php/php-mode/wiki/Manual-installation-ja


================================================
FILE: README.md
================================================
<div align="center">
  <h1>Emacs PHP Mode</h1>

[![Emacs: 30.0](https://img.shields.io/badge/Emacs-30.0-blue.svg)](https://www.gnu.org/software/emacs/)
[![lang: PHP 8.4](https://img.shields.io/badge/lang-PHP%208.4-brightgreen.svg)](https://www.php.net/releases/8.4/)
[![Build Status](https://github.com/emacs-php/php-mode/workflows/CI/badge.svg)](https://github.com/emacs-php/php-mode/actions)
[![GPL v3](https://img.shields.io/badge/license-GPL_v3-green.svg)][gpl-v3]<br>
[![NonGNU ELPA][nongnu-elpa-badge]][nongnu-elpa]
[![melpa badge][melpa-badge]][melpa-link]

A powerful and flexible Emacs major mode for editing PHP scripts

English &nbsp;&nbsp;|&nbsp;&nbsp; [日本語](README.ja.md)

</div>

Please submit any bug reports or feature requests by creating issues on [the GitHub page for PHP Mode][php-mode].

> [!NOTE]
> The [latest version][releases] of PHP Mode supports Emacs 30.  
> Please feel free to [open a discussion][discussions-emacs30] if you have any issues upgrading to Emacs 30.

> [!WARNING]
> After upgrading Emacs, when you open a PHP file for the first time, you may encounter errors related to CC Mode. These errors occur because a previously byte-compiled version of PHP Mode, cached on your disk, differs from the newly installed one. Reinstalling PHP Mode should resolve the issue.
>
> Try running **`M-x php-mode-debug-reinstall`** or **`M-x package-reinstall php-mode`**.

[releases]: https://github.com/emacs-php/php-mode/releases
[discussions-emacs30]: https://github.com/emacs-php/php-mode/discussions/798

## Installation

**PHP Mode works with Emacs 27.1 or later.** For details on supported versions, see [Supported Version].
On Emacs 28 or later, you can install it simply by running:

```
M-x package-install php-mode
```

By [adding MELPA to `package-archives`][melpa-getting-started], you can extend Emacs with numerous packages from the web.

If you prefer not to rely on a package manager, you can install the Lisp files directly in the traditional manner.  See [Manual installation][wiki-manual-installation] for our recommended method.

## Configuration

### Personal Settings

You can add configurations for PHP Mode in your `.emacs` file (`~/.emacs.d/init.el`):

```lisp
(defun my-php-mode-init ()
  (subword-mode 1)
  (setq-local show-trailing-whitespace t)
  (setq-local ac-disable-faces '(font-lock-comment-face font-lock-string-face))
  (add-hook 'hack-local-variables-hook 'php-ide-turn-on nil t))

(with-eval-after-load 'php-mode
  (add-hook 'php-mode-hook #'my-php-mode-init)
  (custom-set-variables
   '(php-mode-coding-style 'psr2)
   '(php-mode-template-compatibility nil)
   '(php-imenu-generic-expression 'php-imenu-generic-expression-simple))

  ;; If you find phpcs to be bothersome, you can disable it.
  (when (require 'flycheck nil)
    (add-to-list 'flycheck-disabled-checkers 'php-phpmd)
    (add-to-list 'flycheck-disabled-checkers 'php-phpcs)))
```

### Project Setting

You can add project-specific settings by creating a `.dir-locals.el` or `.dir-locals-2.el` file in the project's root directory.  It is recommended not to put these files under version control, as they depend on the packages installed on each user's Emacs.

```lisp
((nil
  (php-project-root . git)
  (php-project-coding-style . psr2)))
```

## Reporting Bugs

When reporting a bug, please run `M-x php-mode-debug` and include its output in your bug report.  This helps us reproduce any issues you may be experiencing.

## How to Contribute

Please see [CONTRIBUTING.md](CONTRIBUTING.md#english).

## Copyright

PHP Mode is licensed under [GNU General Public License Version 3][gpl-v3] (GPLv3).

This project originated in `php-mode.el` written by [Turadg Aleahmad][@turadg] in 1999.  In 2013 [Daniel Hackney][@haxney] began rewriting parts of PHP Mode in terms of Emacs' built-in CC Mode.  Other contributors are listed in [Authors] and [Contributors].

This project was maintained by [Eric James Michael Ritz][@ejmr] until 2017. Currently, the [Friends of Emacs-PHP Development][@emacs-php] community inherits PHP Mode.

> ```
> Copyright (C) 2022  Friends of Emacs-PHP development
> Copyright (C) 1999, 2000, 2001, 2003, 2004 Turadg Aleahmad
>               2008 Aaron S. Hawley
>               2011, 2012, 2013, 2014, 2015, 2016, 2017 Eric James Michael Ritz
> ```
>
> This program is free software; you can redistribute it and/or modify
> it under the terms of the GNU General Public License as published by
> the Free Software Foundation, either version 3 of the License, or
> (at your option) any later version.
>
> This program is distributed in the hope that it will be useful,
> but WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> GNU General Public License for more details.
>
> You should have received a copy of the GNU General Public License
> along with this program.  If not, see <https://www.gnu.org/licenses/>.

[@ejmr]: https://github.com/ejmr
[@emacs-php]: https://github.com/emacs-php
[@haxney]: https://github.com/haxney
[@turadg]: https://github.com/turadg
[Authors]: https://github.com/emacs-php/php-mode/wiki/Authors
[Contributors]: https://github.com/emacs-php/php-mode/graphs/contributors
[Supported Version]: https://github.com/emacs-php/php-mode/wiki/Supported-Version
[gpl-v3]: https://www.gnu.org/licenses/gpl-3.0
[nongnu-elpa-badge]: https://elpa.nongnu.org/nongnu/php-mode.svg
[nongnu-elpa]: https://elpa.nongnu.org/nongnu/php-mode.html
[melpa-badge]: http://melpa.org/packages/php-mode-badge.svg
[melpa-getting-started]: https://melpa.org/#/getting-started
[melpa-link]: http://melpa.org/#/php-mode
[php-mode]: https://github.com/emacs-php/php-mode
[wiki]: https://github.com/emacs-php/php-mode/wiki
[wiki-manual-installation]: https://github.com/emacs-php/php-mode/wiki/Manual-installation


================================================
FILE: docs/php-align/README.md
================================================
# php-align.el

CAUTION!! this is still experimental.

Support alignment (e.g. `align`, `align-current`) for PHP.

Put this file into your load-path.and the following code into your ~/.emacs

```el
(add-hook 'php-mode-hook #'php-align-setup)
```

## Examples

### 1.

#### before

```php
$foo = "string"; // M-x align-current
$looooooooong = 1; //
```

#### after

```php
$foo          = "string"; // M-x align-current
$looooooooong = 1;        //
```

### 2.

#### before

```php
"$foo = 1";
$foo = "string"; // M-x align-current
$looooooooong = 1; //

$bar = 2; //
```

#### after

```php
"$foo = 1";
$foo          = "string"; // M-x align-current
$looooooooong = 1;        //

$bar = 2; //
```

### 3.

#### before

```php
$variable = 1;
$vars = array(); // M-x align-current
if ($variable == $vars) {

}
```

#### after

```php
$variable = 1;
$vars     = array(); // M-x align-current
if ($variable == $vars) {

}
```

### 4.

#### before

```php
$vars = array(
    1, 2, 3,
    4, 5, 6,
    7, 8, 9,
    10, 11, 12, // C-u M-x align-current
);
```

#### after

```php
$vars = array(
    1,  2,  3,
    4,  5,  6,
    7,  8,  9,
    10, 11, 12, // C-u M-x align-current
);
```


================================================
FILE: etc/git/AUTHORS.md.in
================================================
# Authors

## Author

- [Turadg Aleahmad](https://github.com/turadg) (Original Author)
- [Daniel Hackney](https://github.com/haxney) (Integrated with CC Mode)

## Maintainer

- [USAMI Kenta (@zonuexe)](https://github.com/zonuexe) <tadsan@zonu,me>

## Retired Maintainers

- [Aaron S. Hawley](https://users.ninthfloor.org/~ashawley/)
- [Lennart Borgman](https://www.emacswiki.org/emacs/LennartBorgman)
- [Eric James Michael Ritz](https://github.com/ejmr)
- [Syohei Yoshida](https://syohex.org/)

## Contributors

All contributors listed below improved PHP Mode as well.

Names Sorted Alphabetically:



================================================
FILE: etc/git/AUTHORS2.md.in
================================================

A chronological list of pre-2019 contributors can be found at [wiki/Authors](https://github.com/emacs-php/php-mode/wiki/Authors).

Contributors since 2011, where this project was hosted, can also be found at [graphs/contributors](https://github.com/emacs-php/php-mode/graphs/contributors), except for accounts that have been withdrawn from GitHub.


================================================
FILE: etc/git/commit-template.txt
================================================
# SUBJECT, 50 Characters, No Period
# "If applied, this commit will..."

# BODY, 72 Characters
# Answers the question, "Why?", not, "How?"

# METADATA
# GitHub-Issue:
# Resolves:
# See-also:
# Reviewed-by:
# Special-thanks:
# HANGING INDENT


================================================
FILE: etc/git/former-contributors
================================================
- Aaron S. Hawley
- Bill Lovett
- Boris Folgmann
- Chris Morris
- Craig Andrews
- David House
- Dias Badekas
- Doug Marcey
- Eric Mc Sween
- Fred Yankowski
- Gerrit Riessen
- Giacomo Tesio
- Gregory Stark
- Ian Eure
- John Keller
- Juanjo
- Kevin Blake
- Lennart Borgman
- Mathias Meyer
- Nils Rennebarth
- Rex McMaster
- Roland
- Rosenfeld
- Ryan
- Sammartino
- Sean Champ
- Stefan Monnier
- Stig Bakken
- Torsten Martinsen
- Valentin Funk
- Ville Skytta
- Vinai Kopp
- ppercot


================================================
FILE: etc/git/prepare-commit-msg
================================================
#!/bin/sh
#
# prepare-commit-msg
# ==================
#
# ## SYNOPSIS
#
# This hook fills the user's editor with a pre-written commit message
# template, intended to help contributors adhere to good style and
# practices when it comes to writing Git commit messages.
#
########################################################################

# This hook will always recieve three arguments.  We only care about the
# first for our purposes, but still assign useful names to the others
# in case we need them in the future.
COMMIT_MESSAGE=$1
COMMIT_SOURCE=$2
COMMIT_SHA1=$3

# If the commit message already contains content then the developer
# is probably using his or her own template.  In which case we do not
# trample over it.  We test for a pre-existing template by reading
# the first line of the commit message this hook recieved, and check
# so see if it is an empty string (apply our template) or not (leave
# the message alone).
TITLE_LINE=$(head -n1 $COMMIT_MESSAGE)

if [ -z "$TITLE_LINE" ]; then
	project_dir=$(git rev-parse --show-toplevel)
	template="$project_dir/etc/git/commit-template.txt"
	echo "$(cat $template)\n$(cat $COMMIT_MESSAGE)" > $COMMIT_MESSAGE
fi

exit 0


================================================
FILE: lisp/.editorconfig
================================================
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
charset = utf-8

[*.el]
indent_style = space

[Makefile]
indent_style = tab


================================================
FILE: lisp/php-align.el
================================================
;;; php-align.el --- Alignment configuration for PHP  -*- lexical-binding: t; -*-

;; Copyright (C) 2011  tetsujin (Yusuke Segawa)
;; Copyright (C) 2023  Friends of Emacs-PHP development

;; Author: tetsujin (Yusuke Segawa) <tetsujin85 (at) gmail.com>
;; Maintainer: USAMI Kenta <tadsan@zonu.me>
;; Keywords: php languages convenience align
;; Homepage: https://github.com/emacs-php/php-mode
;; Version: 1.26.1
;; License: GPL-3.0-or-later

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <https://www.gnu.org/licenses/>.

;;; Commentary:

;; This extension provides alignment for PHP.
;; Note that you must have Font Lock mode enabled.
;;
;; Put this file into your load-path.and the following code into your ~/.emacs
;;
;;     (add-hook 'php-mode-hook #'php-align-setup)

;;; TODO:
;; - Add test codes using el-expectations.

;;; Code:
(require 'align)
(require 'regexp-opt)
(require 'php-project)

(defvar php-align-rules-list
  `((php-comma-delimiter
     (regexp   . ",\\(\\s-*\\)[^/ \t\n]")
     (repeat   . t)
     (modes    . '(php-mode))
     (run-if   . ,(function (lambda () current-prefix-arg))))
    (php-assignment
     (regexp   . ,(concat "[^=!^&*-+<>/.| \t\n]\\(\\s-*[=!^&%*-+<>/.|]*\\)=>?"
                          "\\(\\s-*\\)\\([^= \t\n]\\|$\\)"))
     (group    . (1 2))
     (modes    . '(php-mode))
     (justify  . t)
     (tab-stop . nil))
    (php-comment
     (regexp   . "\\(\\s-*\\)\\(//.*\\|/\\*.*\\*/\\s-*\\)$")
     (modes    . (php-mode))
     (column   . comment-column)
     (valid    . ,(function
                   (lambda ()
                     (save-excursion
                       (goto-char (match-beginning 1))
                       (not (bolp)))))))
    (php-chain-logic
     (regexp   . "\\(\\s-*\\)\\(&&\\|||\\|\\<and\\>\\|\\<or\\>\\)")
     (modes    . (php-mode))
     (valid    . ,(function
                   (lambda ()
                     (save-excursion
                       (goto-char (match-end 2))
                       (looking-at "\\s-*\\(/[*/]\\|$\\)"))))))))

(defvar php-align-region-separate
  (eval-when-compile
    (concat
     ;; blank line
     "\\(?:" "^\\s-*$" "\\)"
     "\\|"
     ;; comment start or end line
     "\\(?:" "^\\s-*\\(?:/[/*]\\|\\*/\\)" "\\)"
     "\\|"
     ;; end of line are '[', '(', '{', '}', '/*'
     "\\(?:" "\\(?:[[({}]\\|/\\*+\\)\\s-*$" "\\)"
     "\\|"
     ;; beginning of line are ')', '}', ']' and trailing character are ',', ';'
     "\\(?:" "^\\s-*[)}]][ \t,;]?\\s-*$" "\\)"
     "\\|"
     ;;  beginning of line are some PHP keywrods
     "\\(?:"
     "^\\s-*"
     (regexp-opt
      '("for" "foreach" "while" "if" "else" "switch" "case" "break" "continue"
        "try" "catch" "declare" "do" "return" "namespace" "use"))
     "[ ;]"
     "\\)"
     "\\|"
     ;; function or method call
     "\\(?:" "^\\s-*" "\\(?:" "\\w\\|[->\\: \t]" "\\)+" "(" "\\)"))
  "Regexp of a section of PHP for alignment.")

;;;###autoload
(defun php-align-setup ()
  "Setup alignment configuration for PHP code."
  (when php-project-align-lines
    (php-align-mode 1)))

(defvar php-align-mode-lighter " PHP-Align")

;;;###autoload
(define-minor-mode php-align-mode
  "Alignment lines for PHP script."
  :lighter php-align-mode-lighter
  (add-to-list 'align-open-comment-modes 'php-mode)
  (add-to-list 'align-dq-string-modes 'php-mode)
  (add-to-list 'align-sq-string-modes 'php-mode)

  (if php-align-mode
      (progn
        (setq-local align-mode-rules-list php-align-rules-list)
        (setq-local align-region-separate php-align-region-separate))
    (setq-local align-mode-rules-list nil)
    (setq-local align-region-separate nil)))

(provide 'php-align)
;;; php-align.el ends here


================================================
FILE: lisp/php-complete.el
================================================
;;; php-complete.el --- PHP auto-compiletion functions         -*- lexical-binding: t; -*-

;; Copyright (C) 2023  Friends of Emacs-PHP development
;; Copyright (C) 2021, 2022  Free Software Foundation, Inc.

;; Author: USAMI Kenta <tadsan@zonu.me>

;; Created: 18 Sep 2022
;; Version: 1.26.1
;; Keywords: languages, php

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <https://www.gnu.org/licenses/>.

;;; Commentary:

;; Provide auto-compiletion functions.

;; These functions are copied function from GNU ELPA.
;;
;; - cape--table-with-properties (cape.el)
;; - cape--bounds (cape.el)
;; - cape--interactive (cape.el)

;;; Code:
(eval-when-compile
  (require 'cl-lib))
(require 'php)
(require 'php-defs)

;;;###autoload
(defgroup php-complete nil
  "Auto completion for PHP edition."
  :tag "PHP Completion"
  :group 'php-mode)

;;;###autoload
(defcustom php-complete-function-modules '(bcmath core gmp libxml intl mbstring pcntl posix sodium xml xmlwriter)
  "Module names for function names completion."
  :tag "PHP Complete Function Modules"
  :type (eval-when-compile `(set ,@(mapcar (lambda (elm) (list 'const (car elm)))
                                           php-defs-functions-alist)))
  :safe (lambda (value) (and (listp value) (cl-loop for v in values
                                                    always (assq v php-defs-functions-alist))))
  :group 'php-complete)

;;; Cape functions:

;; These functions are copied from cape.el package.  https://github.com/minad/cape
;; Thanks to original author Daniel Mendler (@minad)

(cl-defun php-complete--cape-table-with-properties (table &key category (sort t) &allow-other-keys)
  "Create completion TABLE with properties.
CATEGORY is the optional completion category.
SORT should be nil to disable sorting."
  (if (or (not table) (and (not category) sort))
      table
    (let ((metadata `(metadata
                      ,@(and category `((category . ,category)))
                      ,@(and (not sort) '((display-sort-function . identity)
                                          (cycle-sort-function . identity))))))
      (lambda (str pred action)
        (if (eq action 'metadata)
            metadata
          (complete-with-action action table str pred))))))

(defun php-complete--cape-bounds (thing)
  "Return bounds of THING."
  (or (bounds-of-thing-at-point thing) (cons (point) (point))))

(defun php-complete--cape-interactive (capf)
  "Complete with CAPF."
  (let ((completion-at-point-functions (list capf)))
    (or (completion-at-point) (user-error "%s: No completions" capf))))

;;; Variables:
(defvar php-complete--functions-cache (make-hash-table :test #'equal))

;;; Data source functions:
(defun php-complete--functions ()
  "Return PHP function names."
  (let* ((modules (sort php-complete-function-modules #'string<))
         (functions (gethash modules php-complete--functions-cache)))
    (unless functions
      (setq functions (sort (cl-loop for module in modules
                                     append (assq module php-defs-functions-alist))
                            #'string<))
      (puthash modules functions php-complete--functions-cache))
    functions))

;;; Compiletion function:

;;;###autoload
(defun php-complete-complete-function (&optional interactive)
  "Complete PHP keyword at point.

If INTERACTIVE is nil the function acts like a capf."
  (interactive (list t))
  (if interactive
      (php-complete--cape-interactive #'php-complete-complete-function)
    (let ((bounds (php-complete--cape-bounds 'symbol))
          (tokens (nreverse (php-leading-tokens 2))))
      `(,(car bounds) ,(cdr bounds)
        ,(php-complete--cape-table-with-properties
          (unless (or (member (nth 0 tokens) '("->" "::"))
                      (string-prefix-p "$" (nth 1 tokens)))
            (php-complete--functions))
          :category 'cape-keyword)
        :annotation-function (lambda (_) " PHP functions")
        :company-kind (lambda (_) 'keyword)
        :exclusive 'no))))

(provide 'php-complete)
;;; php-complete.el ends here


================================================
FILE: lisp/php-defs.el
================================================
;;; php-defs.el --- Provide PHP keyword definitions  -*- lexical-binding: t; -*-

;; Copyright (C) 2023  Friends of Emacs-PHP development

;; Author: USAMI Kenta <tadsan@zonu.me>
;; Created: 5 Mar 2022
;; Version: 1.26.1
;; Keywords: languages, php

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <https://www.gnu.org/licenses/>.

;;; Commentary:

;; This file provides common functions for PHP codes.

;;; Code:

(defvar php-defs-functions-alist
  '((apache
     "apache_child_terminate"
     "apache_get_modules"
     "apache_get_version"
     "apache_getenv"
     "apache_lookup_uri"
     "apache_note"
     "apache_request_headers"
     "apache_response_headers"
     "apache_setenv"
     "virtual")
    (apcu
     "apcu_add"
     "apcu_cache_info"
     "apcu_cas"
     "apcu_clear_cache"
     "apcu_dec"
     "apcu_delete"
     "apcu_enabled"
     "apcu_entry"
     "apcu_exists"
     "apcu_fetch"
     "apcu_inc"
     "apcu_key_info"
     "apcu_sma_info"
     "apcu_store")
    (bcmath
     "bcadd"
     "bccomp"
     "bcdiv"
     "bcmod"
     "bcmul"
     "bcpow"
     "bcpowmod"
     "bcscale"
     "bcsqrt"
     "bcsub")
    (bzip2
     "bzclose"
     "bzcompress"
     "bzdecompress"
     "bzerrno"
     "bzerror"
     "bzerrstr"
     "bzflush"
     "bzopen"
     "bzread"
     "bzwrite")
    (calendar
     "cal_days_in_month"
     "cal_from_jd"
     "cal_info"
     "cal_to_jd"
     "easter_date"
     "easter_days"
     "frenchtojd"
     "gregoriantojd"
     "jddayofweek"
     "jdmonthname"
     "jdtofrench"
     "jdtogregorian"
     "jdtojewish"
     "jdtojulian"
     "jdtounix"
     "jewishtojd"
     "unixtojd")
    (com_dotnet
     "com_create_guid"
     "com_event_sink"
     "com_get_active_object"
     "com_load_typelib"
     "com_message_pump"
     "com_print_typeinfo"
     "variant_abs"
     "variant_add"
     "variant_and"
     "variant_cast"
     "variant_cat"
     "variant_cmp"
     "variant_date_from_timestamp"
     "variant_date_to_timestamp"
     "variant_div"
     "variant_eqv"
     "variant_fix"
     "variant_get_type"
     "variant_idiv"
     "variant_imp"
     "variant_int"
     "variant_mod"
     "variant_mul"
     "variant_neg"
     "variant_not"
     "variant_or"
     "variant_pow"
     "variant_round"
     "variant_set"
     "variant_set_type"
     "variant_sub"
     "variant_xor")
    (commonmark
     "CommonMark\\Parse"
     "CommonMark\\Render"
     "CommonMark\\Render\\HTML"
     "CommonMark\\Render\\Latex"
     "CommonMark\\Render\\Man"
     "CommonMark\\Render\\XML")
    (componere
     "Componere\\cast"
     "Componere\\cast_by_ref")
    (core
     "abs"
     "acos"
     "acosh"
     "addcslashes"
     "addslashes"
     "array_change_key_case"
     "array_chunk"
     "array_column"
     "array_combine"
     "array_count_values"
     "array_diff"
     "array_diff_assoc"
     "array_diff_key"
     "array_diff_uassoc"
     "array_diff_ukey"
     "array_fill"
     "array_fill_keys"
     "array_filter"
     "array_flip"
     "array_intersect"
     "array_intersect_assoc"
     "array_intersect_key"
     "array_intersect_uassoc"
     "array_intersect_ukey"
     "array_is_list"
     "array_key_exists"
     "array_key_first"
     "array_key_last"
     "array_keys"
     "array_map"
     "array_merge"
     "array_merge_recursive"
     "array_multisort"
     "array_pad"
     "array_pop"
     "array_product"
     "array_push"
     "array_rand"
     "array_reduce"
     "array_replace"
     "array_replace_recursive"
     "array_reverse"
     "array_search"
     "array_shift"
     "array_slice"
     "array_splice"
     "array_sum"
     "array_udiff"
     "array_udiff_assoc"
     "array_udiff_uassoc"
     "array_uintersect"
     "array_uintersect_assoc"
     "array_uintersect_uassoc"
     "array_unique"
     "array_unshift"
     "array_values"
     "array_walk"
     "array_walk_recursive"
     "arsort"
     "asin"
     "asinh"
     "asort"
     "assert_options"
     "atan"
     "atan2"
     "atanh"
     "base64_decode"
     "base64_encode"
     "base_convert"
     "basename"
     "bin2hex"
     "bindec"
     "boolval"
     "call_user_func"
     "call_user_func_array"
     "ceil"
     "chdir"
     "checkdate"
     "checkdnsrr"
     "chgrp"
     "chmod"
     "chop"
     "chown"
     "chr"
     "chroot"
     "chunk_split"
     "class_alias"
     "class_exists"
     "class_implements"
     "class_parents"
     "class_uses"
     "clearstatcache"
     "cli_get_process_title"
     "cli_set_process_title"
     "closedir"
     "closelog"
     "compact"
     "connection_aborted"
     "connection_status"
     "constant"
     "convert_cyr_string"
     "convert_uudecode"
     "convert_uuencode"
     "copy"
     "cos"
     "cosh"
     "count"
     "count_chars"
     "crc32"
     "create_function"
     "crypt"
     "ctype_alnum"
     "ctype_alpha"
     "ctype_cntrl"
     "ctype_digit"
     "ctype_graph"
     "ctype_lower"
     "ctype_print"
     "ctype_punct"
     "ctype_space"
     "ctype_upper"
     "ctype_xdigit"
     "current"
     "date"
     "date_add"
     "date_create"
     "date_create_from_format"
     "date_create_immutable"
     "date_create_immutable_from_format"
     "date_date_set"
     "date_default_timezone_get"
     "date_default_timezone_set"
     "date_diff"
     "date_format"
     "date_get_last_errors"
     "date_interval_create_from_date_string"
     "date_interval_format"
     "date_isodate_set"
     "date_modify"
     "date_offset_get"
     "date_parse"
     "date_parse_from_format"
     "date_sub"
     "date_sun_info"
     "date_sunrise"
     "date_sunset"
     "date_time_set"
     "date_timestamp_get"
     "date_timestamp_set"
     "date_timezone_get"
     "date_timezone_set"
     "debug_backtrace"
     "debug_print_backtrace"
     "debug_zval_dump"
     "decbin"
     "dechex"
     "decoct"
     "define"
     "defined"
     "deg2rad"
     "delete"
     "die"
     "dir"
     "dirname"
     "disk_free_space"
     "disk_total_space"
     "diskfreespace"
     "dl"
     "dns_check_record"
     "dns_get_mx"
     "dns_get_record"
     "doubleval"
     "each"
     "enum_exists"
     "error_clear_last"
     "error_get_last"
     "error_log"
     "error_reporting"
     "escapeshellarg"
     "escapeshellcmd"
     "eval"
     "exec"
     "exit"
     "exp"
     "explode"
     "expm1"
     "extension_loaded"
     "extract"
     "fastcgi_finish_request"
     "fclose"
     "fdatasync"
     "fdiv"
     "feof"
     "fflush"
     "fgetc"
     "fgetcsv"
     "fgets"
     "fgetss"
     "file"
     "file_exists"
     "file_get_contents"
     "file_put_contents"
     "fileatime"
     "filectime"
     "filegroup"
     "fileinode"
     "filemtime"
     "fileowner"
     "fileperms"
     "filesize"
     "filetype"
     "filter_has_var"
     "filter_id"
     "filter_input"
     "filter_input_array"
     "filter_list"
     "filter_var"
     "filter_var_array"
     "finfo_buffer"
     "finfo_close"
     "finfo_file"
     "finfo_open"
     "finfo_set_flags"
     "floatval"
     "flock"
     "floor"
     "flush"
     "fmod"
     "fnmatch"
     "fopen"
     "forward_static_call"
     "forward_static_call_array"
     "fpassthru"
     "fprintf"
     "fputcsv"
     "fputs"
     "fread"
     "fscanf"
     "fseek"
     "fsockopen"
     "fstat"
     "fsync"
     "ftell"
     "ftruncate"
     "func_get_arg"
     "func_get_args"
     "func_num_args"
     "function_exists"
     "fwrite"
     "gc_collect_cycles"
     "gc_disable"
     "gc_enable"
     "gc_enabled"
     "gc_mem_caches"
     "gc_status"
     "get_browser"
     "get_called_class"
     "get_cfg_var"
     "get_class"
     "get_class_methods"
     "get_class_vars"
     "get_current_user"
     "get_debug_type"
     "get_declared_classes"
     "get_declared_interfaces"
     "get_declared_traits"
     "get_defined_constants"
     "get_defined_functions"
     "get_defined_vars"
     "get_extension_funcs"
     "get_headers"
     "get_html_translation_table"
     "get_include_path"
     "get_included_files"
     "get_loaded_extensions"
     "get_magic_quotes_gpc"
     "get_magic_quotes_runtime"
     "get_mangled_object_vars"
     "get_meta_tags"
     "get_object_vars"
     "get_parent_class"
     "get_required_files"
     "get_resource_id"
     "get_resource_type"
     "get_resources"
     "getallheaders"
     "getcwd"
     "getdate"
     "getenv"
     "gethostbyaddr"
     "gethostbyname"
     "gethostbynamel"
     "gethostname"
     "getlastmod"
     "getmxrr"
     "getmygid"
     "getmyinode"
     "getmypid"
     "getmyuid"
     "getopt"
     "getprotobyname"
     "getprotobynumber"
     "getrandmax"
     "getrusage"
     "getservbyname"
     "getservbyport"
     "gettimeofday"
     "gettype"
     "glob"
     "gmdate"
     "gmmktime"
     "gmstrftime"
     "hash"
     "hash_algos"
     "hash_copy"
     "hash_equals"
     "hash_file"
     "hash_final"
     "hash_hkdf"
     "hash_hmac"
     "hash_hmac_algos"
     "hash_hmac_file"
     "hash_init"
     "hash_pbkdf2"
     "hash_update"
     "hash_update_file"
     "hash_update_stream"
     "header"
     "header_register_callback"
     "header_remove"
     "headers_list"
     "headers_sent"
     "hebrev"
     "hebrevc"
     "hex2bin"
     "hexdec"
     "highlight_file"
     "highlight_string"
     "hrtime"
     "html_entity_decode"
     "htmlentities"
     "htmlspecialchars"
     "htmlspecialchars_decode"
     "http_build_query"
     "http_response_code"
     "hypot"
     "idate"
     "ignore_user_abort"
     "implode"
     "in_array"
     "inet_ntop"
     "inet_pton"
     "ini_alter"
     "ini_get"
     "ini_get_all"
     "ini_restore"
     "ini_set"
     "intdiv"
     "interface_exists"
     "intval"
     "ip2long"
     "is_a"
     "is_array"
     "is_bool"
     "is_callable"
     "is_countable"
     "is_dir"
     "is_double"
     "is_executable"
     "is_file"
     "is_finite"
     "is_float"
     "is_infinite"
     "is_int"
     "is_integer"
     "is_iterable"
     "is_link"
     "is_long"
     "is_nan"
     "is_null"
     "is_numeric"
     "is_object"
     "is_readable"
     "is_resource"
     "is_scalar"
     "is_string"
     "is_subclass_of"
     "is_uploaded_file"
     "is_writable"
     "is_writeable"
     "iterator_apply"
     "iterator_count"
     "iterator_to_array"
     "join"
     "json_decode"
     "json_encode"
     "json_last_error"
     "json_last_error_msg"
     "juliantojd"
     "key"
     "key_exists"
     "krsort"
     "ksort"
     "lcfirst"
     "lcg_value"
     "lchgrp"
     "lchown"
     "levenshtein"
     "link"
     "linkinfo"
     "list"
     "localeconv"
     "localtime"
     "log"
     "log10"
     "log1p"
     "long2ip"
     "lstat"
     "ltrim"
     "mail"
     "max"
     "md5"
     "md5_file"
     "memory_get_peak_usage"
     "memory_get_usage"
     "metaphone"
     "method_exists"
     "microtime"
     "mime_content_type"
     "min"
     "mkdir"
     "mktime"
     "money_format"
     "move_uploaded_file"
     "mt_getrandmax"
     "mt_rand"
     "mt_srand"
     "natcasesort"
     "natsort"
     "net_get_interfaces"
     "next"
     "nl2br"
     "nl_langinfo"
     "number_format"
     "ob_clean"
     "ob_end_clean"
     "ob_end_flush"
     "ob_flush"
     "ob_get_clean"
     "ob_get_contents"
     "ob_get_flush"
     "ob_get_length"
     "ob_get_level"
     "ob_get_status"
     "ob_gzhandler"
     "ob_iconv_handler"
     "ob_implicit_flush"
     "ob_list_handlers"
     "ob_start"
     "ob_tidyhandler"
     "octdec"
     "opcache_compile_file"
     "opcache_get_configuration"
     "opcache_get_status"
     "opcache_invalidate"
     "opcache_is_script_cached"
     "opcache_reset"
     "opendir"
     "openlog"
     "ord"
     "output_add_rewrite_var"
     "output_reset_rewrite_vars"
     "pack"
     "parse_ini_file"
     "parse_ini_string"
     "parse_str"
     "parse_url"
     "passthru"
     "password_algos"
     "password_get_info"
     "password_hash"
     "password_needs_rehash"
     "password_verify"
     "pathinfo"
     "pclose"
     "pdo_drivers"
     "pfsockopen"
     "php_ini_loaded_file"
     "php_ini_scanned_files"
     "php_sapi_name"
     "php_strip_whitespace"
     "php_uname"
     "phpcredits"
     "phpdbg_break_file"
     "phpdbg_break_function"
     "phpdbg_break_method"
     "phpdbg_break_next"
     "phpdbg_clear"
     "phpdbg_color"
     "phpdbg_end_oplog"
     "phpdbg_exec"
     "phpdbg_get_executable"
     "phpdbg_prompt"
     "phpdbg_start_oplog"
     "phpinfo"
     "phpversion"
     "pi"
     "popen"
     "pos"
     "pow"
     "preg_filter"
     "preg_grep"
     "preg_last_error"
     "preg_last_error_msg"
     "preg_match"
     "preg_match_all"
     "preg_quote"
     "preg_replace"
     "preg_replace_callback"
     "preg_replace_callback_array"
     "preg_split"
     "prev"
     "print_r"
     "printf"
     "proc_close"
     "proc_get_status"
     "proc_nice"
     "proc_open"
     "proc_terminate"
     "property_exists"
     "putenv"
     "quoted_printable_decode"
     "quoted_printable_encode"
     "quotemeta"
     "rad2deg"
     "rand"
     "random_bytes"
     "random_int"
     "range"
     "rawurldecode"
     "rawurlencode"
     "readdir"
     "readfile"
     "readlink"
     "realpath"
     "realpath_cache_get"
     "realpath_cache_size"
     "register_shutdown_function"
     "register_tick_function"
     "rename"
     "reset"
     "restore_error_handler"
     "restore_exception_handler"
     "restore_include_path"
     "rewind"
     "rewinddir"
     "rmdir"
     "round"
     "rsort"
     "rtrim"
     "sapi_windows_cp_conv"
     "sapi_windows_cp_get"
     "sapi_windows_cp_is_utf8"
     "sapi_windows_cp_set"
     "sapi_windows_generate_ctrl_event"
     "sapi_windows_set_ctrl_handler"
     "sapi_windows_vt100_support"
     "scandir"
     "seaslog_get_author"
     "seaslog_get_version"
     "serialize"
     "session_abort"
     "session_cache_expire"
     "session_cache_limiter"
     "session_commit"
     "session_create_id"
     "session_decode"
     "session_destroy"
     "session_encode"
     "session_gc"
     "session_get_cookie_params"
     "session_id"
     "session_module_name"
     "session_name"
     "session_regenerate_id"
     "session_register_shutdown"
     "session_reset"
     "session_save_path"
     "session_set_cookie_params"
     "session_set_save_handler"
     "session_start"
     "session_status"
     "session_unset"
     "session_write_close"
     "set_error_handler"
     "set_exception_handler"
     "set_file_buffer"
     "set_include_path"
     "set_time_limit"
     "setcookie"
     "setlocale"
     "setrawcookie"
     "settype"
     "sha1"
     "sha1_file"
     "shell_exec"
     "show_source"
     "shuffle"
     "similar_text"
     "sin"
     "sinh"
     "sizeof"
     "sleep"
     "sort"
     "soundex"
     "spl_autoload"
     "spl_autoload_call"
     "spl_autoload_extensions"
     "spl_autoload_functions"
     "spl_autoload_register"
     "spl_autoload_unregister"
     "spl_classes"
     "spl_object_hash"
     "spl_object_id"
     "sprintf"
     "sqrt"
     "srand"
     "sscanf"
     "stat"
     "str_contains"
     "str_ends_with"
     "str_getcsv"
     "str_ireplace"
     "str_pad"
     "str_repeat"
     "str_replace"
     "str_rot13"
     "str_shuffle"
     "str_split"
     "str_starts_with"
     "str_word_count"
     "strcasecmp"
     "strchr"
     "strcmp"
     "strcoll"
     "strcspn"
     "stream_bucket_append"
     "stream_bucket_make_writeable"
     "stream_bucket_new"
     "stream_bucket_prepend"
     "stream_context_create"
     "stream_context_get_default"
     "stream_context_get_options"
     "stream_context_get_params"
     "stream_context_set_default"
     "stream_context_set_option"
     "stream_context_set_params"
     "stream_copy_to_stream"
     "stream_filter_append"
     "stream_filter_prepend"
     "stream_filter_register"
     "stream_filter_remove"
     "stream_get_contents"
     "stream_get_filters"
     "stream_get_line"
     "stream_get_meta_data"
     "stream_get_transports"
     "stream_get_wrappers"
     "stream_is_local"
     "stream_isatty"
     "stream_notification_callback"
     "stream_register_wrapper"
     "stream_resolve_include_path"
     "stream_select"
     "stream_set_blocking"
     "stream_set_chunk_size"
     "stream_set_read_buffer"
     "stream_set_timeout"
     "stream_set_write_buffer"
     "stream_socket_accept"
     "stream_socket_client"
     "stream_socket_enable_crypto"
     "stream_socket_get_name"
     "stream_socket_pair"
     "stream_socket_recvfrom"
     "stream_socket_sendto"
     "stream_socket_server"
     "stream_socket_shutdown"
     "stream_supports_lock"
     "stream_wrapper_register"
     "stream_wrapper_restore"
     "stream_wrapper_unregister"
     "strftime"
     "strip_tags"
     "stripcslashes"
     "stripos"
     "stripslashes"
     "stristr"
     "strlen"
     "strnatcasecmp"
     "strnatcmp"
     "strncasecmp"
     "strncmp"
     "strpbrk"
     "strpos"
     "strptime"
     "strrchr"
     "strrev"
     "strripos"
     "strrpos"
     "strspn"
     "strstr"
     "strtok"
     "strtolower"
     "strtotime"
     "strtoupper"
     "strtr"
     "strval"
     "substr"
     "substr_compare"
     "substr_count"
     "substr_replace"
     "symlink"
     "sys_get_temp_dir"
     "sys_getloadavg"
     "syslog"
     "system"
     "tan"
     "tanh"
     "tempnam"
     "time"
     "time_nanosleep"
     "time_sleep_until"
     "timezone_abbreviations_list"
     "timezone_identifiers_list"
     "timezone_location_get"
     "timezone_name_from_abbr"
     "timezone_name_get"
     "timezone_offset_get"
     "timezone_open"
     "timezone_transitions_get"
     "timezone_version_get"
     "tmpfile"
     "token_get_all"
     "token_name"
     "touch"
     "trait_exists"
     "trigger_error"
     "trim"
     "uasort"
     "ucfirst"
     "ucwords"
     "uksort"
     "umask"
     "uniqid"
     "unlink"
     "unpack"
     "unregister_tick_function"
     "unserialize"
     "unset"
     "urldecode"
     "urlencode"
     "user_error"
     "usleep"
     "usort"
     "var_dump"
     "var_export"
     "version_compare"
     "vfprintf"
     "vprintf"
     "vsprintf"
     "wordwrap"
     "zend_thread_id"
     "zend_version")
    (cubrid
     "cubrid_affected_rows"
     "cubrid_bind"
     "cubrid_client_encoding"
     "cubrid_close"
     "cubrid_close_prepare"
     "cubrid_close_request"
     "cubrid_col_get"
     "cubrid_col_size"
     "cubrid_column_names"
     "cubrid_column_types"
     "cubrid_commit"
     "cubrid_connect"
     "cubrid_connect_with_url"
     "cubrid_current_oid"
     "cubrid_data_seek"
     "cubrid_db_name"
     "cubrid_disconnect"
     "cubrid_drop"
     "cubrid_errno"
     "cubrid_error"
     "cubrid_error_code"
     "cubrid_error_code_facility"
     "cubrid_error_msg"
     "cubrid_execute"
     "cubrid_fetch"
     "cubrid_fetch_array"
     "cubrid_fetch_assoc"
     "cubrid_fetch_field"
     "cubrid_fetch_lengths"
     "cubrid_fetch_object"
     "cubrid_fetch_row"
     "cubrid_field_flags"
     "cubrid_field_len"
     "cubrid_field_name"
     "cubrid_field_seek"
     "cubrid_field_table"
     "cubrid_field_type"
     "cubrid_free_result"
     "cubrid_get"
     "cubrid_get_autocommit"
     "cubrid_get_charset"
     "cubrid_get_class_name"
     "cubrid_get_client_info"
     "cubrid_get_db_parameter"
     "cubrid_get_query_timeout"
     "cubrid_get_server_info"
     "cubrid_insert_id"
     "cubrid_is_instance"
     "cubrid_list_dbs"
     "cubrid_load_from_glo"
     "cubrid_lob2_bind"
     "cubrid_lob2_close"
     "cubrid_lob2_export"
     "cubrid_lob2_import"
     "cubrid_lob2_new"
     "cubrid_lob2_read"
     "cubrid_lob2_seek"
     "cubrid_lob2_seek64"
     "cubrid_lob2_size"
     "cubrid_lob2_size64"
     "cubrid_lob2_tell"
     "cubrid_lob2_tell64"
     "cubrid_lob2_write"
     "cubrid_lob_close"
     "cubrid_lob_export"
     "cubrid_lob_get"
     "cubrid_lob_send"
     "cubrid_lob_size"
     "cubrid_lock_read"
     "cubrid_lock_write"
     "cubrid_move_cursor"
     "cubrid_new_glo"
     "cubrid_next_result"
     "cubrid_num_cols"
     "cubrid_num_fields"
     "cubrid_num_rows"
     "cubrid_pconnect"
     "cubrid_pconnect_with_url"
     "cubrid_ping"
     "cubrid_prepare"
     "cubrid_put"
     "cubrid_query"
     "cubrid_real_escape_string"
     "cubrid_result"
     "cubrid_rollback"
     "cubrid_save_to_glo"
     "cubrid_schema"
     "cubrid_send_glo"
     "cubrid_seq_drop"
     "cubrid_seq_insert"
     "cubrid_seq_put"
     "cubrid_set_add"
     "cubrid_set_autocommit"
     "cubrid_set_db_parameter"
     "cubrid_set_drop"
     "cubrid_set_query_timeout"
     "cubrid_unbuffered_query"
     "cubrid_version")
    (curl
     "curl_close"
     "curl_copy_handle"
     "curl_errno"
     "curl_error"
     "curl_escape"
     "curl_exec"
     "curl_file_create"
     "curl_getinfo"
     "curl_init"
     "curl_multi_add_handle"
     "curl_multi_close"
     "curl_multi_errno"
     "curl_multi_exec"
     "curl_multi_getcontent"
     "curl_multi_info_read"
     "curl_multi_init"
     "curl_multi_remove_handle"
     "curl_multi_select"
     "curl_multi_setopt"
     "curl_multi_strerror"
     "curl_pause"
     "curl_reset"
     "curl_setopt"
     "curl_setopt_array"
     "curl_share_close"
     "curl_share_errno"
     "curl_share_init"
     "curl_share_setopt"
     "curl_share_strerror"
     "curl_strerror"
     "curl_unescape"
     "curl_version")
    (dba
     "dba_close"
     "dba_delete"
     "dba_exists"
     "dba_fetch"
     "dba_firstkey"
     "dba_handlers"
     "dba_insert"
     "dba_key_split"
     "dba_list"
     "dba_nextkey"
     "dba_open"
     "dba_optimize"
     "dba_popen"
     "dba_replace"
     "dba_sync")
    (dbase
     "dbase_add_record"
     "dbase_close"
     "dbase_create"
     "dbase_delete_record"
     "dbase_get_header_info"
     "dbase_get_record"
     "dbase_get_record_with_names"
     "dbase_numfields"
     "dbase_numrecords"
     "dbase_open"
     "dbase_pack"
     "dbase_replace_record")
    (dio
     "dio_close"
     "dio_fcntl"
     "dio_open"
     "dio_read"
     "dio_seek"
     "dio_stat"
     "dio_tcsetattr"
     "dio_truncate"
     "dio_write")
    (eio
     "eio_busy"
     "eio_cancel"
     "eio_chmod"
     "eio_chown"
     "eio_close"
     "eio_custom"
     "eio_dup2"
     "eio_event_loop"
     "eio_fallocate"
     "eio_fchmod"
     "eio_fchown"
     "eio_fdatasync"
     "eio_fstat"
     "eio_fstatvfs"
     "eio_fsync"
     "eio_ftruncate"
     "eio_futime"
     "eio_get_event_stream"
     "eio_get_last_error"
     "eio_grp"
     "eio_grp_add"
     "eio_grp_cancel"
     "eio_grp_limit"
     "eio_init"
     "eio_link"
     "eio_lstat"
     "eio_mkdir"
     "eio_mknod"
     "eio_nop"
     "eio_npending"
     "eio_nready"
     "eio_nreqs"
     "eio_nthreads"
     "eio_open"
     "eio_poll"
     "eio_read"
     "eio_readahead"
     "eio_readdir"
     "eio_readlink"
     "eio_realpath"
     "eio_rename"
     "eio_rmdir"
     "eio_seek"
     "eio_sendfile"
     "eio_set_max_idle"
     "eio_set_max_parallel"
     "eio_set_max_poll_reqs"
     "eio_set_max_poll_time"
     "eio_set_min_parallel"
     "eio_stat"
     "eio_statvfs"
     "eio_symlink"
     "eio_sync"
     "eio_sync_file_range"
     "eio_syncfs"
     "eio_truncate"
     "eio_unlink"
     "eio_utime"
     "eio_write")
    (enchant
     "enchant_broker_describe"
     "enchant_broker_dict_exists"
     "enchant_broker_free"
     "enchant_broker_free_dict"
     "enchant_broker_get_dict_path"
     "enchant_broker_get_error"
     "enchant_broker_init"
     "enchant_broker_list_dicts"
     "enchant_broker_request_dict"
     "enchant_broker_request_pwl_dict"
     "enchant_broker_set_dict_path"
     "enchant_broker_set_ordering"
     "enchant_dict_add"
     "enchant_dict_add_to_personal"
     "enchant_dict_add_to_session"
     "enchant_dict_check"
     "enchant_dict_describe"
     "enchant_dict_get_error"
     "enchant_dict_is_added"
     "enchant_dict_is_in_session"
     "enchant_dict_quick_check"
     "enchant_dict_store_replacement"
     "enchant_dict_suggest")
    (exif
     "exif_imagetype"
     "exif_read_data"
     "exif_tagname"
     "exif_thumbnail"
     "read_exif_data")
    (expect
     "expect_expectl"
     "expect_popen")
    (fann
     "fann_cascadetrain_on_data"
     "fann_cascadetrain_on_file"
     "fann_clear_scaling_params"
     "fann_copy"
     "fann_create_from_file"
     "fann_create_shortcut"
     "fann_create_shortcut_array"
     "fann_create_sparse"
     "fann_create_sparse_array"
     "fann_create_standard"
     "fann_create_standard_array"
     "fann_create_train"
     "fann_create_train_from_callback"
     "fann_descale_input"
     "fann_descale_output"
     "fann_descale_train"
     "fann_destroy"
     "fann_destroy_train"
     "fann_duplicate_train_data"
     "fann_get_MSE"
     "fann_get_activation_function"
     "fann_get_activation_steepness"
     "fann_get_bias_array"
     "fann_get_bit_fail"
     "fann_get_bit_fail_limit"
     "fann_get_cascade_activation_functions"
     "fann_get_cascade_activation_functions_count"
     "fann_get_cascade_activation_steepnesses"
     "fann_get_cascade_activation_steepnesses_count"
     "fann_get_cascade_candidate_change_fraction"
     "fann_get_cascade_candidate_limit"
     "fann_get_cascade_candidate_stagnation_epochs"
     "fann_get_cascade_max_cand_epochs"
     "fann_get_cascade_max_out_epochs"
     "fann_get_cascade_min_cand_epochs"
     "fann_get_cascade_min_out_epochs"
     "fann_get_cascade_num_candidate_groups"
     "fann_get_cascade_num_candidates"
     "fann_get_cascade_output_change_fraction"
     "fann_get_cascade_output_stagnation_epochs"
     "fann_get_cascade_weight_multiplier"
     "fann_get_connection_array"
     "fann_get_connection_rate"
     "fann_get_errno"
     "fann_get_errstr"
     "fann_get_layer_array"
     "fann_get_learning_momentum"
     "fann_get_learning_rate"
     "fann_get_network_type"
     "fann_get_num_input"
     "fann_get_num_layers"
     "fann_get_num_output"
     "fann_get_quickprop_decay"
     "fann_get_quickprop_mu"
     "fann_get_rprop_decrease_factor"
     "fann_get_rprop_delta_max"
     "fann_get_rprop_delta_min"
     "fann_get_rprop_delta_zero"
     "fann_get_rprop_increase_factor"
     "fann_get_sarprop_step_error_shift"
     "fann_get_sarprop_step_error_threshold_factor"
     "fann_get_sarprop_temperature"
     "fann_get_sarprop_weight_decay_shift"
     "fann_get_total_connections"
     "fann_get_total_neurons"
     "fann_get_train_error_function"
     "fann_get_train_stop_function"
     "fann_get_training_algorithm"
     "fann_init_weights"
     "fann_length_train_data"
     "fann_merge_train_data"
     "fann_num_input_train_data"
     "fann_num_output_train_data"
     "fann_print_error"
     "fann_randomize_weights"
     "fann_read_train_from_file"
     "fann_reset_MSE"
     "fann_reset_errno"
     "fann_reset_errstr"
     "fann_run"
     "fann_save"
     "fann_save_train"
     "fann_scale_input"
     "fann_scale_input_train_data"
     "fann_scale_output"
     "fann_scale_output_train_data"
     "fann_scale_train"
     "fann_scale_train_data"
     "fann_set_activation_function"
     "fann_set_activation_function_hidden"
     "fann_set_activation_function_layer"
     "fann_set_activation_function_output"
     "fann_set_activation_steepness"
     "fann_set_activation_steepness_hidden"
     "fann_set_activation_steepness_layer"
     "fann_set_activation_steepness_output"
     "fann_set_bit_fail_limit"
     "fann_set_callback"
     "fann_set_cascade_activation_functions"
     "fann_set_cascade_activation_steepnesses"
     "fann_set_cascade_candidate_change_fraction"
     "fann_set_cascade_candidate_limit"
     "fann_set_cascade_candidate_stagnation_epochs"
     "fann_set_cascade_max_cand_epochs"
     "fann_set_cascade_max_out_epochs"
     "fann_set_cascade_min_cand_epochs"
     "fann_set_cascade_min_out_epochs"
     "fann_set_cascade_num_candidate_groups"
     "fann_set_cascade_output_change_fraction"
     "fann_set_cascade_output_stagnation_epochs"
     "fann_set_cascade_weight_multiplier"
     "fann_set_error_log"
     "fann_set_input_scaling_params"
     "fann_set_learning_momentum"
     "fann_set_learning_rate"
     "fann_set_output_scaling_params"
     "fann_set_quickprop_decay"
     "fann_set_quickprop_mu"
     "fann_set_rprop_decrease_factor"
     "fann_set_rprop_delta_max"
     "fann_set_rprop_delta_min"
     "fann_set_rprop_delta_zero"
     "fann_set_rprop_increase_factor"
     "fann_set_sarprop_step_error_shift"
     "fann_set_sarprop_step_error_threshold_factor"
     "fann_set_sarprop_temperature"
     "fann_set_sarprop_weight_decay_shift"
     "fann_set_scaling_params"
     "fann_set_train_error_function"
     "fann_set_train_stop_function"
     "fann_set_training_algorithm"
     "fann_set_weight"
     "fann_set_weight_array"
     "fann_shuffle_train_data"
     "fann_subset_train_data"
     "fann_test"
     "fann_test_data"
     "fann_train"
     "fann_train_epoch"
     "fann_train_on_data"
     "fann_train_on_file")
    (fdf
     "fdf_add_doc_javascript"
     "fdf_add_template"
     "fdf_close"
     "fdf_create"
     "fdf_enum_values"
     "fdf_errno"
     "fdf_error"
     "fdf_get_ap"
     "fdf_get_attachment"
     "fdf_get_encoding"
     "fdf_get_file"
     "fdf_get_flags"
     "fdf_get_opt"
     "fdf_get_status"
     "fdf_get_value"
     "fdf_get_version"
     "fdf_header"
     "fdf_next_field_name"
     "fdf_open"
     "fdf_open_string"
     "fdf_remove_item"
     "fdf_save"
     "fdf_save_string"
     "fdf_set_ap"
     "fdf_set_encoding"
     "fdf_set_file"
     "fdf_set_flags"
     "fdf_set_javascript_action"
     "fdf_set_on_import_javascript"
     "fdf_set_opt"
     "fdf_set_status"
     "fdf_set_submit_form_action"
     "fdf_set_target_frame"
     "fdf_set_value"
     "fdf_set_version")
    (fpm
     "fpm_get_status")
    (ftp
     "ftp_alloc"
     "ftp_append"
     "ftp_cdup"
     "ftp_chdir"
     "ftp_chmod"
     "ftp_close"
     "ftp_connect"
     "ftp_delete"
     "ftp_exec"
     "ftp_fget"
     "ftp_fput"
     "ftp_get"
     "ftp_get_option"
     "ftp_login"
     "ftp_mdtm"
     "ftp_mkdir"
     "ftp_mlsd"
     "ftp_nb_continue"
     "ftp_nb_fget"
     "ftp_nb_fput"
     "ftp_nb_get"
     "ftp_nb_put"
     "ftp_nlist"
     "ftp_pasv"
     "ftp_put"
     "ftp_pwd"
     "ftp_quit"
     "ftp_raw"
     "ftp_rawlist"
     "ftp_rename"
     "ftp_rmdir"
     "ftp_set_option"
     "ftp_site"
     "ftp_size"
     "ftp_ssl_connect"
     "ftp_systype")
    (gd
     "gd_info"
     "getimagesize"
     "getimagesizefromstring"
     "image2wbmp"
     "image_type_to_extension"
     "image_type_to_mime_type"
     "imageaffine"
     "imageaffinematrixconcat"
     "imageaffinematrixget"
     "imagealphablending"
     "imageantialias"
     "imagearc"
     "imageavif"
     "imagebmp"
     "imagechar"
     "imagecharup"
     "imagecolorallocate"
     "imagecolorallocatealpha"
     "imagecolorat"
     "imagecolorclosest"
     "imagecolorclosestalpha"
     "imagecolorclosesthwb"
     "imagecolordeallocate"
     "imagecolorexact"
     "imagecolorexactalpha"
     "imagecolormatch"
     "imagecolorresolve"
     "imagecolorresolvealpha"
     "imagecolorset"
     "imagecolorsforindex"
     "imagecolorstotal"
     "imagecolortransparent"
     "imageconvolution"
     "imagecopy"
     "imagecopymerge"
     "imagecopymergegray"
     "imagecopyresampled"
     "imagecopyresized"
     "imagecreate"
     "imagecreatefromavif"
     "imagecreatefrombmp"
     "imagecreatefromgd"
     "imagecreatefromgd2"
     "imagecreatefromgd2part"
     "imagecreatefromgif"
     "imagecreatefromjpeg"
     "imagecreatefrompng"
     "imagecreatefromstring"
     "imagecreatefromtga"
     "imagecreatefromwbmp"
     "imagecreatefromwebp"
     "imagecreatefromxbm"
     "imagecreatefromxpm"
     "imagecreatetruecolor"
     "imagecrop"
     "imagecropauto"
     "imagedashedline"
     "imagedestroy"
     "imageellipse"
     "imagefill"
     "imagefilledarc"
     "imagefilledellipse"
     "imagefilledpolygon"
     "imagefilledrectangle"
     "imagefilltoborder"
     "imagefilter"
     "imageflip"
     "imagefontheight"
     "imagefontwidth"
     "imageftbbox"
     "imagefttext"
     "imagegammacorrect"
     "imagegd"
     "imagegd2"
     "imagegetclip"
     "imagegetinterpolation"
     "imagegif"
     "imagegrabscreen"
     "imagegrabwindow"
     "imageinterlace"
     "imageistruecolor"
     "imagejpeg"
     "imagelayereffect"
     "imageline"
     "imageloadfont"
     "imageopenpolygon"
     "imagepalettecopy"
     "imagepalettetotruecolor"
     "imagepng"
     "imagepolygon"
     "imagerectangle"
     "imageresolution"
     "imagerotate"
     "imagesavealpha"
     "imagescale"
     "imagesetbrush"
     "imagesetclip"
     "imagesetinterpolation"
     "imagesetpixel"
     "imagesetstyle"
     "imagesetthickness"
     "imagesettile"
     "imagestring"
     "imagestringup"
     "imagesx"
     "imagesy"
     "imagetruecolortopalette"
     "imagettfbbox"
     "imagettftext"
     "imagetypes"
     "imagewbmp"
     "imagewebp"
     "imagexbm"
     "iptcembed"
     "iptcparse")
    (gearman
     "gearman_job_handle"
     "gearman_job_status")
    (geoip
     "geoip_asnum_by_name"
     "geoip_continent_code_by_name"
     "geoip_country_code3_by_name"
     "geoip_country_code_by_name"
     "geoip_country_name_by_name"
     "geoip_database_info"
     "geoip_db_avail"
     "geoip_db_filename"
     "geoip_db_get_all_info"
     "geoip_domain_by_name"
     "geoip_id_by_name"
     "geoip_isp_by_name"
     "geoip_netspeedcell_by_name"
     "geoip_org_by_name"
     "geoip_record_by_name"
     "geoip_region_by_name"
     "geoip_region_name_by_code"
     "geoip_setup_custom_directory"
     "geoip_time_zone_by_country_and_region")
    (gettext
     "bind_textdomain_codeset"
     "bindtextdomain"
     "dcgettext"
     "dcngettext"
     "dgettext"
     "dngettext"
     "gettext"
     "ngettext"
     "textdomain")
    (gmp
     "gmp_abs"
     "gmp_add"
     "gmp_and"
     "gmp_binomial"
     "gmp_clrbit"
     "gmp_cmp"
     "gmp_com"
     "gmp_div"
     "gmp_div_q"
     "gmp_div_qr"
     "gmp_div_r"
     "gmp_divexact"
     "gmp_export"
     "gmp_fact"
     "gmp_gcd"
     "gmp_gcdext"
     "gmp_hamdist"
     "gmp_import"
     "gmp_init"
     "gmp_intval"
     "gmp_invert"
     "gmp_jacobi"
     "gmp_kronecker"
     "gmp_lcm"
     "gmp_legendre"
     "gmp_mod"
     "gmp_mul"
     "gmp_neg"
     "gmp_nextprime"
     "gmp_or"
     "gmp_perfect_power"
     "gmp_perfect_square"
     "gmp_popcount"
     "gmp_pow"
     "gmp_powm"
     "gmp_prob_prime"
     "gmp_random"
     "gmp_random_bits"
     "gmp_random_range"
     "gmp_random_seed"
     "gmp_root"
     "gmp_rootrem"
     "gmp_scan0"
     "gmp_scan1"
     "gmp_setbit"
     "gmp_sign"
     "gmp_sqrt"
     "gmp_sqrtrem"
     "gmp_strval"
     "gmp_sub"
     "gmp_testbit"
     "gmp_xor")
    (gnupg
     "gnupg_adddecryptkey"
     "gnupg_addencryptkey"
     "gnupg_addsignkey"
     "gnupg_cleardecryptkeys"
     "gnupg_clearencryptkeys"
     "gnupg_clearsignkeys"
     "gnupg_decrypt"
     "gnupg_decryptverify"
     "gnupg_deletekey"
     "gnupg_encrypt"
     "gnupg_encryptsign"
     "gnupg_export"
     "gnupg_getengineinfo"
     "gnupg_geterror"
     "gnupg_geterrorinfo"
     "gnupg_getprotocol"
     "gnupg_gettrustlist"
     "gnupg_import"
     "gnupg_init"
     "gnupg_keyinfo"
     "gnupg_listsignatures"
     "gnupg_setarmor"
     "gnupg_seterrormode"
     "gnupg_setsignmode"
     "gnupg_sign"
     "gnupg_verify")
    (ibase
     "fbird_add_user"
     "fbird_affected_rows"
     "fbird_backup"
     "fbird_blob_add"
     "fbird_blob_cancel"
     "fbird_blob_close"
     "fbird_blob_create"
     "fbird_blob_echo"
     "fbird_blob_get"
     "fbird_blob_import"
     "fbird_blob_info"
     "fbird_blob_open"
     "fbird_close"
     "fbird_commit"
     "fbird_commit_ret"
     "fbird_connect"
     "fbird_db_info"
     "fbird_delete_user"
     "fbird_drop_db"
     "fbird_errcode"
     "fbird_errmsg"
     "fbird_execute"
     "fbird_fetch_assoc"
     "fbird_fetch_object"
     "fbird_fetch_row"
     "fbird_field_info"
     "fbird_free_event_handler"
     "fbird_free_query"
     "fbird_free_result"
     "fbird_gen_id"
     "fbird_maintain_db"
     "fbird_modify_user"
     "fbird_name_result"
     "fbird_num_fields"
     "fbird_num_params"
     "fbird_param_info"
     "fbird_pconnect"
     "fbird_prepare"
     "fbird_query"
     "fbird_restore"
     "fbird_rollback"
     "fbird_rollback_ret"
     "fbird_server_info"
     "fbird_service_attach"
     "fbird_service_detach"
     "fbird_set_event_handler"
     "fbird_trans"
     "fbird_wait_event"
     "ibase_add_user"
     "ibase_affected_rows"
     "ibase_backup"
     "ibase_blob_add"
     "ibase_blob_cancel"
     "ibase_blob_close"
     "ibase_blob_create"
     "ibase_blob_echo"
     "ibase_blob_get"
     "ibase_blob_import"
     "ibase_blob_info"
     "ibase_blob_open"
     "ibase_close"
     "ibase_commit"
     "ibase_commit_ret"
     "ibase_connect"
     "ibase_db_info"
     "ibase_delete_user"
     "ibase_drop_db"
     "ibase_errcode"
     "ibase_errmsg"
     "ibase_execute"
     "ibase_fetch_assoc"
     "ibase_fetch_object"
     "ibase_fetch_row"
     "ibase_field_info"
     "ibase_free_event_handler"
     "ibase_free_query"
     "ibase_free_result"
     "ibase_gen_id"
     "ibase_maintain_db"
     "ibase_modify_user"
     "ibase_name_result"
     "ibase_num_fields"
     "ibase_num_params"
     "ibase_param_info"
     "ibase_pconnect"
     "ibase_prepare"
     "ibase_query"
     "ibase_restore"
     "ibase_rollback"
     "ibase_rollback_ret"
     "ibase_server_info"
     "ibase_service_attach"
     "ibase_service_detach"
     "ibase_set_event_handler"
     "ibase_trans"
     "ibase_wait_event")
    (ibm_db2
     "db2_autocommit"
     "db2_bind_param"
     "db2_client_info"
     "db2_close"
     "db2_column_privileges"
     "db2_columns"
     "db2_commit"
     "db2_conn_error"
     "db2_conn_errormsg"
     "db2_connect"
     "db2_cursor_type"
     "db2_escape_string"
     "db2_exec"
     "db2_execute"
     "db2_fetch_array"
     "db2_fetch_assoc"
     "db2_fetch_both"
     "db2_fetch_object"
     "db2_fetch_row"
     "db2_field_display_size"
     "db2_field_name"
     "db2_field_num"
     "db2_field_precision"
     "db2_field_scale"
     "db2_field_type"
     "db2_field_width"
     "db2_foreign_keys"
     "db2_free_result"
     "db2_free_stmt"
     "db2_get_option"
     "db2_last_insert_id"
     "db2_lob_read"
     "db2_next_result"
     "db2_num_fields"
     "db2_num_rows"
     "db2_pclose"
     "db2_pconnect"
     "db2_prepare"
     "db2_primary_keys"
     "db2_procedure_columns"
     "db2_procedures"
     "db2_result"
     "db2_rollback"
     "db2_server_info"
     "db2_set_option"
     "db2_special_columns"
     "db2_statistics"
     "db2_stmt_error"
     "db2_stmt_errormsg"
     "db2_table_privileges"
     "db2_tables")
    (iconv
     "iconv"
     "iconv_get_encoding"
     "iconv_mime_decode"
     "iconv_mime_decode_headers"
     "iconv_mime_encode"
     "iconv_set_encoding"
     "iconv_strlen"
     "iconv_strpos"
     "iconv_strrpos"
     "iconv_substr")
    (igbinary
     "igbinary_serialize"
     "igbinary_unserialize")
    (imap
     "imap_8bit"
     "imap_alerts"
     "imap_append"
     "imap_base64"
     "imap_binary"
     "imap_body"
     "imap_bodystruct"
     "imap_check"
     "imap_clearflag_full"
     "imap_close"
     "imap_create"
     "imap_createmailbox"
     "imap_delete"
     "imap_deletemailbox"
     "imap_errors"
     "imap_expunge"
     "imap_fetch_overview"
     "imap_fetchbody"
     "imap_fetchheader"
     "imap_fetchmime"
     "imap_fetchstructure"
     "imap_fetchtext"
     "imap_gc"
     "imap_get_quota"
     "imap_get_quotaroot"
     "imap_getacl"
     "imap_getmailboxes"
     "imap_getsubscribed"
     "imap_header"
     "imap_headerinfo"
     "imap_headers"
     "imap_last_error"
     "imap_list"
     "imap_listmailbox"
     "imap_listscan"
     "imap_listsubscribed"
     "imap_lsub"
     "imap_mail"
     "imap_mail_compose"
     "imap_mail_copy"
     "imap_mail_move"
     "imap_mailboxmsginfo"
     "imap_mime_header_decode"
     "imap_msgno"
     "imap_mutf7_to_utf8"
     "imap_num_msg"
     "imap_num_recent"
     "imap_open"
     "imap_ping"
     "imap_qprint"
     "imap_rename"
     "imap_renamemailbox"
     "imap_reopen"
     "imap_rfc822_parse_adrlist"
     "imap_rfc822_parse_headers"
     "imap_rfc822_write_address"
     "imap_savebody"
     "imap_scan"
     "imap_scanmailbox"
     "imap_search"
     "imap_set_quota"
     "imap_setacl"
     "imap_setflag_full"
     "imap_sort"
     "imap_status"
     "imap_subscribe"
     "imap_thread"
     "imap_timeout"
     "imap_uid"
     "imap_undelete"
     "imap_unsubscribe"
     "imap_utf7_decode"
     "imap_utf7_encode"
     "imap_utf8"
     "imap_utf8_to_mutf7")
    (inotify
     "inotify_add_watch"
     "inotify_init"
     "inotify_queue_len"
     "inotify_read"
     "inotify_rm_watch")
    (intl
     "collator_asort"
     "collator_compare"
     "collator_create"
     "collator_get_attribute"
     "collator_get_error_code"
     "collator_get_error_message"
     "collator_get_locale"
     "collator_get_sort_key"
     "collator_get_strength"
     "collator_set_attribute"
     "collator_set_strength"
     "collator_sort"
     "collator_sort_with_sort_keys"
     "datefmt_create"
     "datefmt_format"
     "datefmt_format_object"
     "datefmt_get_calendar"
     "datefmt_get_calendar_object"
     "datefmt_get_datetype"
     "datefmt_get_error_code"
     "datefmt_get_error_message"
     "datefmt_get_locale"
     "datefmt_get_pattern"
     "datefmt_get_timetype"
     "datefmt_get_timezone"
     "datefmt_get_timezone_id"
     "datefmt_is_lenient"
     "datefmt_localtime"
     "datefmt_parse"
     "datefmt_set_calendar"
     "datefmt_set_lenient"
     "datefmt_set_pattern"
     "datefmt_set_timezone"
     "grapheme_extract"
     "grapheme_stripos"
     "grapheme_stristr"
     "grapheme_strlen"
     "grapheme_strpos"
     "grapheme_strripos"
     "grapheme_strrpos"
     "grapheme_strstr"
     "grapheme_substr"
     "idn_to_ascii"
     "idn_to_utf8"
     "intl_error_name"
     "intl_get_error_code"
     "intl_get_error_message"
     "intl_is_failure"
     "intlcal_get_error_code"
     "intlcal_get_error_message"
     "intltz_count_equivalent_ids"
     "intltz_create_default"
     "intltz_create_enumeration"
     "intltz_create_time_zone"
     "intltz_create_time_zone_id_enumeration"
     "intltz_from_date_time_zone"
     "intltz_get_canonical_id"
     "intltz_get_display_name"
     "intltz_get_dst_savings"
     "intltz_get_equivalent_id"
     "intltz_get_error_code"
     "intltz_get_error_message"
     "intltz_get_gmt"
     "intltz_get_id"
     "intltz_get_id_for_windows_id"
     "intltz_get_offset"
     "intltz_get_raw_offset"
     "intltz_get_region"
     "intltz_get_tz_data_version"
     "intltz_get_unknown"
     "intltz_get_windows_id"
     "intltz_has_same_rules"
     "intltz_to_date_time_zone"
     "intltz_use_daylight_time"
     "locale_accept_from_http"
     "locale_canonicalize"
     "locale_compose"
     "locale_filter_matches"
     "locale_get_all_variants"
     "locale_get_default"
     "locale_get_display_language"
     "locale_get_display_name"
     "locale_get_display_region"
     "locale_get_display_script"
     "locale_get_display_variant"
     "locale_get_keywords"
     "locale_get_primary_language"
     "locale_get_region"
     "locale_get_script"
     "locale_lookup"
     "locale_parse"
     "locale_set_default"
     "msgfmt_create"
     "msgfmt_format"
     "msgfmt_format_message"
     "msgfmt_get_error_code"
     "msgfmt_get_error_message"
     "msgfmt_get_locale"
     "msgfmt_get_pattern"
     "msgfmt_parse"
     "msgfmt_parse_message"
     "msgfmt_set_pattern"
     "normalizer_get_raw_decomposition"
     "normalizer_is_normalized"
     "normalizer_normalize"
     "numfmt_create"
     "numfmt_format"
     "numfmt_format_currency"
     "numfmt_get_attribute"
     "numfmt_get_error_code"
     "numfmt_get_error_message"
     "numfmt_get_locale"
     "numfmt_get_pattern"
     "numfmt_get_symbol"
     "numfmt_get_text_attribute"
     "numfmt_parse"
     "numfmt_parse_currency"
     "numfmt_set_attribute"
     "numfmt_set_pattern"
     "numfmt_set_symbol"
     "numfmt_set_text_attribute"
     "resourcebundle_count"
     "resourcebundle_create"
     "resourcebundle_get"
     "resourcebundle_get_error_code"
     "resourcebundle_get_error_message"
     "resourcebundle_locales"
     "transliterator_create"
     "transliterator_create_from_rules"
     "transliterator_create_inverse"
     "transliterator_get_error_code"
     "transliterator_get_error_message"
     "transliterator_list_ids"
     "transliterator_transliterate")
    (language
     "__halt_compiler"
     "array"
     "assert"
     "echo"
     "empty"
     "isset"
     "print")
    (ldap
     "ldap_8859_to_t61"
     "ldap_add"
     "ldap_add_ext"
     "ldap_bind"
     "ldap_bind_ext"
     "ldap_close"
     "ldap_compare"
     "ldap_connect"
     "ldap_control_paged_result"
     "ldap_control_paged_result_response"
     "ldap_count_entries"
     "ldap_count_references"
     "ldap_delete"
     "ldap_delete_ext"
     "ldap_dn2ufn"
     "ldap_err2str"
     "ldap_errno"
     "ldap_error"
     "ldap_escape"
     "ldap_exop"
     "ldap_exop_passwd"
     "ldap_exop_refresh"
     "ldap_exop_whoami"
     "ldap_explode_dn"
     "ldap_first_attribute"
     "ldap_first_entry"
     "ldap_first_reference"
     "ldap_free_result"
     "ldap_get_attributes"
     "ldap_get_dn"
     "ldap_get_entries"
     "ldap_get_option"
     "ldap_get_values"
     "ldap_get_values_len"
     "ldap_list"
     "ldap_mod_add"
     "ldap_mod_add_ext"
     "ldap_mod_del"
     "ldap_mod_del_ext"
     "ldap_mod_replace"
     "ldap_mod_replace_ext"
     "ldap_modify"
     "ldap_modify_batch"
     "ldap_next_attribute"
     "ldap_next_entry"
     "ldap_next_reference"
     "ldap_parse_exop"
     "ldap_parse_reference"
     "ldap_parse_result"
     "ldap_read"
     "ldap_rename"
     "ldap_rename_ext"
     "ldap_sasl_bind"
     "ldap_search"
     "ldap_set_option"
     "ldap_set_rebind_proc"
     "ldap_sort"
     "ldap_start_tls"
     "ldap_t61_to_8859"
     "ldap_unbind")
    (libxml
     "libxml_clear_errors"
     "libxml_disable_entity_loader"
     "libxml_get_errors"
     "libxml_get_last_error"
     "libxml_set_external_entity_loader"
     "libxml_set_streams_context"
     "libxml_use_internal_errors")
    (lzf
     "lzf_compress"
     "lzf_decompress"
     "lzf_optimized_for")
    (mailparse
     "mailparse_determine_best_xfer_encoding"
     "mailparse_msg_create"
     "mailparse_msg_extract_part"
     "mailparse_msg_extract_part_file"
     "mailparse_msg_extract_whole_part_file"
     "mailparse_msg_free"
     "mailparse_msg_get_part"
     "mailparse_msg_get_part_data"
     "mailparse_msg_get_structure"
     "mailparse_msg_parse"
     "mailparse_msg_parse_file"
     "mailparse_rfc822_parse_addresses"
     "mailparse_stream_encode"
     "mailparse_uudecode_all")
    (mbstring
     "mb_check_encoding"
     "mb_chr"
     "mb_convert_case"
     "mb_convert_encoding"
     "mb_convert_kana"
     "mb_convert_variables"
     "mb_decode_mimeheader"
     "mb_decode_numericentity"
     "mb_detect_encoding"
     "mb_detect_order"
     "mb_encode_mimeheader"
     "mb_encode_numericentity"
     "mb_encoding_aliases"
     "mb_ereg"
     "mb_ereg_match"
     "mb_ereg_replace"
     "mb_ereg_replace_callback"
     "mb_ereg_search"
     "mb_ereg_search_getpos"
     "mb_ereg_search_getregs"
     "mb_ereg_search_init"
     "mb_ereg_search_pos"
     "mb_ereg_search_regs"
     "mb_ereg_search_setpos"
     "mb_eregi"
     "mb_eregi_replace"
     "mb_get_info"
     "mb_http_input"
     "mb_http_output"
     "mb_internal_encoding"
     "mb_language"
     "mb_list_encodings"
     "mb_ord"
     "mb_output_handler"
     "mb_parse_str"
     "mb_preferred_mime_name"
     "mb_regex_encoding"
     "mb_regex_set_options"
     "mb_scrub"
     "mb_send_mail"
     "mb_split"
     "mb_str_split"
     "mb_strcut"
     "mb_strimwidth"
     "mb_stripos"
     "mb_stristr"
     "mb_strlen"
     "mb_strpos"
     "mb_strrchr"
     "mb_strrichr"
     "mb_strripos"
     "mb_strrpos"
     "mb_strstr"
     "mb_strtolower"
     "mb_strtoupper"
     "mb_strwidth"
     "mb_substitute_character"
     "mb_substr"
     "mb_substr_count")
    (memcache
     "memcache_debug")
    (mongodb
     "MongoDB\\BSON\\fromJSON"
     "MongoDB\\BSON\\fromPHP"
     "MongoDB\\BSON\\toCanonicalExtendedJSON"
     "MongoDB\\BSON\\toJSON"
     "MongoDB\\BSON\\toPHP"
     "MongoDB\\BSON\\toRelaxedExtendedJSON"
     "MongoDB\\Driver\\Monitoring\\addSubscriber"
     "MongoDB\\Driver\\Monitoring\\removeSubscriber")
    (mqseries
     "mqseries_back"
     "mqseries_begin"
     "mqseries_close"
     "mqseries_cmit"
     "mqseries_conn"
     "mqseries_connx"
     "mqseries_disc"
     "mqseries_get"
     "mqseries_inq"
     "mqseries_open"
     "mqseries_put"
     "mqseries_put1"
     "mqseries_set"
     "mqseries_strerror")
    (mysql-obsolete
     "expression"
     "getSession"
     "mysql_affected_rows"
     "mysql_client_encoding"
     "mysql_close"
     "mysql_connect"
     "mysql_create_db"
     "mysql_data_seek"
     "mysql_db_name"
     "mysql_db_query"
     "mysql_drop_db"
     "mysql_errno"
     "mysql_error"
     "mysql_escape_string"
     "mysql_fetch_array"
     "mysql_fetch_assoc"
     "mysql_fetch_field"
     "mysql_fetch_lengths"
     "mysql_fetch_object"
     "mysql_fetch_row"
     "mysql_field_flags"
     "mysql_field_len"
     "mysql_field_name"
     "mysql_field_seek"
     "mysql_field_table"
     "mysql_field_type"
     "mysql_free_result"
     "mysql_get_client_info"
     "mysql_get_host_info"
     "mysql_get_proto_info"
     "mysql_get_server_info"
     "mysql_info"
     "mysql_insert_id"
     "mysql_list_dbs"
     "mysql_list_fields"
     "mysql_list_processes"
     "mysql_list_tables"
     "mysql_num_fields"
     "mysql_num_rows"
     "mysql_pconnect"
     "mysql_ping"
     "mysql_query"
     "mysql_real_escape_string"
     "mysql_result"
     "mysql_select_db"
     "mysql_set_charset"
     "mysql_stat"
     "mysql_tablename"
     "mysql_thread_id"
     "mysql_unbuffered_query")
    (mysqli
     "mysqli_affected_rows"
     "mysqli_autocommit"
     "mysqli_begin_transaction"
     "mysqli_change_user"
     "mysqli_character_set_name"
     "mysqli_close"
     "mysqli_commit"
     "mysqli_connect"
     "mysqli_connect_errno"
     "mysqli_connect_error"
     "mysqli_data_seek"
     "mysqli_debug"
     "mysqli_dump_debug_info"
     "mysqli_embedded_server_end"
     "mysqli_embedded_server_start"
     "mysqli_errno"
     "mysqli_error"
     "mysqli_error_list"
     "mysqli_escape_string"
     "mysqli_execute"
     "mysqli_fetch_all"
     "mysqli_fetch_array"
     "mysqli_fetch_assoc"
     "mysqli_fetch_column"
     "mysqli_fetch_field"
     "mysqli_fetch_field_direct"
     "mysqli_fetch_fields"
     "mysqli_fetch_lengths"
     "mysqli_fetch_object"
     "mysqli_fetch_row"
     "mysqli_field_count"
     "mysqli_field_seek"
     "mysqli_field_tell"
     "mysqli_free_result"
     "mysqli_get_charset"
     "mysqli_get_client_info"
     "mysqli_get_client_stats"
     "mysqli_get_client_version"
     "mysqli_get_connection_stats"
     "mysqli_get_host_info"
     "mysqli_get_links_stats"
     "mysqli_get_proto_info"
     "mysqli_get_server_info"
     "mysqli_get_server_version"
     "mysqli_get_warnings"
     "mysqli_info"
     "mysqli_init"
     "mysqli_insert_id"
     "mysqli_kill"
     "mysqli_more_results"
     "mysqli_multi_query"
     "mysqli_next_result"
     "mysqli_num_fields"
     "mysqli_num_rows"
     "mysqli_options"
     "mysqli_ping"
     "mysqli_poll"
     "mysqli_prepare"
     "mysqli_query"
     "mysqli_real_connect"
     "mysqli_real_escape_string"
     "mysqli_real_query"
     "mysqli_reap_async_query"
     "mysqli_refresh"
     "mysqli_release_savepoint"
     "mysqli_report"
     "mysqli_rollback"
     "mysqli_savepoint"
     "mysqli_select_db"
     "mysqli_set_charset"
     "mysqli_set_opt"
     "mysqli_sqlstate"
     "mysqli_ssl_set"
     "mysqli_stat"
     "mysqli_stmt_affected_rows"
     "mysqli_stmt_attr_get"
     "mysqli_stmt_attr_set"
     "mysqli_stmt_bind_param"
     "mysqli_stmt_bind_result"
     "mysqli_stmt_close"
     "mysqli_stmt_data_seek"
     "mysqli_stmt_errno"
     "mysqli_stmt_error"
     "mysqli_stmt_error_list"
     "mysqli_stmt_execute"
     "mysqli_stmt_fetch"
     "mysqli_stmt_field_count"
     "mysqli_stmt_free_result"
     "mysqli_stmt_get_result"
     "mysqli_stmt_get_warnings"
     "mysqli_stmt_init"
     "mysqli_stmt_insert_id"
     "mysqli_stmt_more_results"
     "mysqli_stmt_next_result"
     "mysqli_stmt_num_rows"
     "mysqli_stmt_param_count"
     "mysqli_stmt_prepare"
     "mysqli_stmt_reset"
     "mysqli_stmt_result_metadata"
     "mysqli_stmt_send_long_data"
     "mysqli_stmt_sqlstate"
     "mysqli_stmt_store_result"
     "mysqli_store_result"
     "mysqli_thread_id"
     "mysqli_thread_safe"
     "mysqli_use_result"
     "mysqli_warning_count")
    (oauth
     "oauth_get_sbs"
     "oauth_urlencode")
    (obsolete_7
     "__autoload"
     "end"
     "ezmlm_hash"
     "is_real"
     "jpeg2wbmp"
     "mcrypt_create_iv"
     "mcrypt_decrypt"
     "mcrypt_enc_get_algorithms_name"
     "mcrypt_enc_get_block_size"
     "mcrypt_enc_get_iv_size"
     "mcrypt_enc_get_key_size"
     "mcrypt_enc_get_modes_name"
     "mcrypt_enc_get_supported_key_sizes"
     "mcrypt_enc_is_block_algorithm"
     "mcrypt_enc_is_block_algorithm_mode"
     "mcrypt_enc_is_block_mode"
     "mcrypt_enc_self_test"
     "mcrypt_encrypt"
     "mcrypt_generic"
     "mcrypt_generic_deinit"
     "mcrypt_generic_init"
     "mcrypt_get_block_size"
     "mcrypt_get_cipher_name"
     "mcrypt_get_iv_size"
     "mcrypt_get_key_size"
     "mcrypt_list_algorithms"
     "mcrypt_list_modes"
     "mcrypt_module_close"
     "mcrypt_module_get_algo_block_size"
     "mcrypt_module_get_algo_key_size"
     "mcrypt_module_get_supported_key_sizes"
     "mcrypt_module_is_block_algorithm"
     "mcrypt_module_is_block_algorithm_mode"
     "mcrypt_module_is_block_mode"
     "mcrypt_module_open"
     "mcrypt_module_self_test"
     "mdecrypt_generic"
     "png2wbmp"
     "wddx_add_vars"
     "wddx_deserialize"
     "wddx_packet_end"
     "wddx_packet_start"
     "wddx_serialize_value"
     "wddx_serialize_vars")
    (obsolete_8
     "mhash"
     "mhash_count"
     "mhash_get_block_size"
     "mhash_get_hash_name"
     "mhash_keygen_s2k"
     "utf8_decode"
     "utf8_encode"
     "zip_close"
     "zip_entry_close"
     "zip_entry_compressedsize"
     "zip_entry_compressionmethod"
     "zip_entry_filesize"
     "zip_entry_name"
     "zip_entry_open"
     "zip_entry_read"
     "zip_open"
     "zip_read")
    (oci8
     "oci_bind_array_by_name"
     "oci_bind_by_name"
     "oci_cancel"
     "oci_client_version"
     "oci_close"
     "oci_commit"
     "oci_connect"
     "oci_define_by_name"
     "oci_error"
     "oci_execute"
     "oci_fetch"
     "oci_fetch_all"
     "oci_fetch_array"
     "oci_fetch_assoc"
     "oci_fetch_object"
     "oci_fetch_row"
     "oci_field_is_null"
     "oci_field_name"
     "oci_field_precision"
     "oci_field_scale"
     "oci_field_size"
     "oci_field_type"
     "oci_field_type_raw"
     "oci_free_descriptor"
     "oci_free_statement"
     "oci_get_implicit_resultset"
     "oci_internal_debug"
     "oci_lob_copy"
     "oci_lob_is_equal"
     "oci_new_collection"
     "oci_new_connect"
     "oci_new_cursor"
     "oci_new_descriptor"
     "oci_num_fields"
     "oci_num_rows"
     "oci_parse"
     "oci_password_change"
     "oci_pconnect"
     "oci_register_taf_callback"
     "oci_result"
     "oci_rollback"
     "oci_server_version"
     "oci_set_action"
     "oci_set_call_timeout"
     "oci_set_client_identifier"
     "oci_set_client_info"
     "oci_set_db_operation"
     "oci_set_edition"
     "oci_set_module_name"
     "oci_set_prefetch"
     "oci_set_prefetch_lob"
     "oci_statement_type"
     "oci_unregister_taf_callback"
     "ocibindbyname"
     "ocicancel"
     "ocicloselob"
     "ocicollappend"
     "ocicollassign"
     "ocicollassignelem"
     "ocicollgetelem"
     "ocicollmax"
     "ocicollsize"
     "ocicolltrim"
     "ocicolumnisnull"
     "ocicolumnname"
     "ocicolumnprecision"
     "ocicolumnscale"
     "ocicolumnsize"
     "ocicolumntype"
     "ocicolumntyperaw"
     "ocicommit"
     "ocidefinebyname"
     "ocierror"
     "ociexecute"
     "ocifetch"
     "ocifetchinto"
     "ocifetchstatement"
     "ocifreecollection"
     "ocifreecursor"
     "ocifreedesc"
     "ocifreestatement"
     "ociinternaldebug"
     "ociloadlob"
     "ocilogoff"
     "ocilogon"
     "ocinewcollection"
     "ocinewcursor"
     "ocinewdescriptor"
     "ocinlogon"
     "ocinumcols"
     "ociparse"
     "ociplogon"
     "ociresult"
     "ocirollback"
     "ocirowcount"
     "ocisavelob"
     "ocisavelobfile"
     "ociserverversion"
     "ocisetprefetch"
     "ocistatementtype"
     "ociwritelobtofile"
     "ociwritetemporarylob")
    (odbc
     "odbc_autocommit"
     "odbc_binmode"
     "odbc_close"
     "odbc_close_all"
     "odbc_columnprivileges"
     "odbc_columns"
     "odbc_commit"
     "odbc_connect"
     "odbc_cursor"
     "odbc_data_source"
     "odbc_do"
     "odbc_error"
     "odbc_errormsg"
     "odbc_exec"
     "odbc_execute"
     "odbc_fetch_array"
     "odbc_fetch_into"
     "odbc_fetch_object"
     "odbc_fetch_row"
     "odbc_field_len"
     "odbc_field_name"
     "odbc_field_num"
     "odbc_field_precision"
     "odbc_field_scale"
     "odbc_field_type"
     "odbc_foreignkeys"
     "odbc_free_result"
     "odbc_gettypeinfo"
     "odbc_longreadlen"
     "odbc_next_result"
     "odbc_num_fields"
     "odbc_num_rows"
     "odbc_pconnect"
     "odbc_prepare"
     "odbc_primarykeys"
     "odbc_procedurecolumns"
     "odbc_procedures"
     "odbc_result"
     "odbc_result_all"
     "odbc_rollback"
     "odbc_setoption"
     "odbc_specialcolumns"
     "odbc_statistics"
     "odbc_tableprivileges"
     "odbc_tables")
    (openal
     "openal_buffer_create"
     "openal_buffer_data"
     "openal_buffer_destroy"
     "openal_buffer_get"
     "openal_buffer_loadwav"
     "openal_context_create"
     "openal_context_current"
     "openal_context_destroy"
     "openal_context_process"
     "openal_context_suspend"
     "openal_device_close"
     "openal_device_open"
     "openal_listener_get"
     "openal_listener_set"
     "openal_source_create"
     "openal_source_destroy"
     "openal_source_get"
     "openal_source_pause"
     "openal_source_play"
     "openal_source_rewind"
     "openal_source_set"
     "openal_source_stop"
     "openal_stream")
    (openssl
     "openssl_cipher_iv_length"
     "openssl_cms_decrypt"
     "openssl_cms_encrypt"
     "openssl_cms_read"
     "openssl_cms_sign"
     "openssl_cms_verify"
     "openssl_csr_export"
     "openssl_csr_export_to_file"
     "openssl_csr_get_public_key"
     "openssl_csr_get_subject"
     "openssl_csr_new"
     "openssl_csr_sign"
     "openssl_decrypt"
     "openssl_dh_compute_key"
     "openssl_digest"
     "openssl_encrypt"
     "openssl_error_string"
     "openssl_free_key"
     "openssl_get_cert_locations"
     "openssl_get_cipher_methods"
     "openssl_get_curve_names"
     "openssl_get_md_methods"
     "openssl_get_privatekey"
     "openssl_get_publickey"
     "openssl_open"
     "openssl_pbkdf2"
     "openssl_pkcs12_export"
     "openssl_pkcs12_export_to_file"
     "openssl_pkcs12_read"
     "openssl_pkcs7_decrypt"
     "openssl_pkcs7_encrypt"
     "openssl_pkcs7_read"
     "openssl_pkcs7_sign"
     "openssl_pkcs7_verify"
     "openssl_pkey_derive"
     "openssl_pkey_export"
     "openssl_pkey_export_to_file"
     "openssl_pkey_free"
     "openssl_pkey_get_details"
     "openssl_pkey_get_private"
     "openssl_pkey_get_public"
     "openssl_pkey_new"
     "openssl_private_decrypt"
     "openssl_private_encrypt"
     "openssl_public_decrypt"
     "openssl_public_encrypt"
     "openssl_random_pseudo_bytes"
     "openssl_seal"
     "openssl_sign"
     "openssl_spki_export"
     "openssl_spki_export_challenge"
     "openssl_spki_new"
     "openssl_spki_verify"
     "openssl_verify"
     "openssl_x509_check_private_key"
     "openssl_x509_checkpurpose"
     "openssl_x509_export"
     "openssl_x509_export_to_file"
     "openssl_x509_fingerprint"
     "openssl_x509_free"
     "openssl_x509_parse"
     "openssl_x509_read"
     "openssl_x509_verify")
    (parallel
     "parallel\\bootstrap"
     "parallel\\run")
    (pcntl
     "pcntl_alarm"
     "pcntl_async_signals"
     "pcntl_errno"
     "pcntl_exec"
     "pcntl_fork"
     "pcntl_get_last_error"
     "pcntl_getpriority"
     "pcntl_rfork"
     "pcntl_setpriority"
     "pcntl_signal"
     "pcntl_signal_dispatch"
     "pcntl_signal_get_handler"
     "pcntl_sigprocmask"
     "pcntl_sigtimedwait"
     "pcntl_sigwaitinfo"
     "pcntl_strerror"
     "pcntl_unshare"
     "pcntl_wait"
     "pcntl_waitpid"
     "pcntl_wexitstatus"
     "pcntl_wifexited"
     "pcntl_wifsignaled"
     "pcntl_wifstopped"
     "pcntl_wstopsig"
     "pcntl_wtermsig")
    (pgsql
     "pg_affected_rows"
     "pg_cancel_query"
     "pg_client_encoding"
     "pg_close"
     "pg_connect"
     "pg_connect_poll"
     "pg_connection_busy"
     "pg_connection_reset"
     "pg_connection_status"
     "pg_consume_input"
     "pg_convert"
     "pg_copy_from"
     "pg_copy_to"
     "pg_dbname"
     "pg_delete"
     "pg_end_copy"
     "pg_escape_bytea"
     "pg_escape_identifier"
     "pg_escape_literal"
     "pg_escape_string"
     "pg_execute"
     "pg_fetch_all"
     "pg_fetch_all_columns"
     "pg_fetch_array"
     "pg_fetch_assoc"
     "pg_fetch_object"
     "pg_fetch_result"
     "pg_fetch_row"
     "pg_field_is_null"
     "pg_field_name"
     "pg_field_num"
     "pg_field_prtlen"
     "pg_field_size"
     "pg_field_table"
     "pg_field_type"
     "pg_field_type_oid"
     "pg_flush"
     "pg_free_result"
     "pg_get_notify"
     "pg_get_pid"
     "pg_get_result"
     "pg_host"
     "pg_insert"
     "pg_last_error"
     "pg_last_notice"
     "pg_last_oid"
     "pg_lo_close"
     "pg_lo_create"
     "pg_lo_export"
     "pg_lo_import"
     "pg_lo_open"
     "pg_lo_read"
     "pg_lo_read_all"
     "pg_lo_seek"
     "pg_lo_tell"
     "pg_lo_truncate"
     "pg_lo_unlink"
     "pg_lo_write"
     "pg_meta_data"
     "pg_num_fields"
     "pg_num_rows"
     "pg_options"
     "pg_parameter_status"
     "pg_pconnect"
     "pg_ping"
     "pg_port"
     "pg_prepare"
     "pg_put_line"
     "pg_query"
     "pg_query_params"
     "pg_result_error"
     "pg_result_error_field"
     "pg_result_seek"
     "pg_result_status"
     "pg_select"
     "pg_send_execute"
     "pg_send_prepare"
     "pg_send_query"
     "pg_send_query_params"
     "pg_set_client_encoding"
     "pg_set_error_verbosity"
     "pg_socket"
     "pg_trace"
     "pg_transaction_status"
     "pg_tty"
     "pg_unescape_bytea"
     "pg_untrace"
     "pg_update"
     "pg_version")
    (posix
     "posix_access"
     "posix_ctermid"
     "posix_errno"
     "posix_get_last_error"
     "posix_getcwd"
     "posix_getegid"
     "posix_geteuid"
     "posix_getgid"
     "posix_getgrgid"
     "posix_getgrnam"
     "posix_getgroups"
     "posix_getlogin"
     "posix_getpgid"
     "posix_getpgrp"
     "posix_getpid"
     "posix_getppid"
     "posix_getpwnam"
     "posix_getpwuid"
     "posix_getrlimit"
     "posix_getsid"
     "posix_getuid"
     "posix_initgroups"
     "posix_isatty"
     "posix_kill"
     "posix_mkfifo"
     "posix_mknod"
     "posix_setegid"
     "posix_seteuid"
     "posix_setgid"
     "posix_setpgid"
     "posix_setrlimit"
     "posix_setsid"
     "posix_setuid"
     "posix_strerror"
     "posix_times"
     "posix_ttyname"
     "posix_uname")
    (ps
     "ps_add_bookmark"
     "ps_add_launchlink"
     "ps_add_locallink"
     "ps_add_note"
     "ps_add_pdflink"
     "ps_add_weblink"
     "ps_arc"
     "ps_arcn"
     "ps_begin_page"
     "ps_begin_pattern"
     "ps_begin_template"
     "ps_circle"
     "ps_clip"
     "ps_close"
     "ps_close_image"
     "ps_closepath"
     "ps_closepath_stroke"
     "ps_continue_text"
     "ps_curveto"
     "ps_delete"
     "ps_end_page"
     "ps_end_pattern"
     "ps_end_template"
     "ps_fill"
     "ps_fill_stroke"
     "ps_findfont"
     "ps_get_buffer"
     "ps_get_parameter"
     "ps_get_value"
     "ps_hyphenate"
     "ps_include_file"
     "ps_lineto"
     "ps_makespotcolor"
     "ps_moveto"
     "ps_new"
     "ps_open_file"
     "ps_open_image"
     "ps_open_image_file"
     "ps_open_memory_image"
     "ps_place_image"
     "ps_rect"
     "ps_restore"
     "ps_rotate"
     "ps_save"
     "ps_scale"
     "ps_set_border_color"
     "ps_set_border_dash"
     "ps_set_border_style"
     "ps_set_info"
     "ps_set_parameter"
     "ps_set_text_pos"
     "ps_set_value"
     "ps_setcolor"
     "ps_setdash"
     "ps_setflat"
     "ps_setfont"
     "ps_setgray"
     "ps_setlinecap"
     "ps_setlinejoin"
     "ps_setlinewidth"
     "ps_setmiterlimit"
     "ps_setoverprintmode"
     "ps_setpolydash"
     "ps_shading"
     "ps_shading_pattern"
     "ps_shfill"
     "ps_show"
     "ps_show2"
     "ps_show_boxed"
     "ps_show_xy"
     "ps_show_xy2"
     "ps_string_geometry"
     "ps_stringwidth"
     "ps_stroke"
     "ps_symbol"
     "ps_symbol_name"
     "ps_symbol_width"
     "ps_translate")
    (pspell
     "pspell_add_to_personal"
     "pspell_add_to_session"
     "pspell_check"
     "pspell_clear_session"
     "pspell_config_create"
     "pspell_config_data_dir"
     "pspell_config_dict_dir"
     "pspell_config_ignore"
     "pspell_config_mode"
     "pspell_config_personal"
     "pspell_config_repl"
     "pspell_config_runtogether"
     "pspell_config_save_repl"
     "pspell_new"
     "pspell_new_config"
     "pspell_new_personal"
     "pspell_save_wordlist"
     "pspell_store_replacement"
     "pspell_suggest")
    (radius
     "radius_acct_open"
     "radius_add_server"
     "radius_auth_open"
     "radius_close"
     "radius_config"
     "radius_create_request"
     "radius_cvt_addr"
     "radius_cvt_int"
     "radius_cvt_string"
     "radius_demangle"
     "radius_demangle_mppe_key"
     "radius_get_attr"
     "radius_get_tagged_attr_data"
     "radius_get_tagged_attr_tag"
     "radius_get_vendor_attr"
     "radius_put_addr"
     "radius_put_attr"
     "radius_put_int"
     "radius_put_string"
     "radius_put_vendor_addr"
     "radius_put_vendor_attr"
     "radius_put_vendor_int"
     "radius_put_vendor_string"
     "radius_request_authenticator"
     "radius_salt_encrypt_attr"
     "radius_send_request"
     "radius_server_secret"
     "radius_strerror")
    (rar
     "rar_broken_is"
     "rar_close"
     "rar_comment_get"
     "rar_entry_get"
     "rar_list"
     "rar_open"
     "rar_solid_is"
     "rar_wrapper_cache_stats")
    (readline
     "readline"
     "readline_add_history"
     "readline_callback_handler_install"
     "readline_callback_handler_remove"
     "readline_callback_read_char"
     "readline_clear_history"
     "readline_completion_function"
     "readline_info"
     "readline_list_history"
     "readline_on_new_line"
     "readline_read_history"
     "readline_redisplay"
     "readline_write_history")
    (recode
     "recode"
     "recode_file"
     "recode_string")
    (rpminfo
     "rpmaddtag"
     "rpmdbinfo"
     "rpmdbsearch"
     "rpminfo"
     "rpmvercmp")
    (rrd
     "rrd_create"
     "rrd_error"
     "rrd_fetch"
     "rrd_first"
     "rrd_graph"
     "rrd_info"
     "rrd_last"
     "rrd_lastupdate"
     "rrd_restore"
     "rrd_tune"
     "rrd_update"
     "rrd_version"
     "rrd_xport"
     "rrdc_disconnect")
    (runkit7
     "runkit7_constant_add"
     "runkit7_constant_redefine"
     "runkit7_constant_remove"
     "runkit7_function_add"
     "runkit7_function_copy"
     "runkit7_function_redefine"
     "runkit7_function_remove"
     "runkit7_function_rename"
     "runkit7_import"
     "runkit7_method_add"
     "runkit7_method_copy"
     "runkit7_method_redefine"
     "runkit7_method_remove"
     "runkit7_method_rename"
     "runkit7_object_id"
     "runkit7_superglobals"
     "runkit7_zval_inspect")
    (scoutapm
     "scoutapm_get_calls"
     "scoutapm_list_instrumented_functions")
    (shmop
     "shmop_close"
     "shmop_delete"
     "shmop_open"
     "shmop_read"
     "shmop_size"
     "shmop_write")
    (simplexml
     "dom_import_simplexml"
     "simplexml_import_dom"
     "simplexml_load_file"
     "simplexml_load_string")
    (smnp
     "snmp2_get"
     "snmp2_getnext"
     "snmp2_real_walk"
     "snmp2_set"
     "snmp2_walk"
     "snmp3_get"
     "snmp3_getnext"
     "snmp3_real_walk"
     "snmp3_set"
     "snmp3_walk"
     "snmp_get_quick_print"
     "snmp_get_valueretrieval"
     "snmp_read_mib"
     "snmp_set_enum_print"
     "snmp_set_oid_numeric_print"
     "snmp_set_oid_output_format"
     "snmp_set_quick_print"
     "snmp_set_valueretrieval"
     "snmpget"
     "snmpgetnext"
     "snmprealwalk"
     "snmpset"
     "snmpwalk"
     "snmpwalkoid")
    (soap
     "is_soap_fault"
     "use_soap_error_handler")
    (socket
     "socket_accept"
     "socket_addrinfo_bind"
     "socket_addrinfo_connect"
     "socket_addrinfo_explain"
     "socket_addrinfo_lookup"
     "socket_bind"
     "socket_clear_error"
     "socket_close"
     "socket_cmsg_space"
     "socket_connect"
     "socket_create"
     "socket_create_listen"
     "socket_create_pair"
     "socket_export_stream"
     "socket_get_option"
     "socket_get_status"
     "socket_getopt"
     "socket_getpeername"
     "socket_getsockname"
     "socket_import_stream"
     "socket_last_error"
     "socket_listen"
     "socket_read"
     "socket_recv"
     "socket_recvfrom"
     "socket_recvmsg"
     "socket_select"
     "socket_send"
     "socket_sendmsg"
     "socket_sendto"
     "socket_set_block"
     "socket_set_blocking"
     "socket_set_nonblock"
     "socket_set_option"
     "socket_set_timeout"
     "socket_setopt"
     "socket_shutdown"
     "socket_strerror"
     "socket_write"
     "socket_wsaprotocol_info_export"
     "socket_wsaprotocol_info_import"
     "socket_wsaprotocol_info_release")
    (sodium
     "sodium_add"
     "sodium_base642bin"
     "sodium_bin2base64"
     "sodium_bin2hex"
     "sodium_compare"
     "sodium_crypto_aead_aes256gcm_decrypt"
     "sodium_crypto_aead_aes256gcm_encrypt"
     "sodium_crypto_aead_aes256gcm_is_available"
     "sodium_crypto_aead_aes256gcm_keygen"
     "sodium_crypto_aead_chacha20poly1305_decrypt"
     "sodium_crypto_aead_chacha20poly1305_encrypt"
     "sodium_crypto_aead_chacha20poly1305_ietf_decrypt"
     "sodium_crypto_aead_chacha20poly1305_ietf_encrypt"
     "sodium_crypto_aead_chacha20poly1305_ietf_keygen"
     "sodium_crypto_aead_chacha20poly1305_keygen"
     "sodium_crypto_aead_xchacha20poly1305_ietf_decrypt"
     "sodium_crypto_aead_xchacha20poly1305_ietf_encrypt"
     "sodium_crypto_aead_xchacha20poly1305_ietf_keygen"
     "sodium_crypto_auth"
     "sodium_crypto_auth_keygen"
     "sodium_crypto_auth_verify"
     "sodium_crypto_box"
     "sodium_crypto_box_keypair"
     "sodium_crypto_box_keypair_from_secretkey_and_publickey"
     "sodium_crypto_box_open"
     "sodium_crypto_box_publickey"
     "sodium_crypto_box_publickey_from_secretkey"
     "sodium_crypto_box_seal"
     "sodium_crypto_box_seal_open"
     "sodium_crypto_box_secretkey"
     "sodium_crypto_box_seed_keypair"
     "sodium_crypto_core_ristretto255_add"
     "sodium_crypto_core_ristretto255_from_hash"
     "sodium_crypto_core_ristretto255_is_valid_point"
     "sodium_crypto_core_ristretto255_random"
     "sodium_crypto_core_ristretto255_scalar_add"
     "sodium_crypto_core_ristretto255_scalar_complement"
     "sodium_crypto_core_ristretto255_scalar_invert"
     "sodium_crypto_core_ristretto255_scalar_mul"
     "sodium_crypto_core_ristretto255_scalar_negate"
     "sodium_crypto_core_ristretto255_scalar_random"
     "sodium_crypto_core_ristretto255_scalar_reduce"
     "sodium_crypto_core_ristretto255_scalar_sub"
     "sodium_crypto_core_ristretto255_sub"
     "sodium_crypto_generichash"
     "sodium_crypto_generichash_final"
     "sodium_crypto_generichash_init"
     "sodium_crypto_generichash_keygen"
     "sodium_crypto_generichash_update"
     "sodium_crypto_kdf_derive_from_key"
     "sodium_crypto_kdf_keygen"
     "sodium_crypto_kx_client_session_keys"
     "sodium_crypto_kx_keypair"
     "sodium_crypto_kx_publickey"
     "sodium_crypto_kx_secretkey"
     "sodium_crypto_kx_seed_keypair"
     "sodium_crypto_kx_server_session_keys"
     "sodium_crypto_pwhash"
     "sodium_crypto_pwhash_scryptsalsa208sha256"
     "sodium_crypto_pwhash_scryptsalsa208sha256_str"
     "sodium_crypto_pwhash_scryptsalsa208sha256_str_verify"
     "sodium_crypto_pwhash_str"
     "sodium_crypto_pwhash_str_needs_rehash"
     "sodium_crypto_pwhash_str_verify"
     "sodium_crypto_scalarmult"
     "sodium_crypto_scalarmult_base"
     "sodium_crypto_scalarmult_ristretto255"
     "sodium_crypto_scalarmult_ristretto255_base"
     "sodium_crypto_secretbox"
     "sodium_crypto_secretbox_keygen"
     "sodium_crypto_secretbox_open"
     "sodium_crypto_secretstream_xchacha20poly1305_init_pull"
     "sodium_crypto_secretstream_xchacha20poly1305_init_push"
     "sodium_crypto_secretstream_xchacha20poly1305_keygen"
     "sodium_crypto_secretstream_xchacha20poly1305_pull"
     "sodium_crypto_secretstream_xchacha20poly1305_push"
     "sodium_crypto_secretstream_xchacha20poly1305_rekey"
     "sodium_crypto_shorthash"
     "sodium_crypto_shorthash_keygen"
     "sodium_crypto_sign"
     "sodium_crypto_sign_detached"
     "sodium_crypto_sign_ed25519_pk_to_curve25519"
     "sodium_crypto_sign_ed25519_sk_to_curve25519"
     "sodium_crypto_sign_keypair"
     "sodium_crypto_sign_keypair_from_secretkey_and_publickey"
     "sodium_crypto_sign_open"
     "sodium_crypto_sign_publickey"
     "sodium_crypto_sign_publickey_from_secretkey"
     "sodium_crypto_sign_secretkey"
     "sodium_crypto_sign_seed_keypair"
     "sodium_crypto_sign_verify_detached"
     "sodium_crypto_stream"
     "sodium_crypto_stream_keygen"
     "sodium_crypto_stream_xchacha20"
     "sodium_crypto_stream_xchacha20_keygen"
     "sodium_crypto_stream_xchacha20_xor"
     "sodium_crypto_stream_xchacha20_xor_ic"
     "sodium_crypto_stream_xor"
     "sodium_hex2bin"
     "sodium_increment"
     "sodium_memcmp"
     "sodium_memzero"
     "sodium_pad"
     "sodium_unpad")
    (solr
     "solr_get_version")
    (sqlsrv
     "sqlsrv_begin_transaction"
     "sqlsrv_cancel"
     "sqlsrv_client_info"
     "sqlsrv_close"
     "sqlsrv_commit"
     "sqlsrv_configure"
     "sqlsrv_connect"
     "sqlsrv_errors"
     "sqlsrv_execute"
     "sqlsrv_fetch"
     "sqlsrv_fetch_array"
     "sqlsrv_fetch_object"
     "sqlsrv_field_metadata"
     "sqlsrv_free_stmt"
     "sqlsrv_get_config"
     "sqlsrv_get_field"
     "sqlsrv_has_rows"
     "sqlsrv_next_result"
     "sqlsrv_num_fields"
     "sqlsrv_num_rows"
     "sqlsrv_prepare"
     "sqlsrv_query"
     "sqlsrv_rollback"
     "sqlsrv_rows_affected"
     "sqlsrv_send_stream_data"
     "sqlsrv_server_info")
    (ssdeep
     "ssdeep_fuzzy_compare"
     "ssdeep_fuzzy_hash"
     "ssdeep_fuzzy_hash_filename")
    (ssh2
     "ssh2_auth_agent"
     "ssh2_auth_hostbased_file"
     "ssh2_auth_none"
     "ssh2_auth_password"
     "ssh2_auth_pubkey_file"
     "ssh2_connect"
     "ssh2_disconnect"
     "ssh2_exec"
     "ssh2_fetch_stream"
     "ssh2_fingerprint"
     "ssh2_forward_accept"
     "ssh2_forward_listen"
     "ssh2_methods_negotiated"
     "ssh2_poll"
     "ssh2_publickey_add"
     "ssh2_publickey_init"
     "ssh2_publickey_list"
     "ssh2_publickey_remove"
     "ssh2_scp_recv"
     "ssh2_scp_send"
     "ssh2_send_eof"
     "ssh2_sftp"
     "ssh2_sftp_chmod"
     "ssh2_sftp_lstat"
     "ssh2_sftp_mkdir"
     "ssh2_sftp_readlink"
     "ssh2_sftp_realpath"
     "ssh2_sftp_rename"
     "ssh2_sftp_rmdir"
     "ssh2_sftp_stat"
     "ssh2_sftp_symlink"
     "ssh2_sftp_unlink"
     "ssh2_shell"
     "ssh2_tunnel")
    (stats
     "stats_absolute_deviation"
     "stats_cdf_beta"
     "stats_cdf_binomial"
     "stats_cdf_cauchy"
     "stats_cdf_chisquare"
     "stats_cdf_exponential"
     "stats_cdf_f"
     "stats_cdf_gamma"
     "stats_cdf_laplace"
     "stats_cdf_logistic"
     "stats_cdf_negative_binomial"
     "stats_cdf_noncentral_chisquare"
     "stats_cdf_noncentral_f"
     "stats_cdf_noncentral_t"
     "stats_cdf_normal"
     "stats_cdf_poisson"
     "stats_cdf_t"
     "stats_cdf_uniform"
     "stats_cdf_weibull"
     "stats_covariance"
     "stats_dens_beta"
     "stats_dens_cauchy"
     "stats_dens_chisquare"
     "stats_dens_exponential"
     "stats_dens_f"
     "stats_dens_gamma"
     "stats_dens_laplace"
     "stats_dens_logistic"
     "stats_dens_normal"
     "stats_dens_pmf_binomial"
     "stats_dens_pmf_hypergeometric"
     "stats_dens_pmf_negative_binomial"
     "stats_dens_pmf_poisson"
     "stats_dens_t"
     "stats_dens_uniform"
     "stats_dens_weibull"
     "stats_harmonic_mean"
     "stats_kurtosis"
     "stats_rand_gen_beta"
     "stats_rand_gen_chisquare"
     "stats_rand_gen_exponential"
     "stats_rand_gen_f"
     "stats_rand_gen_funiform"
     "stats_rand_gen_gamma"
     "stats_rand_gen_ibinomial"
     "stats_rand_gen_ibinomial_negative"
     "stats_rand_gen_int"
     "stats_rand_gen_ipoisson"
     "stats_rand_gen_iuniform"
     "stats_rand_gen_noncentral_chisquare"
     "stats_rand_gen_noncentral_f"
     "stats_rand_gen_noncentral_t"
     "stats_rand_gen_normal"
     "stats_rand_gen_t"
     "stats_rand_get_seeds"
     "stats_rand_phrase_to_seeds"
     "stats_rand_ranf"
     "stats_rand_setall"
     "stats_skew"
     "stats_standard_deviation"
     "stats_stat_binomial_coef"
     "stats_stat_correlation"
     "stats_stat_factorial"
     "stats_stat_independent_t"
     "stats_stat_innerproduct"
     "stats_stat_paired_t"
     "stats_stat_percentile"
     "stats_stat_powersum"
     "stats_variance")
    (stomp
     "stomp_abort"
     "stomp_ack"
     "stomp_begin"
     "stomp_close"
     "stomp_commit"
     "stomp_connect"
     "stomp_connect_error"
     "stomp_error"
     "stomp_get_read_timeout"
     "stomp_get_session_id"
     "stomp_has_frame"
     "stomp_read_frame"
     "stomp_send"
     "stomp_set_read_timeout"
     "stomp_subscribe"
     "stomp_unsubscribe"
     "stomp_version")
    (svn
     "svn_add"
     "svn_auth_get_parameter"
     "svn_auth_set_parameter"
     "svn_blame"
     "svn_cat"
     "svn_checkout"
     "svn_cleanup"
     "svn_client_version"
     "svn_commit"
     "svn_delete"
     "svn_diff"
     "svn_export"
     "svn_fs_abort_txn"
     "svn_fs_apply_text"
     "svn_fs_begin_txn2"
     "svn_fs_change_node_prop"
     "svn_fs_check_path"
     "svn_fs_contents_changed"
     "svn_fs_copy"
     "svn_fs_delete"
     "svn_fs_dir_entries"
     "svn_fs_file_contents"
     "svn_fs_file_length"
     "svn_fs_is_dir"
     "svn_fs_is_file"
     "svn_fs_make_dir"
     "svn_fs_make_file"
     "svn_fs_node_created_rev"
     "svn_fs_node_prop"
     "svn_fs_props_changed"
     "svn_fs_revision_prop"
     "svn_fs_revision_root"
     "svn_fs_txn_root"
     "svn_fs_youngest_rev"
     "svn_import"
     "svn_log"
     "svn_ls"
     "svn_mkdir"
     "svn_repos_create"
     "svn_repos_fs"
     "svn_repos_fs_begin_txn_for_commit"
     "svn_repos_fs_commit_txn"
     "svn_repos_hotcopy"
     "svn_repos_open"
     "svn_repos_recover"
     "svn_revert"
     "svn_status"
     "svn_update")
    (swoole
     "swoole_async_dns_lookup"
     "swoole_async_read"
     "swoole_async_readfile"
     "swoole_async_set"
     "swoole_async_write"
     "swoole_async_writefile"
     "swoole_clear_error"
     "swoole_client_select"
     "swoole_cpu_num"
     "swoole_errno"
     "swoole_error_log"
     "swoole_event_add"
     "swoole_event_defer"
     "swoole_event_del"
     "swoole_event_exit"
     "swoole_event_set"
     "swoole_event_wait"
     "swoole_event_write"
     "swoole_get_local_ip"
     "swoole_last_error"
     "swoole_load_module"
     "swoole_select"
     "swoole_set_process_name"
     "swoole_strerror"
     "swoole_timer_after"
     "swoole_timer_clear"
     "swoole_timer_exists"
     "swoole_timer_tick"
     "swoole_version")
    (sysvshm
     "ftok"
     "msg_get_queue"
     "msg_queue_exists"
     "msg_receive"
     "msg_remove_queue"
     "msg_send"
     "msg_set_queue"
     "msg_stat_queue"
     "sem_acquire"
     "sem_get"
     "sem_release"
     "sem_remove"
     "shm_attach"
     "shm_detach"
     "shm_get_var"
     "shm_has_var"
     "shm_put_var"
     "shm_remove"
     "shm_remove_var")
    (taint
     "is_tainted"
     "taint"
     "untaint")
    (tcpwrap
     "tcpwrap_check")
    (tidy
     "tidy_access_count"
     "tidy_clean_repair"
     "tidy_config_count"
     "tidy_diagnose"
     "tidy_error_count"
     "tidy_get_body"
     "tidy_get_config"
     "tidy_get_error_buffer"
     "tidy_get_head"
     "tidy_get_html"
     "tidy_get_html_ver"
     "tidy_get_opt_doc"
     "tidy_get_output"
     "tidy_get_release"
     "tidy_get_root"
     "tidy_get_status"
     "tidy_getopt"
     "tidy_is_xhtml"
     "tidy_is_xml"
     "tidy_parse_file"
     "tidy_parse_string"
     "tidy_repair_file"
     "tidy_repair_string"
     "tidy_warning_count")
    (trader
     "trader_acos"
     "trader_ad"
     "trader_add"
     "trader_adosc"
     "trader_adx"
     "trader_adxr"
     "trader_apo"
     "trader_aroon"
     "trader_aroonosc"
     "trader_asin"
     "trader_atan"
     "trader_atr"
     "trader_avgprice"
     "trader_bbands"
     "trader_beta"
     "trader_bop"
     "trader_cci"
     "trader_cdl2crows"
     "trader_cdl3blackcrows"
     "trader_cdl3inside"
     "trader_cdl3linestrike"
     "trader_cdl3outside"
     "trader_cdl3starsinsouth"
     "trader_cdl3whitesoldiers"
     "trader_cdlabandonedbaby"
     "trader_cdladvanceblock"
     "trader_cdlbelthold"
     "trader_cdlbreakaway"
     "trader_cdlclosingmarubozu"
     "trader_cdlconcealbabyswall"
     "trader_cdlcounterattack"
     "trader_cdldarkcloudcover"
     "trader_cdldoji"
     "trader_cdldojistar"
     "trader_cdldragonflydoji"
     "trader_cdlengulfing"
     "trader_cdleveningdojistar"
     "trader_cdleveningstar"
     "trader_cdlgapsidesidewhite"
     "trader_cdlgravestonedoji"
     "trader_cdlhammer"
     "trader_cdlhangingman"
     "trader_cdlharami"
     "trader_cdlharamicross"
     "trader_cdlhighwave"
     "trader_cdlhikkake"
     "trader_cdlhikkakemod"
     "trader_cdlhomingpigeon"
     "trader_cdlidentical3crows"
     "trader_cdlinneck"
     "trader_cdlinvertedhammer"
     "trader_cdlkicking"
     "trader_cdlkickingbylength"
     "trader_cdlladderbottom"
     "trader_cdllongleggeddoji"
     "trader_cdllongline"
     "trader_cdlmarubozu"
     "trader_cdlmatchinglow"
     "trader_cdlmathold"
     "trader_cdlmorningdojistar"
     "trader_cdlmorningstar"
     "trader_cdlonneck"
     "trader_cdlpiercing"
     "trader_cdlrickshawman"
     "trader_cdlrisefall3methods"
     "trader_cdlseparatinglines"
     "trader_cdlshootingstar"
     "trader_cdlshortline"
     "trader_cdlspinningtop"
     "trader_cdlstalledpattern"
     "trader_cdlsticksandwich"
     "trader_cdltakuri"
     "trader_cdltasukigap"
     "trader_cdlthrusting"
     "trader_cdltristar"
     "trader_cdlunique3river"
     "trader_cdlupsidegap2crows"
     "trader_cdlxsidegap3methods"
     "trader_ceil"
     "trader_cmo"
     "trader_correl"
     "trader_cos"
     "trader_cosh"
     "trader_dema"
     "trader_div"
     "trader_dx"
     "trader_ema"
     "trader_errno"
     "trader_exp"
     "trader_floor"
     "trader_get_compat"
     "trader_get_unstable_period"
     "trader_ht_dcperiod"
     "trader_ht_dcphase"
     "trader_ht_phasor"
     "trader_ht_sine"
     "trader_ht_trendline"
     "trader_ht_trendmode"
     "trader_kama"
     "trader_linearreg"
     "trader_linearreg_angle"
     "trader_linearreg_intercept"
     "trader_linearreg_slope"
     "trader_ln"
     "trader_log10"
     "trader_ma"
     "trader_macd"
     "trader_macdext"
     "trader_macdfix"
     "trader_mama"
     "trader_mavp"
     "trader_max"
     "trader_maxindex"
     "trader_medprice"
     "trader_mfi"
     "trader_midpoint"
     "trader_midprice"
     "trader_min"
     "trader_minindex"
     "trader_minmax"
     "trader_minmaxindex"
     "trader_minus_di"
     "trader_minus_dm"
     "trader_mom"
     "trader_mult"
     "trader_natr"
     "trader_obv"
     "trader_plus_di"
     "trader_plus_dm"
     "trader_ppo"
     "trader_roc"
     "trader_rocp"
     "trader_rocr"
     "trader_rocr100"
     "trader_rsi"
     "trader_sar"
     "trader_sarext"
     "trader_set_compat"
     "trader_set_unstable_period"
     "trader_sin"
     "trader_sinh"
     "trader_sma"
     "trader_sqrt"
     "trader_stddev"
     "trader_stoch"
     "trader_stochf"
     "trader_stochrsi"
     "trader_sub"
     "trader_sum"
     "trader_t3"
     "trader_tan"
     "trader_tanh"
     "trader_tema"
     "trader_trange"
     "trader_trima"
     "trader_trix"
     "trader_tsf"
     "trader_typprice"
     "trader_ultosc"
     "trader_var"
     "trader_wclprice"
     "trader_willr"
     "trader_wma")
    (ui
     "UI\\Draw\\Text\\Font\\fontFamilies"
     "UI\\quit"
     "UI\\run")
    (uopz
     "uopz_add_function"
     "uopz_allow_exit"
     "uopz_backup"
     "uopz_compose"
     "uopz_copy"
     "uopz_del_function"
     "uopz_delete"
     "uopz_extend"
     "uopz_flags"
     "uopz_function"
     "uopz_get_exit_status"
     "uopz_get_hook"
     "uopz_get_mock"
     "uopz_get_property"
     "uopz_get_return"
     "uopz_get_static"
     "uopz_implement"
     "uopz_overload"
     "uopz_redefine"
     "uopz_rename"
     "uopz_restore"
     "uopz_set_hook"
     "uopz_set_mock"
     "uopz_set_property"
     "uopz_set_return"
     "uopz_set_static"
     "uopz_undefine"
     "uopz_unset_hook"
     "uopz_unset_mock"
     "uopz_unset_return")
    (var_representation
     "var_representation")
    (win32service
     "win32_continue_service"
     "win32_create_service"
     "win32_delete_service"
     "win32_get_last_control_message"
     "win32_pause_service"
     "win32_query_service_status"
     "win32_send_custom_control"
     "win32_set_service_exit_code"
     "win32_set_service_exit_mode"
     "win32_set_service_status"
     "win32_start_service"
     "win32_start_service_ctrl_dispatcher"
     "win32_stop_service")
    (wincache
     "wincache_fcache_fileinfo"
     "wincache_fcache_meminfo"
     "wincache_lock"
     "wincache_ocache_fileinfo"
     "wincache_ocache_meminfo"
     "wincache_refresh_if_changed"
     "wincache_rplist_fileinfo"
     "wincache_rplist_meminfo"
     "wincache_scache_info"
     "wincache_scache_meminfo"
     "wincache_ucache_add"
     "wincache_ucache_cas"
     "wincache_ucache_clear"
     "wincache_ucache_dec"
     "wincache_ucache_delete"
     "wincache_ucache_exists"
     "wincache_ucache_get"
     "wincache_ucache_inc"
     "wincache_ucache_info"
     "wincache_ucache_meminfo"
     "wincache_ucache_set"
     "wincache_unlock")
    (xattr
     "xattr_get"
     "xattr_list"
     "xattr_remove"
     "xattr_set"
     "xattr_supported")
    (xdiff
     "xdiff_file_bdiff"
     "xdiff_file_bdiff_size"
     "xdiff_file_bpatch"
     "xdiff_file_diff"
     "xdiff_file_diff_binary"
     "xdiff_file_merge3"
     "xdiff_file_patch"
     "xdiff_file_patch_binary"
     "xdiff_file_rabdiff"
     "xdiff_string_bdiff"
     "xdiff_string_bdiff_size"
     "xdiff_string_bpatch"
     "xdiff_string_diff"
     "xdiff_string_diff_binary"
     "xdiff_string_merge3"
     "xdiff_string_patch"
     "xdiff_string_patch_binary"
     "xdiff_string_rabdiff")
    (xhprof
     "xhprof_disable"
     "xhprof_enable"
     "xhprof_sample_disable"
     "xhprof_sample_enable")
    (xml
     "xml_error_string"
     "xml_get_current_byte_index"
     "xml_get_current_column_number"
     "xml_get_current_line_number"
     "xml_get_error_code"
     "xml_parse"
     "xml_parse_into_struct"
     "xml_parser_create"
     "xml_parser_create_ns"
     "xml_parser_free"
     "xml_parser_get_option"
     "xml_parser_set_option"
     "xml_set_character_data_handler"
     "xml_set_default_handler"
     "xml_set_element_handler"
     "xml_set_end_namespace_decl_handler"
     "xml_set_external_entity_ref_handler"
     "xml_set_notation_decl_handler"
     "xml_set_object"
     "xml_set_processing_instruction_handler"
     "xml_set_start_namespace_decl_handler"
     "xml_set_unparsed_entity_decl_handler")
    (xmlrpc
     "xmlrpc_decode"
     "xmlrpc_decode_request"
     "xmlrpc_encode"
     "xmlrpc_encode_request"
     "xmlrpc_get_type"
     "xmlrpc_is_fault"
     "xmlrpc_parse_method_descriptions"
     "xmlrpc_server_add_introspection_data"
     "xmlrpc_server_call_method"
     "xmlrpc_server_create"
     "xmlrpc_server_destroy"
     "xmlrpc_server_register_introspection_callback"
     "xmlrpc_server_register_method"
     "xmlrpc_set_type")
    (xmlwriter
     "xmlwriter_end_attribute"
     "xmlwriter_end_cdata"
     "xmlwriter_end_comment"
     "xmlwriter_end_document"
     "xmlwriter_end_dtd"
     "xmlwriter_end_dtd_attlist"
     "xmlwriter_end_dtd_element"
     "xmlwriter_end_dtd_entity"
     "xmlwriter_end_element"
     "xmlwriter_end_pi"
     "xmlwriter_flush"
     "xmlwriter_full_end_element"
     "xmlwriter_open_memory"
     "xmlwriter_open_uri"
     "xmlwriter_output_memory"
     "xmlwriter_set_indent"
     "xmlwriter_set_indent_string"
     "xmlwriter_start_attribute"
     "xmlwriter_start_attribute_ns"
     "xmlwriter_start_cdata"
     "xmlwriter_start_comment"
     "xmlwriter_start_document"
     "xmlwriter_start_dtd"
     "xmlwriter_start_dtd_attlist"
     "xmlwriter_start_dtd_element"
     "xmlwriter_start_dtd_entity"
     "xmlwriter_start_element"
     "xmlwriter_start_element_ns"
     "xmlwriter_start_pi"
     "xmlwriter_text"
     "xmlwriter_write_attribute"
     "xmlwriter_write_attribute_ns"
     "xmlwriter_write_cdata"
     "xmlwriter_write_comment"
     "xmlwriter_write_dtd"
     "xmlwriter_write_dtd_attlist"
     "xmlwriter_write_dtd_element"
     "xmlwriter_write_dtd_entity"
     "xmlwriter_write_element"
     "xmlwriter_write_element_ns"
     "xmlwriter_write_pi"
     "xmlwriter_write_raw")
    (yaml
     "yaml_emit"
     "yaml_emit_file"
     "yaml_parse"
     "yaml_parse_file"
     "yaml_parse_url")
    (yaz
     "yaz_addinfo"
     "yaz_ccl_conf"
     "yaz_ccl_parse"
     "yaz_close"
     "yaz_connect"
     "yaz_database"
     "yaz_element"
     "yaz_errno"
     "yaz_error"
     "yaz_es"
     "yaz_es_result"
     "yaz_get_option"
     "yaz_hits"
     "yaz_itemorder"
     "yaz_present"
     "yaz_range"
     "yaz_record"
     "yaz_scan"
     "yaz_scan_result"
     "yaz_schema"
     "yaz_search"
     "yaz_set_option"
     "yaz_sort"
     "yaz_syntax"
     "yaz_wait")
    (zlib
     "deflate_add"
     "deflate_init"
     "gzclose"
     "gzcompress"
     "gzdecode"
     "gzdeflate"
     "gzencode"
     "gzeof"
     "gzfile"
     "gzgetc"
     "gzgets"
     "gzgetss"
     "gzinflate"
     "gzopen"
     "gzpassthru"
     "gzputs"
     "gzread"
     "gzrewind"
     "gzseek"
     "gztell"
     "gzuncompress"
     "gzwrite"
     "inflate_add"
     "inflate_get_read_len"
     "inflate_get_status"
     "inflate_init"
     "readgzfile"
     "zlib_decode"
     "zlib_encode"
     "zlib_get_coding_type")
    (zookeeper
     "zookeeper_dispatch")))

(provide 'php-defs)
;;; php-defs.el ends here


================================================
FILE: lisp/php-face.el
================================================
;;; php-face.el --- Face definitions for PHP script  -*- lexical-binding: t; -*-

;; Copyright (C) 2023  Friends of Emacs-PHP development

;; Author: USAMI Kenta <tadsan@zonu.me>
;; Created: 5 May 2019
;; Version: 1.26.1
;; Keywords: faces, php
;; Homepage: https://github.com/emacs-php/php-mode
;; License: GPL-3.0-or-later

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <https://www.gnu.org/licenses/>.

;;; Commentary:

;; Face definitions for PHP script.

;;; Code:

;;;###autoload
(defgroup php-faces nil
  "Faces used in PHP Mode."
  :tag "PHP Faces"
  :group 'php-mode
  :group 'faces)

(defface php-string '((t (:inherit font-lock-string-face)))
  "PHP Mode face used to highlight string literals."
  :group 'php-faces
  :tag "PHP String")

(defface php-keyword '((t (:inherit font-lock-keyword-face)))
  "PHP Mode face used to highlight keywords."
  :group 'php-faces
  :tag "PHP Keyword")

(defface php-builtin '((t (:inherit font-lock-builtin-face)))
  "PHP Mode face used to highlight builtins."
  :group 'php-faces
  :tag "PHP Built-in")

(defface php-function-name '((t (:inherit font-lock-function-name-face)))
  "PHP Mode face used to highlight function names."
  :group 'php-faces
  :tag "PHP Function Name")

(defface php-function-call-standard `((t ,(when (eval-when-compile (get 'font-lock-function-call-face 'face-defface-spec))
                                            '(:inherit font-lock-function-call-face))))
  "PHP Mode face used to highlight function names in calles."
  :group 'php-faces
  :tag "PHP Function Call Standard")

(defface php-function-call-traditional '((t ()))
  "PHP Mode face used to highlight function names in calles."
  :group 'php-faces
  :tag "PHP Function Call Traditional")

(define-obsolete-face-alias 'php-function-call 'php-function-call-traditional "1.26.0")

(defface php-method-call-standard '((t (:inherit php-function-call-standard)))
  "PHP Mode face used to highlight method names in calles."
  :group 'php-faces
  :tag "PHP Method Call Standard")

(defface php-method-call-traditional '((t (:inherit php-function-call-traditional)))
  "PHP Mode face used to highlight method names in calles."
  :group 'php-faces
  :tag "PHP Method Call Traditional")

(define-obsolete-face-alias 'php-method-call 'php-method-call-traditional "1.26.0")

(defface php-static-method-call-standard '((t (:inherit php-method-call-standard)))
  "PHP Mode face used to highlight static method names in calles."
  :group 'php-faces
  :tag "PHP Static Method Call Standard")

(defface php-static-method-call-traditional '((t (:inherit php-method-call-traditional)))
  "PHP Mode face used to highlight static method names in calles."
  :group 'php-faces
  :tag "PHP Static Method Call Traditional")

(define-obsolete-face-alias 'php-static-method-call 'php-static-method-call-traditional "1.26.0")

(defface php-variable-name '((t (:inherit font-lock-variable-name-face)))
  "PHP Mode face used to highlight variable names."
  :group 'php-faces
  :tag "PHP Variable Name")

(defface php-property-name '((t (:inherit php-variable-name)))
  "PHP Mode face used to highlight property names."
  :group 'php-faces
  :tag "PHP Property Name")

(defface php-variable-sigil '((t ()))
  "PHP Mode face used to highlight variable sigils ($)."
  :group 'php-faces
  :tag "PHP Variable Sigil")

(defface php-operator '((t ()))
  "PHP Mode face used to operators."
  :group 'php-faces
  :tag "PHP Operator")

(defface php-assignment-op '((t (:inherit php-operator)))
  "PHP Mode face used to assignment operators (=, +=, ...)."
  :group 'php-faces
  :tag "PHP Object Op")

(defface php-comparison-op '((t (:inherit php-operator)))
  "PHP Mode face used to comparison operators (==, !=, ===, ...)."
  :group 'php-faces
  :tag "PHP Comparison Op")

(defface php-logical-op '((t (:inherit php-operator)))
  "PHP Mode face used to logical operators (&&, ||, ?:)."
  :group 'php-faces
  :tag "PHP Logical Op")

(defface php-arithmetic-op '((t (:inherit php-operator)))
  "PHP Mode face used to arithmetic operators (+, -, %, ...)."
  :group 'php-faces
  :tag "PHP Arithmetic Op")

(defface php-inc-dec-op '((t (:inherit php-operator)))
  "PHP Mode face used to increment and decremt operators (--, ++)."
  :group 'php-faces
  :tag "PHP Increment/Decrement Op")

(defface php-string-op '((t (:inherit php-operator)))
  "PHP Mode face used to logical operators (.)."
  :group 'php-faces
  :tag "PHP String Op")

(defface php-object-op '((t (:inherit php-operator)))
  "PHP Mode face used to object operators (->)."
  :group 'php-faces
  :tag "PHP Object Op")

(defface php-paamayim-nekudotayim '((t ()))
  "PHP Mode face used to highlight scope resolution operators (::).
The operator is also knows as \"Paamayim Nekudotayim\"."
  :group 'php-faces
  :tag "PHP Paamayim Nekudotayim")

(defface php-type '((t (:inherit font-lock-type-face)))
  "PHP Mode face used to highlight types."
  :group 'php-faces
  :tag "PHP Type")

(defface php-class '((t (:inherit font-lock-type-face)))
  "PHP Mode face used to highlight class."
  :group 'php-faces
  :tag "PHP Class")

(defface php-constant '((t (:inherit font-lock-constant-face)))
  "PHP Mode face used to highlight constants."
  :group 'php-faces
  :tag "PHP Constant")

(defface php-constant-assign '((t (:inherit php-constant)))
  "PHP Mode face used to highlight constant assigning (\"const\" statement)."
  :group 'php-faces
  :tag "PHP Constant Assign")

(defface php-magical-constant '((t (:inherit font-lock-builtin-face)))
  "PHP Mode face used to highlight magical constants."
  :group 'php-faces
  :tag "PHP Magical Constant")

(defface php-this '((t (:inherit php-constant)))
  "PHP Mode face used to highlight $this variables."
  :group 'php-faces
  :tag "PHP $this")

(defface php-this-sigil '((t (:inherit php-constant)))
  "PHP Mode face used to highlight sigils($) of $this variable."
  :group 'php-faces
  :tag "PHP $this Sigil")

(define-obsolete-face-alias 'php-$this 'php-this "1.26.0")
(define-obsolete-face-alias 'php-$this-sigil 'php-this-sigil "1.26.0")

(defface php-errorcontrol-op '((t (:inherit font-lock-type-face)))
  "PHP Mode face used to highlight errorcontrol operators (@).."
  :group 'php-faces
  :tag "PHP ErrorControl Op")

(defface php-php-tag '((t (:inherit font-lock-preprocessor-face)))
  "PHP Mode face used to highlight PHP tags."
  :group 'php-faces
  :tag "PHP php Tag")

(defface php-doc-annotation-tag (eval-when-compile
                                  (if (eval-when-compile (boundp 'font-lock-doc-markup-face))
                                      '((t . (:inherit font-lock-doc-markup-face)))
                                    '((t . (:inherit font-lock-constant-face)))))
  "Face used to highlight annotation tags in doc-comment."
  :group 'php-faces
  :tag "PHPDoc Annotation Tag")

(defface php-doc-variable-sigil '((t (:inherit font-lock-variable-name-face)))
  "PHP Mode face used to highlight variable sigils($)."
  :group 'php-faces
  :tag "PHPDoc Variable Sigil")

(defface php-doc-$this '((t (:inherit php-type)))
  "PHP Mode face used to highlight $this variable in doc-comment."
  :group 'php-faces
  :tag "PHPDoc $this")

(defface php-doc-$this-sigil '((t (:inherit php-type)))
  "PHP Mode face used to highlight sigil of $this variable in doc-comment."
  :group 
Download .txt
gitextract_a_cz8plx/

├── .dir-locals.el
├── .github/
│   ├── dependabot.yml
│   └── workflows/
│       └── test.yml
├── .gitignore
├── .mailmap
├── AUTHORS.md
├── CHANGELOG.md
├── CONTRIBUTING.md
├── Eask
├── LICENSE
├── Makefile
├── README.ja.md
├── README.md
├── docs/
│   └── php-align/
│       └── README.md
├── etc/
│   └── git/
│       ├── AUTHORS.md.in
│       ├── AUTHORS2.md.in
│       ├── commit-template.txt
│       ├── former-contributors
│       └── prepare-commit-msg
├── lisp/
│   ├── .editorconfig
│   ├── php-align.el
│   ├── php-complete.el
│   ├── php-defs.el
│   ├── php-face.el
│   ├── php-flymake.el
│   ├── php-format.el
│   ├── php-ide-phpactor.el
│   ├── php-ide.el
│   ├── php-local-manual.el
│   ├── php-mode-debug.el
│   ├── php-mode.el
│   ├── php-project.el
│   └── php.el
├── script/
│   ├── README.md
│   ├── data/
│   │   └── module_id_prefixes.php
│   ├── extract_functions.php
│   └── module_id_prefixes.php
└── tests/
    ├── .dir-locals.el
    ├── .editorconfig
    ├── 7.4/
    │   ├── arrow-function.php
    │   ├── arrow-function.php.faces
    │   ├── typed-property.php
    │   └── typed-property.php.faces
    ├── 8.0/
    │   └── attribute/
    │       ├── class.php
    │       ├── class.php.faces
    │       ├── function.php
    │       ├── function.php.faces
    │       ├── function2.php
    │       └── function2.php.faces
    ├── 8.1/
    │   ├── enum.php
    │   ├── enum.php.faces
    │   ├── readonly.php
    │   └── readonly.php.faces
    ├── 8.4/
    │   ├── property-hooks.php
    │   └── property-hooks.php.faces
    ├── README.md
    ├── arrays.php
    ├── arrays.php.faces
    ├── constants.php
    ├── constants.php.faces
    ├── identifiers.php
    ├── identifiers.php.faces
    ├── indent/
    │   ├── issue-227.php
    │   ├── issue-623.php
    │   ├── issue-702.php
    │   ├── issue-726.php
    │   ├── issue-774.php
    │   └── issue-793.php
    ├── issue-100.php
    ├── issue-102.php
    ├── issue-115.php
    ├── issue-124.php
    ├── issue-129.php
    ├── issue-130.php
    ├── issue-135.php
    ├── issue-136.php
    ├── issue-136.php.faces
    ├── issue-14.php
    ├── issue-144.php
    ├── issue-145.php
    ├── issue-16.php
    ├── issue-174.php
    ├── issue-175.php
    ├── issue-178.php
    ├── issue-18.php
    ├── issue-184.php
    ├── issue-186.php
    ├── issue-19.php
    ├── issue-197.php
    ├── issue-197.php.faces
    ├── issue-200.php
    ├── issue-201.php
    ├── issue-201.php.faces
    ├── issue-21.php
    ├── issue-211.php
    ├── issue-22.php
    ├── issue-237.php
    ├── issue-253.php
    ├── issue-259.php
    ├── issue-27.php
    ├── issue-28.php
    ├── issue-29.php
    ├── issue-305.php
    ├── issue-305.php.faces
    ├── issue-307.php
    ├── issue-310.php
    ├── issue-314.php
    ├── issue-333.php
    ├── issue-42.php
    ├── issue-439.php
    ├── issue-439.php.faces
    ├── issue-443.php
    ├── issue-443.php.27.faces
    ├── issue-443.php.faces
    ├── issue-503.php
    ├── issue-53.php
    ├── issue-66-bracket-namespace.php
    ├── issue-66-multi-namespace.php
    ├── issue-66-namespace.php
    ├── issue-66-use-namespace.php
    ├── issue-66.php
    ├── issue-68.php
    ├── issue-73.php
    ├── issue-83.php
    ├── issue-9.php
    ├── issue-99.php
    ├── lang/
    │   ├── class/
    │   │   ├── anonymous-class.php
    │   │   └── anonymous-class.php.faces
    │   ├── constants/
    │   │   ├── const.php
    │   │   └── const.php.faces
    │   ├── doc-comment/
    │   │   ├── annotation.php
    │   │   ├── annotation.php.faces
    │   │   ├── comments.php
    │   │   ├── comments.php.24.faces
    │   │   ├── comments.php.27.faces
    │   │   ├── comments.php.faces
    │   │   ├── inheritdoc.php
    │   │   ├── inheritdoc.php.faces
    │   │   ├── issue-8.php
    │   │   ├── issue-8.php.faces
    │   │   ├── return-type.php
    │   │   └── return-type.php.faces
    │   ├── errorcontrol.php
    │   ├── errorcontrol.php.faces
    │   ├── function/
    │   │   ├── calls.php
    │   │   ├── calls.php.faces
    │   │   ├── closure.php
    │   │   └── closure.php.faces
    │   ├── import/
    │   │   ├── import-constant.php
    │   │   ├── import-constant.php.faces
    │   │   ├── import-function.php
    │   │   └── import-function.php.faces
    │   ├── magical-constants/
    │   │   ├── echo.php
    │   │   └── echo.php.faces
    │   ├── try-cactch/
    │   │   ├── multiple.php
    │   │   └── multiple.php.faces
    │   └── types/
    │       ├── cast.php
    │       ├── cast.php.faces
    │       ├── function.php
    │       ├── function.php.faces
    │       ├── keywords.php
    │       └── keywords.php.faces
    ├── language-constructs.php
    ├── namespace-block.php
    ├── php-mode-test.el
    ├── profiler/
    │   └── large-string-interpolation.php
    ├── project/
    │   └── 1/
    │       ├── .editorconfig
    │       ├── .hg
    │       ├── .projectile
    │       ├── .svn
    │       ├── composer.json
    │       └── src/
    │           └── functions.php
    ├── static-method-calls.php
    ├── static-method-calls.php.faces
    ├── switch-statements.php
    ├── template.php
    ├── type-hints.php
    ├── type-hints.php.29.faces
    ├── type-hints.php.faces
    ├── variables.php
    └── variables.php.faces
Download .txt
SYMBOL INDEX (114 symbols across 36 files)

FILE: script/extract_functions.php
  function get_module (line 109) | function get_module(array $function, array $patterns): ?string

FILE: tests/7.4/typed-property.php
  class Typed (line 3) | class Typed
    method __construct (line 9) | public function __construct($var = null)
    method print (line 14) | public function print()

FILE: tests/8.0/attribute/class.php
  class Klass (line 5) | #[ExampleAttribute]
    method f1 (line 9) | #[ExampleAttribute]
    method foo (line 12) | #[WithoutArgument]
    method bar (line 17) | #[WithoutArgument] #[SingleArgument(0)] #[FewArguments('Hello', 'World')]
    method buz (line 20) | #[Attr2("foo"), Attr2("bar")]

FILE: tests/8.0/attribute/function.php
  function f1 (line 3) | #[ExampleAttribute]
  function foo (line 6) | #[WithoutArgument]
  function bar (line 11) | #[WithoutArgument]#[SingleArgument(0)]#[FewArguments('Hello', 'World')]

FILE: tests/8.0/attribute/function2.php
  function f (line 3) | #[

FILE: tests/8.1/enum.php
  method fromLength (line 9) | public static function fromLength(int $cm)

FILE: tests/8.1/readonly.php
  class Foo (line 3) | class Foo
    method __construct (line 8) | public function __construct(

FILE: tests/8.4/property-hooks.php
  class Person (line 3) | class Person

FILE: tests/indent/issue-227.php
  function my_func (line 9) | function my_func() {

FILE: tests/issue-100.php
  class Foo (line 21) | class Foo

FILE: tests/issue-124.php
  function bar (line 17) | function bar()

FILE: tests/issue-129.php
  class MyClass (line 11) | class MyClass
    method foo (line 13) | public final function foo()

FILE: tests/issue-135.php
  function foo (line 23) | function foo() {
  class Test (line 54) | class Test {
    method test (line 55) | public function test() {

FILE: tests/issue-136.php
  class User (line 19) | class User
    method getName (line 24) | public function getName()
    method getID (line 29) | public function getID()

FILE: tests/issue-145.php
  function bar (line 10) | function bar() {

FILE: tests/issue-178.php
  class Test (line 13) | class Test {

FILE: tests/issue-184.php
  function test (line 13) | function test() {

FILE: tests/issue-19.php
  class Whatever (line 21) | class Whatever
    method __construct (line 23) | public function __construct()
    method something (line 30) | public function something()
  function something (line 44) | function something()

FILE: tests/issue-200.php
  class Foo (line 11) | class Foo
    method test (line 13) | public function test()

FILE: tests/issue-237.php
  function foo (line 12) | function foo() {

FILE: tests/issue-253.php
  class A (line 9) | class A {
    method a (line 10) | function a($x = null) {
    method b (line 16) | function b($x = null) {

FILE: tests/issue-310.php
  function a (line 3) | function a() : string {

FILE: tests/issue-333.php
  class Hello (line 12) | class Hello
    method __construct (line 24) | public function __construct(

FILE: tests/issue-503.php
  function foo (line 2) | function foo () {

FILE: tests/issue-53.php
  class Foo (line 14) | class Foo {
    method __construct (line 18) | public function __construct($bar) {
    method getBar (line 22) | public function getBar() {

FILE: tests/issue-66-bracket-namespace.php
  class Connection (line 13) | class Connection { /* ... */ }
  function connect (line 14) | function connect() { /* ... */  }
  function myfun (line 18) | function myfun() {

FILE: tests/issue-66-multi-namespace.php
  class Connection (line 13) | class Connection { /* ... */ }
  function connect (line 14) | function connect() { /* ... */  }
  class Connection (line 19) | class Connection { /* ... */ }
  function connect (line 20) | function connect() { /* ... */  }

FILE: tests/issue-66-namespace.php
  class MyClass (line 15) | class MyClass {}
  function myfunction (line 16) | function myfunction() {}

FILE: tests/issue-66-use-namespace.php
  class TheClass (line 17) | class TheClass {
    method __construct (line 18) | public function __construct() {

FILE: tests/issue-66.php
  function inverse (line 13) | function inverse($x) {

FILE: tests/issue-83.php
  class Test (line 11) | class Test
    method staticBeforeVisibility (line 13) | static public function staticBeforeVisibility()
    method staticAfterVisibility (line 18) | public static function staticAfterVisibility()

FILE: tests/lang/doc-comment/annotation.php
  class User (line 10) | class User
  class Child (line 17) | class Child extends Parent_

FILE: tests/lang/doc-comment/comments.php
  class SampleClass (line 41) | final class SampleClass
    method __construct (line 51) | public function __construct($name)
    method test (line 70) | public function test()

FILE: tests/lang/doc-comment/issue-8.php
  class Product (line 16) | class Product

FILE: tests/namespace-block.php
  function hoge (line 27) | function hoge()  // ###php-mode-test### ((indent c-basic-offset))
  function fuga (line 32) | function fuga() :array // ###php-mode-test### ((indent c-basic-offset))
  class Fizz (line 37) | class Fizz             // ###php-mode-test### ((indent c-basic-offset))
    method a (line 39) | static             // ###php-mode-test### ((indent (* 2 c-basic-offset)))
  class Buzz (line 54) | class Buzz            // ###php-mode-test### ((indent c-basic-offset))
    method b (line 58) | function b // ###php-mode-test### ((indent (* 2 c-basic-offset)))

FILE: tests/type-hints.php
  class SomeClass (line 3) | class SomeClass
    method none (line 5) | public function none($title): void
    method title (line 9) | public function title(string $title): string
    method nullableTitle (line 13) | public function nullableTitle(?string $title): ?string
    method number (line 17) | public function number(int $number): int
    method nullableNumber (line 21) | public function nullableNumber(?int $number): ?int
    method otherNumber (line 25) | public function otherNumber(float $number): float
    method nullableOtherNumber (line 29) | public function nullableOtherNumber(?float $number): ?float
    method flag (line 33) | public function flag(bool $flag): bool
    method nullableFlag (line 37) | public function nullableFlag(?bool $flag): ?bool
    method options (line 41) | public function options(array $options): array
    method nullableOptions (line 45) | public function nullableOptions(?array $options): ?array
    method object (line 49) | public function object(stdClass $object): stdClass
    method nullableObject (line 53) | public function nullableObject(?stdClass $object): ?stdClass
    method nsObject (line 57) | public function nsObject(\path\to\my\Object $object): \path\to\my\Object
    method nullableNsObject (line 61) | public function nullableNsObject(?\path\to\my\Object $object): ?\path\...
    method callable (line 65) | public function callable(callable $callable): callable
    method nullableCallable (line 69) | public function nullableCallable(?callable $callable): ?callable
    method someFunction (line 73) | public function someFunction(
    method getNone (line 84) | public function getNone(
    method getTitle (line 88) | public function getTitle(
    method getNullableTitle (line 92) | public function getNullableTitle(
    method getNumber (line 96) | public function getNumber(
    method getNullableNumber (line 100) | public function getNullableNumber(
    method getOtherNumber (line 104) | public function getOtherNumber(
    method getNullableOtherNumber (line 108) | public function getNullableOtherNumber(
    method getFlag (line 112) | public function getFlag(
    method getNullableFlag (line 116) | public function getNullableFlag(
    method getOptions (line 120) | public function getOptions(
    method getNullableOptions (line 124) | public function getNullableOptions(
    method getObject (line 128) | public function getObject(
    method getNullableObject (line 132) | public function getNullableObject(
    method getOtherObject (line 136) | abstract public function getOtherObject(
    method getOtherNullableObject (line 139) | abstract public function getOtherNullableObject(
    method getNsObject (line 142) | public function getNsObject(
    method getNullableNsObject (line 146) | public function getNullableNsObject(
    method getCallable (line 150) | public function getCallable(
    method getNullableCallable (line 154) | public function getNullableCallable(
    method neverReturn (line 158) | public function neverReturn(
Condensed preview — 181 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (679K chars).
[
  {
    "path": ".dir-locals.el",
    "chars": 61,
    "preview": "((emacs-lisp-mode (package-lint-main-file . \"php-mode.el\")))\n"
  },
  {
    "path": ".github/dependabot.yml",
    "chars": 111,
    "preview": "version: 2\nupdates:\n  - package-ecosystem: github-actions\n    directory: /\n    schedule:\n      interval: daily\n"
  },
  {
    "path": ".github/workflows/test.yml",
    "chars": 1359,
    "preview": "name: CI\n\non:\n  push:\n    paths-ignore:\n    - '**/*.md'\n    - 'etc/*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ gi"
  },
  {
    "path": ".gitignore",
    "chars": 120,
    "preview": "*.elc\n*~\n.dir-locals-2.el\n/.cask/*\n/.eask/*\n/.keg/*\n/dist\n/.php-cs-fixer.cache\nphp-mode-autoloads.el\nphp_manual_en.json\n"
  },
  {
    "path": ".mailmap",
    "chars": 492,
    "preview": "Elis Axelsson <elis.axelsson@gmail.com> Elis <elis.axelsson@gmail.com>\nDavid Arroyo Menéndez <davidam@gnu.org> David Arr"
  },
  {
    "path": "AUTHORS.md",
    "chars": 2461,
    "preview": "# Authors\n\n## Author\n\n- [Turadg Aleahmad](https://github.com/turadg) (Original Author)\n- [Daniel Hackney](https://github"
  },
  {
    "path": "CHANGELOG.md",
    "chars": 26955,
    "preview": "# Changes for PHP Mode by Version\n\nAll notable changes of the PHP Mode 1.19.1 release series are documented in this file"
  },
  {
    "path": "CONTRIBUTING.md",
    "chars": 3947,
    "preview": "# How to Contribute\n\nThis project accepts contributions in various languages.  Not only development but also documentati"
  },
  {
    "path": "Eask",
    "chars": 871,
    "preview": ";; -*- mode: eask; lexical-binding: t -*-\n\n(package \"php-mode\"\n         \"1.26.1\"\n         \"Major mode for editing PHP co"
  },
  {
    "path": "LICENSE",
    "chars": 35149,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
  },
  {
    "path": "Makefile",
    "chars": 1362,
    "preview": "EMACS ?= emacs\nCASK ?= cask\nEASK ?= eask\n\ncompile:\n\t$(EASK) compile\n\nall: autoloads $(ELCS) authors\n\nauthors: AUTHORS.md"
  },
  {
    "path": "README.ja.md",
    "chars": 5021,
    "preview": "<div align=\"center\">\n  <h1>Emacs PHP Mode</h1>\n\n[![Emacs: 30.0](https://img.shields.io/badge/Emacs-30.0-blue.svg)](https"
  },
  {
    "path": "README.md",
    "chars": 5835,
    "preview": "<div align=\"center\">\n  <h1>Emacs PHP Mode</h1>\n\n[![Emacs: 30.0](https://img.shields.io/badge/Emacs-30.0-blue.svg)](https"
  },
  {
    "path": "docs/php-align/README.md",
    "chars": 1181,
    "preview": "# php-align.el\n\nCAUTION!! this is still experimental.\n\nSupport alignment (e.g. `align`, `align-current`) for PHP.\n\nPut t"
  },
  {
    "path": "etc/git/AUTHORS.md.in",
    "chars": 600,
    "preview": "# Authors\n\n## Author\n\n- [Turadg Aleahmad](https://github.com/turadg) (Original Author)\n- [Daniel Hackney](https://github"
  },
  {
    "path": "etc/git/AUTHORS2.md.in",
    "chars": 349,
    "preview": "\nA chronological list of pre-2019 contributors can be found at [wiki/Authors](https://github.com/emacs-php/php-mode/wiki"
  },
  {
    "path": "etc/git/commit-template.txt",
    "chars": 241,
    "preview": "# SUBJECT, 50 Characters, No Period\n# \"If applied, this commit will...\"\n\n# BODY, 72 Characters\n# Answers the question, \""
  },
  {
    "path": "etc/git/former-contributors",
    "chars": 479,
    "preview": "- Aaron S. Hawley\n- Bill Lovett\n- Boris Folgmann\n- Chris Morris\n- Craig Andrews\n- David House\n- Dias Badekas\n- Doug Marc"
  },
  {
    "path": "etc/git/prepare-commit-msg",
    "chars": 1187,
    "preview": "#!/bin/sh\n#\n# prepare-commit-msg\n# ==================\n#\n# ## SYNOPSIS\n#\n# This hook fills the user's editor with a pre-w"
  },
  {
    "path": "lisp/.editorconfig",
    "chars": 246,
    "preview": "# EditorConfig is awesome: http://EditorConfig.org\n\n# top-most EditorConfig file\nroot = true\n\n# Unix-style newlines with"
  },
  {
    "path": "lisp/php-align.el",
    "chars": 4243,
    "preview": ";;; php-align.el --- Alignment configuration for PHP  -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2011  tetsujin (Yusu"
  },
  {
    "path": "lisp/php-complete.el",
    "chars": 4620,
    "preview": ";;; php-complete.el --- PHP auto-compiletion functions         -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2023  Frien"
  },
  {
    "path": "lisp/php-defs.el",
    "chars": 92289,
    "preview": ";;; php-defs.el --- Provide PHP keyword definitions  -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2023  Friends of Emac"
  },
  {
    "path": "lisp/php-face.el",
    "chars": 9793,
    "preview": ";;; php-face.el --- Face definitions for PHP script  -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2023  Friends of Emac"
  },
  {
    "path": "lisp/php-flymake.el",
    "chars": 5491,
    "preview": ";;; php-flymake.el --- Flymake backend for PHP       -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2023  Friends of Emac"
  },
  {
    "path": "lisp/php-format.el",
    "chars": 9483,
    "preview": ";;; php-format.el --- Code reformatter for PHP buffer  -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2020  Friends of Em"
  },
  {
    "path": "lisp/php-ide-phpactor.el",
    "chars": 5271,
    "preview": ";;; php-ide-phpactor.el --- PHP-IDE feature using Phpactor RPC -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2023  Frien"
  },
  {
    "path": "lisp/php-ide.el",
    "chars": 9124,
    "preview": ";;; php-ide.el --- IDE-like UI support for PHP development -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2023  Friends o"
  },
  {
    "path": "lisp/php-local-manual.el",
    "chars": 9605,
    "preview": ";;; php-local-manual.el --- Tools for local PHP manual -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2023  Friends of Em"
  },
  {
    "path": "lisp/php-mode-debug.el",
    "chars": 6617,
    "preview": ";;; php-mode-debug.el --- Debug functions for PHP Mode  -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2023  Friends of E"
  },
  {
    "path": "lisp/php-mode.el",
    "chars": 64057,
    "preview": ";;; php-mode.el --- Major mode for editing PHP code  -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2024  Friends of Emac"
  },
  {
    "path": "lisp/php-project.el",
    "chars": 10831,
    "preview": ";;; php-project.el --- Project support for PHP application  -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2023  Friends "
  },
  {
    "path": "lisp/php.el",
    "chars": 32228,
    "preview": ";;; php.el --- PHP support for friends               -*- lexical-binding: t; -*-\n\n;; Copyright (C) 2023  Friends of Emac"
  },
  {
    "path": "script/README.md",
    "chars": 1296,
    "preview": "\n# Maintenance script for PHP Mode\n\nThese scripts are provided for maintenance of PHP Mode.\n\n## Extract PHP Functions\n\nT"
  },
  {
    "path": "script/data/module_id_prefixes.php",
    "chars": 21204,
    "preview": "<?php\n\n/**\n * Classify function modules by function-id\n *\n * @copyright 2023 Friends of Emacs-PHP development\n * @author"
  },
  {
    "path": "script/extract_functions.php",
    "chars": 3422,
    "preview": "#!/usr/bin/env php\n<?php\n\n/**\n * Extract PHP Functions\n *\n * @copyright 2023 Friends of Emacs-PHP development\n * @author"
  },
  {
    "path": "script/module_id_prefixes.php",
    "chars": 20158,
    "preview": "<?php\n\nreturn [\n    'apache' => [\n        'function.apache-',\n        'function.virtual',\n    ],\n    'apcu' => [\n       "
  },
  {
    "path": "tests/.dir-locals.el",
    "chars": 64,
    "preview": "((emacs-lisp-mode (package-lint-main-file . \"../php-mode.el\")))\n"
  },
  {
    "path": "tests/.editorconfig",
    "chars": 253,
    "preview": "# EditorConfig is awesome: http://EditorConfig.org\n\n# top-most EditorConfig file\nroot = false\n\n# Unix-style newlines wit"
  },
  {
    "path": "tests/7.4/arrow-function.php",
    "chars": 248,
    "preview": "<?php\n\n/**\n * GitHub-Issue: https://github.com/emacs-php/php-mode/issues/506\n *\n * @see https://wiki.php.net/rfc/arrow_f"
  },
  {
    "path": "tests/7.4/arrow-function.php.faces",
    "chars": 1904,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * GitHub-Issue: https://github.com/emacs-php/php"
  },
  {
    "path": "tests/7.4/typed-property.php",
    "chars": 262,
    "preview": "<?php\n\nclass Typed\n{\n    private ?string $string;\n\n    private Hoge $hoge;\n\n    public function __construct($var = null)"
  },
  {
    "path": "tests/7.4/typed-property.php.faces",
    "chars": 1358,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"class\" . php-class-declaration)\n (\" \")\n (\"Typed\" . fon"
  },
  {
    "path": "tests/8.0/attribute/class.php",
    "chars": 383,
    "preview": "<?php\n\n# Comment\n\n#[ExampleAttribute]\n#[Attr1, Attr2]\nclass Klass\n{\n    #[ExampleAttribute]\n    function f1() { }\n\n    #"
  },
  {
    "path": "tests/8.0/attribute/class.php.faces",
    "chars": 1236,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\n\n\")\n (\"# \" . font-lock-comment-delimiter-face)\n (\"Comment\n\" . f"
  },
  {
    "path": "tests/8.0/attribute/function.php",
    "chars": 229,
    "preview": "<?php\n\n#[ExampleAttribute]\nfunction f1() { }\n\n#[WithoutArgument]\n#[SingleArgument(0)]\n#[FewArguments('Hello', 'World')]\n"
  },
  {
    "path": "tests/8.0/attribute/function.php.faces",
    "chars": 734,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\n\n#[ExampleAttribute]\n\")\n (\"function\" . php-keyword)\n (\" \")\n (\"f"
  },
  {
    "path": "tests/8.0/attribute/function2.php",
    "chars": 78,
    "preview": "<?php\n\n#[\n Deprecated\n]\nfunction f($arg1,\n #[Deprecated] $arg2){}\n#Deprecated\n"
  },
  {
    "path": "tests/8.0/attribute/function2.php.faces",
    "chars": 381,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\n\n#[\n Deprecated\n]\n\")\n (\"function\" . php-keyword)\n (\" \")\n (\"f\" ."
  },
  {
    "path": "tests/8.1/enum.php",
    "chars": 288,
    "preview": "<?php\n\nenum Size\n{\n    case Small;\n    case Medium;\n    case Large;\n\n    public static function fromLength(int $cm)\n    "
  },
  {
    "path": "tests/8.1/enum.php.faces",
    "chars": 1424,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\n\n\")\n (\"enum\" . php-keyword)\n (\" \")\n (\"Size\" . font-lock-type-fa"
  },
  {
    "path": "tests/8.1/readonly.php",
    "chars": 300,
    "preview": "<?php\n\nclass Foo\n{\n    private readonly string $p1;\n    public readonly int $p2;\n\n    public function __construct(\n     "
  },
  {
    "path": "tests/8.1/readonly.php.faces",
    "chars": 1334,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\n\n\")\n (\"class\" . php-class-declaration)\n (\" \")\n (\"Foo\" . font-lo"
  },
  {
    "path": "tests/8.4/property-hooks.php",
    "chars": 892,
    "preview": "<?php\n\nclass Person\n{\n    // A \"virtual\" property.  It may not be set explicitly.\n    public string $fullName {\n        "
  },
  {
    "path": "tests/8.4/property-hooks.php.faces",
    "chars": 3674,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"class\" . php-class-declaration)\n (\" \")\n (\"Person\" . fo"
  },
  {
    "path": "tests/README.md",
    "chars": 663,
    "preview": "Tests\n=====\n\nThis directory contains tests for PHP Mode.  Each test begins with a\ncomment header explaining the purpose "
  },
  {
    "path": "tests/arrays.php",
    "chars": 413,
    "preview": "<?php\n\n// Array should be treated like a normal keyword\n$test = array();\n\n$test = function($test = array()) {\n};\n\n// Arr"
  },
  {
    "path": "tests/arrays.php.faces",
    "chars": 1716,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"// \" . font-lock-comment-delimiter-face)\n (\"Array shou"
  },
  {
    "path": "tests/constants.php",
    "chars": 460,
    "preview": "<?php\n\n// Test c-lang-defconst c-constant-kwds\ntrue === TRUE;\nfalse === FALSE;\nnull === NULL;\n\n// Test built-in font-loc"
  },
  {
    "path": "tests/constants.php.faces",
    "chars": 1649,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"// \" . font-lock-comment-delimiter-face)\n (\"Test c-lan"
  },
  {
    "path": "tests/identifiers.php",
    "chars": 493,
    "preview": "<?php\n\n$object = new UnqualifiedClassName;\n$object = new \\FullyQualifiedClassName;\n$object = new SpaceName\\NamespacedCla"
  },
  {
    "path": "tests/identifiers.php.faces",
    "chars": 1862,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"$\" . php-variable-sigil)\n (\"object\" . php-variable-nam"
  },
  {
    "path": "tests/indent/issue-227.php",
    "chars": 255,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/227\n *\n * Indentation of multi-line strings\n"
  },
  {
    "path": "tests/indent/issue-623.php",
    "chars": 521,
    "preview": "<?php\n\n$object = new DateTime();\n\n$object->something()\n    ->something(); // ###php-mode-test### ((indent 4))\n\nvar_dump("
  },
  {
    "path": "tests/indent/issue-702.php",
    "chars": 830,
    "preview": "<?php\n\nPHP_VERSION_ID === 80000\n    ? 'foo'\n    : 'bar';\n\n$a = [\n    'key' => PHP_VERSION_ID === 80000\n        ? 'foo'\n "
  },
  {
    "path": "tests/indent/issue-726.php",
    "chars": 272,
    "preview": "<?php\n$a = [\n    'aaa' => [\n        'bee' => 2,\n    ],\n    // 'foo' => [\n    //      'bar' => 1,\n    // ],\n    // ###php"
  },
  {
    "path": "tests/indent/issue-774.php",
    "chars": 502,
    "preview": "<?php\n\n$someObject->someFunction(\"some\", \"parameter\") // ###php-mode-test### ((indent 0))\n    ->someOtherFunc(23, 42) //"
  },
  {
    "path": "tests/indent/issue-793.php",
    "chars": 187,
    "preview": "<?php\n\nreturn [\n    'foo' => 1, // ###php-mode-test### ((indent 4))\n    'bar' => 2,\n\n'buz' => 3, // ###php-mode-test### "
  },
  {
    "path": "tests/issue-100.php",
    "chars": 507,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/100\n *\n * The code below should appear like "
  },
  {
    "path": "tests/issue-102.php",
    "chars": 494,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/102\n *\n * Every line of code in the form of\n"
  },
  {
    "path": "tests/issue-115.php",
    "chars": 1003,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/115\n *\n * This tests for aligning method cal"
  },
  {
    "path": "tests/issue-124.php",
    "chars": 421,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/124\n *\n * PHP Mode must highlight the heredo"
  },
  {
    "path": "tests/issue-129.php",
    "chars": 289,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/129\n *\n * PHP Mode should use 'font-lock-key"
  },
  {
    "path": "tests/issue-130.php",
    "chars": 587,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/130\n *\n * Test indentation arrays\n */\n\n$some"
  },
  {
    "path": "tests/issue-135.php",
    "chars": 1944,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/135\n *\n * Test indentation of method calls\n "
  },
  {
    "path": "tests/issue-136.php",
    "chars": 1149,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/136\n *\n * The code below contains strings wi"
  },
  {
    "path": "tests/issue-136.php.faces",
    "chars": 6175,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * File level doc-comment\\n *\\n * \" . font-lock-d"
  },
  {
    "path": "tests/issue-14.php",
    "chars": 696,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/14\n *\n * The code below should be formatted "
  },
  {
    "path": "tests/issue-144.php",
    "chars": 241,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/144\n *\n * Indentation test '#' comment line "
  },
  {
    "path": "tests/issue-145.php",
    "chars": 331,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/145\n *\n * This tests closure indentation.\n *"
  },
  {
    "path": "tests/issue-16.php",
    "chars": 460,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues16\n *\n * The third 'use' statement, with comm"
  },
  {
    "path": "tests/issue-174.php",
    "chars": 226,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/174\n *\n * Test highlighting of string litera"
  },
  {
    "path": "tests/issue-175.php",
    "chars": 182,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/175\n *\n * PHP mode should not highlight more"
  },
  {
    "path": "tests/issue-178.php",
    "chars": 241,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/178\n *\n * Test highlighting of \"as\" keyword\n"
  },
  {
    "path": "tests/issue-18.php",
    "chars": 496,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/18\n *\n * If we run indent-region on the code"
  },
  {
    "path": "tests/issue-184.php",
    "chars": 364,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/184\n *\n * Test indentation of statements at "
  },
  {
    "path": "tests/issue-186.php",
    "chars": 1332,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/186\n *\n * Test indentation of case body prec"
  },
  {
    "path": "tests/issue-19.php",
    "chars": 947,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/19\n *\n * If we run indent-region on the code"
  },
  {
    "path": "tests/issue-197.php",
    "chars": 237,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/197\n *\n * Test that member highlighting goes"
  },
  {
    "path": "tests/issue-197.php.faces",
    "chars": 893,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * GitHub Issue:    https://github.com/emacs-php/"
  },
  {
    "path": "tests/issue-200.php",
    "chars": 326,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/200\n *\n * There are extra whitespaces in the"
  },
  {
    "path": "tests/issue-201.php",
    "chars": 187,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/201\n *\n * Test highighting of $this\n */\n\n// "
  },
  {
    "path": "tests/issue-201.php.faces",
    "chars": 924,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * GitHub Issue:    https://github.com/emacs-php/"
  },
  {
    "path": "tests/issue-21.php",
    "chars": 275,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/21\n *\n * This test contains a multiline stri"
  },
  {
    "path": "tests/issue-211.php",
    "chars": 353,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/211\n *\n * Indentation of string concatinatio"
  },
  {
    "path": "tests/issue-22.php",
    "chars": 496,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/22\n *\n * Emacs should highlight all three co"
  },
  {
    "path": "tests/issue-237.php",
    "chars": 413,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/237\n *\n * Indentation of chaining method for"
  },
  {
    "path": "tests/issue-253.php",
    "chars": 306,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/253\n *\n * Highlighting fails after a string "
  },
  {
    "path": "tests/issue-259.php",
    "chars": 1083,
    "preview": "/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/259\n *\n * This code shows how writing a closure whi"
  },
  {
    "path": "tests/issue-27.php",
    "chars": 504,
    "preview": "#!/usr/bin/env php\n<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/27\n *\n * The file tests i"
  },
  {
    "path": "tests/issue-28.php",
    "chars": 10557,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/28\n *\n * This is a performance test that (li"
  },
  {
    "path": "tests/issue-29.php",
    "chars": 388,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/29\n *\n * The mode should format the code bel"
  },
  {
    "path": "tests/issue-305.php",
    "chars": 164,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/305\n *\n * Test highighting of $this_foo, $th"
  },
  {
    "path": "tests/issue-305.php.faces",
    "chars": 689,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * GitHub Issue:    https://github.com/emacs-php/"
  },
  {
    "path": "tests/issue-307.php",
    "chars": 31,
    "preview": "<?php\n\n// It's the apostrophe.\n"
  },
  {
    "path": "tests/issue-310.php",
    "chars": 102,
    "preview": "<?php\n\nfunction a() : string {\n    return 'world';\n}\necho 'hello'; // ###php-mode-test### ((indent 0))"
  },
  {
    "path": "tests/issue-314.php",
    "chars": 31,
    "preview": "<?php\n\n// It's the apostrophe.\n"
  },
  {
    "path": "tests/issue-333.php",
    "chars": 443,
    "preview": "<?php\n\nnamespace SlowNamespace\\More\\Levels;\n\nuse Carbon\\Carbon;\nuse Illuminate\\Support\\Collection;\n\n/**\n * @author Charl"
  },
  {
    "path": "tests/issue-42.php",
    "chars": 650,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/42\n *\n * Indenting the code below, particula"
  },
  {
    "path": "tests/issue-439.php",
    "chars": 433,
    "preview": "<?php\n\n/**\n * GitHub Issue:  https://github.com/emacs-php/php-mode/issues/439\n */\n\n$a = <<<ABC\nLet'go Justin\nABC;\n\n$b = "
  },
  {
    "path": "tests/issue-439.php.faces",
    "chars": 1580,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * GitHub Issue:  https://github.com/emacs-php/ph"
  },
  {
    "path": "tests/issue-443.php",
    "chars": 327,
    "preview": "<?php declare(strict_types=1); ?>\n/** GitHub Issue: https://github.com/emacs-php/php-mode/issues/443 */\n<?xml version=\"1"
  },
  {
    "path": "tests/issue-443.php.27.faces",
    "chars": 1621,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\" \")\n (\"declare\" . php-keyword)\n (\"(\")\n (\"strict_types\" . php-key"
  },
  {
    "path": "tests/issue-443.php.faces",
    "chars": 1539,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\" \")\n (\"declare\" . php-keyword)\n (\"(\")\n (\"strict_types\" . php-key"
  },
  {
    "path": "tests/issue-503.php",
    "chars": 27,
    "preview": "<?php\nfunction foo () {\n\n}\n"
  },
  {
    "path": "tests/issue-53.php",
    "chars": 552,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/53\n *\n * Test if switching from Drupal codin"
  },
  {
    "path": "tests/issue-66-bracket-namespace.php",
    "chars": 450,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/66\n *\n * Namespace examples from\n * http://w"
  },
  {
    "path": "tests/issue-66-multi-namespace.php",
    "chars": 416,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/66\n *\n * Namespace examples from\n * http://w"
  },
  {
    "path": "tests/issue-66-namespace.php",
    "chars": 821,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/66\n *\n * Namespace examples from\n * http://w"
  },
  {
    "path": "tests/issue-66-use-namespace.php",
    "chars": 719,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/66\n *\n * Namespace examples from user commen"
  },
  {
    "path": "tests/issue-66.php",
    "chars": 727,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/66\n *\n * A large battery of tests to exercis"
  },
  {
    "path": "tests/issue-68.php",
    "chars": 1469,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/68\n *\n * The 'catch' keywords should align w"
  },
  {
    "path": "tests/issue-73.php",
    "chars": 604,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/73\n *\n * The `delete-indentation' function s"
  },
  {
    "path": "tests/issue-83.php",
    "chars": 357,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/83\n *\n * All static methods should appear on"
  },
  {
    "path": "tests/issue-9.php",
    "chars": 598,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/9\n *\n * The HTML below contains a single quo"
  },
  {
    "path": "tests/issue-99.php",
    "chars": 469,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/99\n *\n * The code below contains a 'foreach'"
  },
  {
    "path": "tests/lang/class/anonymous-class.php",
    "chars": 199,
    "preview": "<?php\n\n$class = new class () extends IteratorAggregate {\n    // ###php-mode-test### ((indent 4))\n};\n\nis_object(1, new cl"
  },
  {
    "path": "tests/lang/class/anonymous-class.php.faces",
    "chars": 828,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"$\" . php-variable-sigil)\n (\"class\" . php-variable-name"
  },
  {
    "path": "tests/lang/constants/const.php",
    "chars": 273,
    "preview": "<?php\n\nconst A = 'A';\nconst a = 'a';\nconst B='B';\nconst b='b';\nconst Aa = 'Aa';\nconst AA = 'AA';\nconst AB='AB';\nconst Ab"
  },
  {
    "path": "tests/lang/constants/const.php.faces",
    "chars": 1877,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"const\" . php-keyword)\n (\" \")\n (\"A\" . php-constant-assi"
  },
  {
    "path": "tests/lang/doc-comment/annotation.php",
    "chars": 184,
    "preview": "<?php\n\n/**\n * PSR-5 style tag annotation\n */\n\n/**\n * @MyProject\\Annotations\\Foobarable\n */\nclass User\n{\n}\n\n/**\n * @prope"
  },
  {
    "path": "tests/lang/doc-comment/annotation.php.faces",
    "chars": 925,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * PSR-5 style tag annotation\\n */\" . font-lock-d"
  },
  {
    "path": "tests/lang/doc-comment/comments.php",
    "chars": 1612,
    "preview": "<?php\n\n/**\n * File level doc-comment\n *\n * @copyright 1999, 2000, 2001, 2003, 2004 Turadg Aleahmad\n * @copyright 2008 Aa"
  },
  {
    "path": "tests/lang/doc-comment/comments.php.24.faces",
    "chars": 6354,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * File level doc-comment\\n *\\n * \" . font-lock-d"
  },
  {
    "path": "tests/lang/doc-comment/comments.php.27.faces",
    "chars": 6395,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * File level doc-comment\\n *\\n * \" . font-lock-d"
  },
  {
    "path": "tests/lang/doc-comment/comments.php.faces",
    "chars": 6354,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * File level doc-comment\\n *\\n * \" . font-lock-d"
  },
  {
    "path": "tests/lang/doc-comment/inheritdoc.php",
    "chars": 32,
    "preview": "<?php\n\n/**\n * {@inheritdoc}\n */\n"
  },
  {
    "path": "tests/lang/doc-comment/inheritdoc.php.faces",
    "chars": 200,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * \" . font-lock-doc-face)\n (\"{@inheritdoc}\" php-"
  },
  {
    "path": "tests/lang/doc-comment/issue-8.php",
    "chars": 799,
    "preview": "<?php\n\n/**\n * Github Issue:    https://github.com/emacs-php/php-mode/issues/8\n *\n * The code below contains annotations "
  },
  {
    "path": "tests/lang/doc-comment/issue-8.php.faces",
    "chars": 2120,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * Github Issue:    https://github.com/emacs-php/"
  },
  {
    "path": "tests/lang/doc-comment/return-type.php",
    "chars": 1621,
    "preview": "<?php\n\n/**\n * Test for type annotation in doc comment\n *\n * The specification is defined in PSR-5 (draft) Appendix A. Ty"
  },
  {
    "path": "tests/lang/doc-comment/return-type.php.faces",
    "chars": 8268,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"/**\\n * Test for type annotation in doc comment\\n *\\n "
  },
  {
    "path": "tests/lang/errorcontrol.php",
    "chars": 98,
    "preview": "<?php\n\nnew stdClass;\n@new stdClass;\necho @a.@b;\necho @a;\necho @$a;\n\n@fopen('php://memory', 'rw');\n"
  },
  {
    "path": "tests/lang/errorcontrol.php.faces",
    "chars": 633,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"new\" . php-keyword)\n (\" \")\n (\"stdClass\" . font-lock-ty"
  },
  {
    "path": "tests/lang/function/calls.php",
    "chars": 192,
    "preview": "<?php\n\nif (isset($foo)) {\n    1+bar()+foo();\n}\n\n$foo->string();\n$foo->isset();\n\n\n$a->b();\n$a = a();\n$aaa = aaa();\n$_aa ="
  },
  {
    "path": "tests/lang/function/calls.php.faces",
    "chars": 1937,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"if\" . php-keyword)\n (\" (\")\n (\"isset\" . php-keyword)\n ("
  },
  {
    "path": "tests/lang/function/closure.php",
    "chars": 164,
    "preview": "<?php\n\nis_object(static function () {\n    // ###php-mode-test### ((indent 4))\n});\n\nis_object(static function (): void {\n"
  },
  {
    "path": "tests/lang/function/closure.php.faces",
    "chars": 610,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"is_object\" . php-function-call-traditional)\n (\"(\")\n (\""
  },
  {
    "path": "tests/lang/import/import-constant.php",
    "chars": 113,
    "preview": "<?php\nnamespace Foo;\n\nuse const Foo\\BAR;\nuse const Foo\\{BUZ, BUZBUZ};\nuse const PHP_VERSION;\n\nconst FOO = 'bar';\n"
  },
  {
    "path": "tests/lang/import/import-constant.php.faces",
    "chars": 694,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\")\n (\"namespace\" . php-namespace-declaration)\n (\" \")\n (\"Foo\" ."
  },
  {
    "path": "tests/lang/import/import-function.php",
    "chars": 170,
    "preview": "<?php\nnamespace Foo;\n\nuse function var_dump;\nuse function is_array, is_string, is_dir;\nuse function Safe\\json_encode;\nus"
  },
  {
    "path": "tests/lang/import/import-function.php.faces",
    "chars": 784,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\")\n (\"namespace\" . php-namespace-declaration)\n (\" \")\n (\"Foo\" ."
  },
  {
    "path": "tests/lang/magical-constants/echo.php",
    "chars": 245,
    "preview": "<?php\n\necho __LINE__, PHP_EOL;\necho __FILE__, PHP_EOL;\necho __FILE__, PHP_EOL;\necho __FUNCTION__, PHP_EOL;\necho __CLASS_"
  },
  {
    "path": "tests/lang/magical-constants/echo.php.faces",
    "chars": 1158,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"echo\" . php-keyword)\n (\" \")\n (\"__LINE__\" . php-magical"
  },
  {
    "path": "tests/lang/try-cactch/multiple.php",
    "chars": 123,
    "preview": "<?php\n\ntry {\n} catch (ErrorException | PDOException $e) {\n} catch (Foo | Bar | Buz | Fuga $e) {\n} catch (Throwable $e) {"
  },
  {
    "path": "tests/lang/try-cactch/multiple.php.faces",
    "chars": 704,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"try\" . php-keyword)\n (\" {\\n} \")\n (\"catch\" . php-keywor"
  },
  {
    "path": "tests/lang/types/cast.php",
    "chars": 164,
    "preview": "<?php\n\n$var = 1;\n\n(array)$var;\n(binary)$var;\n(bool)$var;\n(boolean)$var;\n(float)$var;\n(int)$var;\n(integer)$var;\n(object)$"
  },
  {
    "path": "tests/lang/types/cast.php.faces",
    "chars": 1340,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"$\" . php-variable-sigil)\n (\"var\" . php-variable-name)\n"
  },
  {
    "path": "tests/lang/types/function.php",
    "chars": 283,
    "preview": "<?php\n\nfunction (bool $args) {};\nfunction (boolean $args) {};\nfunction (int $args) {};\nfunction (integer $args) {};\nfunc"
  },
  {
    "path": "tests/lang/types/function.php.faces",
    "chars": 1540,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"function\" . php-keyword)\n (\" (\")\n (\"bool\" . font-lock-"
  },
  {
    "path": "tests/lang/types/keywords.php",
    "chars": 110,
    "preview": "<?php\n\n__halt_compiler();\n\nbool;\nboolean;\nint;\ninteger;\nfloat;\ndouble;\nreal;\nstring;\nobject;\nresource;\nmixed;\n"
  },
  {
    "path": "tests/lang/types/keywords.php.faces",
    "chars": 546,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"__halt_compiler\" . php-keyword)\n (\"();\\n\\n\")\n (\"bool\" "
  },
  {
    "path": "tests/language-constructs.php",
    "chars": 986,
    "preview": "<?php\n\n/**\n * Test highlighting of language constructs and reserved keywords\n *\n * This test is based on http://php.net/"
  },
  {
    "path": "tests/namespace-block.php",
    "chars": 5309,
    "preview": "<?php // ###php-mode-test### ((indent (* 0 c-basic-offset)))\n// ###php-mode-test### ((indent 0))\n\n/**                 //"
  },
  {
    "path": "tests/php-mode-test.el",
    "chars": 29152,
    "preview": ";;; php-mode-test.el --- Tests for php-mode           -*- lexical-binding: t -*-\n\n;; Copyright (C) 2018-2024  Friends of"
  },
  {
    "path": "tests/profiler/large-string-interpolation.php",
    "chars": 40017,
    "preview": "<?php\n\necho \"\nThis is a $test\nThis is a $test\nThis is a $test\nThis is a $test\nThis is a $test\nThis is a $test\nThis is a "
  },
  {
    "path": "tests/project/1/.editorconfig",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "tests/project/1/.hg",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "tests/project/1/.projectile",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "tests/project/1/.svn",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "tests/project/1/composer.json",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "tests/project/1/src/functions.php",
    "chars": 6,
    "preview": "<?php\n"
  },
  {
    "path": "tests/static-method-calls.php",
    "chars": 237,
    "preview": "<?php\n\nClassName::method();\n\\Project\\Module\\ClassName::method();\n\\ClassName::method();\n\nClassName::new();\n\\Project\\Modul"
  },
  {
    "path": "tests/static-method-calls.php.faces",
    "chars": 1244,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"ClassName\" . php-constant)\n (\"::\" . php-paamayim-nekud"
  },
  {
    "path": "tests/switch-statements.php",
    "chars": 173,
    "preview": "<?php\n\n/**\n * Test indentation of switch statement and case labels\n */\n\nswitch (true) {\n    case true:\n        echo 'hel"
  },
  {
    "path": "tests/template.php",
    "chars": 425,
    "preview": "<?php\n\n/**\n * GitHub Issue:    https://github.com/emacs-php/php-mode/issues/NNN\n *\n * ----------------------------------"
  },
  {
    "path": "tests/type-hints.php",
    "chars": 2658,
    "preview": "<?php\n\nclass SomeClass\n{\n    public function none($title): void\n    {\n    }\n\n    public function title(string $title): s"
  },
  {
    "path": "tests/type-hints.php.29.faces",
    "chars": 9477,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\n\n\")\n (\"class\" . php-class-declaration)\n (\" \")\n (\"SomeClass\" . f"
  },
  {
    "path": "tests/type-hints.php.faces",
    "chars": 9511,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\n\n\")\n (\"class\" . php-class-declaration)\n (\" \")\n (\"SomeClass\" . f"
  },
  {
    "path": "tests/variables.php",
    "chars": 286,
    "preview": "<?php\n\n// Test highlighting of variables with the variable-name-face\n$_;\n$regularVariable;\n$$variableVariable;\n$漢字;\n$sna"
  },
  {
    "path": "tests/variables.php.faces",
    "chars": 1486,
    "preview": ";; -*- mode: emacs-lisp -*-\n((\"<?php\" . php-php-tag)\n (\"\\n\\n\")\n (\"// \" . font-lock-comment-delimiter-face)\n (\"Test highl"
  }
]

About this extraction

This page contains the full source code of the emacs-php/php-mode GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 181 files (608.5 KB), approximately 176.3k tokens, and a symbol index with 114 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!