mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
Escape function names in optimizer function info
This commit is contained in:
@@ -1529,7 +1529,7 @@ class FuncInfo {
|
||||
return null;
|
||||
}
|
||||
|
||||
return "\tF" . $this->return->refcount . '("' . $this->name->__toString() . '", ' . $type->toOptimizerTypeMask() . "),\n";
|
||||
return "\tF" . $this->return->refcount . '("' . addslashes($this->name->__toString()) . '", ' . $type->toOptimizerTypeMask() . "),\n";
|
||||
}
|
||||
|
||||
public function discardInfoForOldPhpVersions(): void {
|
||||
|
||||
Reference in New Issue
Block a user