You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
__FUNCTION__ at the top level of a script is the empty string in php, here an internal symbol name #408
FUNCTION at the top level of a script is the empty string in php, here an internal symbol name.
Repro
<?phpvar_dump(__FUNCTION__);
Expected (php)
string(0) ""
Actual (manticore 57b5de57, Darwin arm64)
string(13) "__mc_defaults"
Tracking
Known-bug repro: tests/aot/repro/wrong/top_level_function_constant_leaks_internal_name.php — bash tests/aot/xfail.sh -k top_level_function_constant_leaks_internal_name reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Activity
Reset function scope at script top level and name closures in magic c…
Fix the bug backlog: coercion, references, crashes, uninitialised typ…