Skip to content

Commit 0a146f0

Browse files
zend_string.h: add a note about updating known strings
1 parent 11ce460 commit 0a146f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Zend/zend_string.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,8 @@ EMPTY_SWITCH_DEFAULT_CASE()
560560
#endif
561561
}
562562

563+
// When adding a new string here, please also update build/gen_stub.php to the
564+
// known strings to be used in property registration; see gh-15751
563565
#define ZEND_KNOWN_STRINGS(_) \
564566
_(ZEND_STR_FILE, "file") \
565567
_(ZEND_STR_LINE, "line") \

0 commit comments

Comments
 (0)