Skip to content

Commit 0e65e43

Browse files
committed
Merge branch 'PHP-8.1'
2 parents 7d6b961 + 0e32d3f commit 0e65e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/gen_stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,7 @@ function (Name $item) {
17561756
}
17571757

17581758
if ($this->alias) {
1759-
$code .= "\tzend_register_class_alias(\"" . str_replace("\\", "_", $this->alias) . "\", class_entry);\n";
1759+
$code .= "\tzend_register_class_alias(\"" . str_replace("\\", "\\\\", $this->alias) . "\", class_entry);\n";
17601760
}
17611761

17621762
foreach ($this->enumCaseInfos as $enumCase) {

0 commit comments

Comments
 (0)