Tags: Giandonn/typephp
Tags
test(compiler): update test configuration and execution setup - Add empty ini directory placeholders for test isolation - Set PHP_INI_SCAN_DIR environment in include_require and python tests - Replace no-leak.ini with descriptive comment for dedicated configuration - Modify ref-call-arg.phpt to use temporary files instead of fixed paths - Add ZipArchive operations in ref-call-arg.phpt for proper test data generation - Update expected output values in ref-call-arg.phpt test results - Add display_startup_errors=1 to php ini-values in workflow configuration - Enable opcache.jit=0 setting in workflow configuration for consistency - Increase
fix(parser): handle PHP array overflow in compound assignments and im… …prove method name parsing - Change temporary variable type to Variant for PHP arrays to prevent undefined C++ behavior - Add methodNameToStr helper that treats 'self' and 'static' as ordinary member names - Replace identifierToStr with methodNameToStr for method calls to respect lexical rules - Update nullsafe access trait to use proper method name parsing - Add test case for array element compound arithmetic overflow handling - Add test case for nullsafe chain preserving typed method returns
fix(closure): handle static variables in closure use references - Added check for staticVars when processing closure use references - Prevented redeclaration of static variables as local variables in closures - Updated variable resolution logic to include static variable scope - Added comprehensive test case for static variable closure reference behavior - Fixed variable name collision in preprocessor class constant handling - Updated version number to 0.4.1
fix(runtime): correct property inheritance handling in object creation - Fixed zend_update_property call to use correct class entry variable - Refactored object creation logic to delegate to parent allocator when needed - Added parentHasCustomCreateObjectOnPhp84 method to detect parent class properties - Simplified create object handler implementation using typephp_create_object_with_defaults - Updated property initialization to work properly with asymmetric visibility - Modified test case to include options property verification in inheritance scenario
PreviousNext