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
var_dump() of a void function call prints int(0) instead of NULL. #235
var_dump() of a void function call prints int(0) instead of NULL.
Repro
<?phpfunctionf(): void {}
var_dump(f());
Expected (php)
NULL
Actual (manticore 48828b70, Darwin arm64)
int(0)
Tracking
Known-bug repro: tests/aot/repro/wrong/var_dump_void_call_is_int_zero.php — bash tests/aot/xfail.sh -k var_dump_void_call_is_int_zero 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