php-src
php-src copied to clipboard
SCCP optimize special string concats to make strings interned
Description
Currently these cases create an interned string:
$strInternedA = "A my valid string A";
$strInternedB = "B my valid" . " string B";
Whereas these cases do not become an interned string:
$strNonInternedC = "C my valid";
$strNonInternedC .= " string C";
$strInternedD1 = "D my valid";
$strNonInternedD2 = $strInternedD1 . " string D";
These cases could get further optimizations implemented.