TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

4.4 KiB

TypePHP Compiler Internal Documentation

This directory contains compiler implementation, compatibility, build-mode, and special-topic design documents. The user-facing manual lives in the separate aot/docs repository; the research reports and refactoring plans here may describe historical state, and current behavior should be determined by the code, tests, and compatibility checklist.

Current authoritative documents

Architecture and maintenance

Research and historical materials

hhvm-review.md, kphp-review.md, peachpie-review.md, phpstan-design-analysis.md, php-src-optimizer-analysis.md, and the patent drafts record comparisons and design background at the time of investigation, and do not serve as the current feature list.

Maintenance rules

  1. When current compatibility changes, update INCOMPATIBLE_PHP_FEATURES.md and the classification document simultaneously.
  2. All syntax and semantic limitations link uniformly to the current compatibility checklist to avoid maintaining duplicate lists.
  3. Feature support should be determined by PHPT/PHPUnit regression tests.
  4. Historical research documents preserve the original comparison conclusions and note the investigation date where necessary; they should not be silently rewritten to reflect the current state.