You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ext/standard/JitHtmlspecialchars.php exists but web output must be correct and fast for every echo chain. VM delegates to VmString::htmlspecialchars; JIT may fall back or have incomplete flag handling.
Goal
htmlspecialchars($s, ENT_QUOTES, 'UTF-8') matches PHP for & < > " ' on VM and JIT without calling Zend.
Implementation plan
Audit JitHtmlspecialchars vs VmString::htmlspecialchars parity.
Implement ENT_QUOTES / ENT_HTML5 subset in LLVM (table-driven entity replace).
Problem
ext/standard/JitHtmlspecialchars.phpexists but web output must be correct and fast for every echo chain. VM delegates toVmString::htmlspecialchars; JIT may fall back or have incomplete flag handling.Goal
htmlspecialchars($s, ENT_QUOTES, 'UTF-8')matches PHP for& < > " 'on VM and JIT without calling Zend.Implementation plan
JitHtmlspecialcharsvsVmString::htmlspecialcharsparity.test/real/cases/web_htmlspecialchars.phptunder JIT suite (CI: Run JIT compliance tests in CI (fix LLVM skip in PHPUnit) #98).Acceptance criteria
Related