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.
 
 
韩天峰 e1afe748b8 fix(build): disable PEAR and refine symlink scanning 3 weeks ago
..
python docs: split into en/ and zh-cn/ with full English translation 1 month ago
ACKNOWLEDGEMENTS.md docs: update acknowledgements with GitHub links and add supporting libraries --skip-tests 1 month ago
AOT_BUILD_SPEED_RESEARCH.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
BACKEND_NEUTRAL_IR.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
BIG_NUMBER_INPLACE_OPTIMIZATION_PLAN.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
CLASS_INHERITANCE.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
COMPATIBILITY_POLICY.md docs: define compatibility engineering policy 1 month ago
COMPILATION_MODES.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
COMPILER_CLI.md fix(scanner): follow symlinked source directories (#116) --skip-tests 3 weeks ago
COMPILE_TIME_FUNCTIONS.md feat(compiler): add toStdList and toStdDict typed array conversion methods 3 weeks ago
CORE_OOA_OOD_OOP_REFACTORING_PLAN.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
CPP_SYMBOL_NAMING.md fix(compiler): resolve generated C++ symbol ambiguities 1 month ago
GMP_GAP.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
HIGH_PRECISION_TYPES.md Complete varint types migration and fixed-storage safety 1 month ago
IMMUTABLE.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
INCOMPATIBLE_PHP_FEATURES.md feat(compiler): add native source project compilation with closure reference capture support 4 weeks ago
INTERFACE_PROPERTY_HOOKS.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
LIBPHP_INSTALLER.md fix(build): disable PEAR and refine symlink scanning 3 weeks ago
MIXED_CPP_PHP.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
NATIVE_CLASS_IMPLEMENTATION_AUDIT.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
NATIVE_CLASS_OBJECT.md refactor(std): rename ordered_map to orderedMap and add object function 1 month ago
NATIVE_TYPES.md refactor(std): rename ordered_map to orderedMap and add object function 1 month ago
OBJECT_CREATION.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
OBJECT_STORAGE_AND_PASSING_MODELS.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
PATENT_01_CPP_TEMPLATE_TYPED_CONTAINER.md refactor(std): rename ordered_map to orderedMap and add object function 1 month ago
PATENT_02_HYBRID_STATE_PROGRAMMING_LANGUAGE.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
PHPX_WASM_BUILD.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
PHP_INCOMPATIBILITY_CLASSIFICATION.md Complete varint types migration and fixed-storage safety 1 month ago
PROPERTY_HOOKS.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
PY2PHP.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
QUICKSTART.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
README.md docs: update type annotation documentation 3 weeks ago
REFACTORING_PLAN.md refactor(compiler): migrate global compile-time functions to std namespace 1 month ago
SCOPE_MANAGEMENT.md perf(compiler): optimize dynamic call argument handling and caching 1 month ago
STD_CONTAINERS.md feat(parser): add StdArray attribute support for fixed-shape container parameters 3 weeks ago
STD_FUNC_DESIGN.md feat(std): add array value initializer support for std containers 3 weeks ago
TEST_COVERAGE_ANALYZER.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
TYPED_ARRAYS.md feat(compiler): add toStdList and toStdDict typed array conversion methods 3 weeks ago
TYPEPHP_WASM_IMPLEMENTATION_PLAN.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
TYPE_ANNOTATIONS.md feat(compiler): add toStdList and toStdDict typed array conversion methods 3 weeks ago
UNIVERSAL_METHODS.md Complete varint types migration and fixed-storage safety 1 month ago
WASI_BUILD.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
YIELD_GENERATOR.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
aot-optimization-priority.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
hhvm-review.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
kphp-review.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
peachpie-review.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
php-src-optimizer-analysis.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
phpstan-design-analysis.md docs: split into en/ and zh-cn/ with full English translation 1 month ago
wasm.md docs: split into en/ and zh-cn/ with full English translation 1 month ago

README.md

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.