When generating arginfo for union/intersection types with 2+ class types, the ZEND_TYPE_INIT_CLASS macro was using toEscapedName() which preserves backslashes (e.g. yuandian\\Database\\Db\\Expression\\Raw), but C identifiers cannot contain backslashes. This caused compilation errors like: error: stray '\' in program Fix: use toVarEscapedName() which replaces namespace separators with underscores, consistent with the single-class-type branch (line 2901).master
parent
8ddd04e1b1
commit
6e593b3d46
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue