- Feature class with setFeature()/hasFeature() – a unified way to toggle engine capabilities. Existing methods like
setStrictTypes()andsetStrictParsing()now delegate to this system, so you can use either style. New features can be added without cluttering the Engine API. - setCacheDirectory() replaces the old
setTempDirectory()– because "temp" was too easily confused with "template". The old method still works but consider it deprecated. - Fixed
!operator priority – the logical NOT operator was incorrectly placed at the same precedence level as bitwise NOT and type casts, aboveinstanceof. It now correctly sits belowinstanceof, matching PHP's actual operator precedence.