1--TEST-- 2register_shutdown_function() without a previous call frame 04 3--FILE-- 4<?php 5register_shutdown_function("func_get_arg"); 6?> 7Done 8--EXPECT-- 9Done 10 11Fatal error: Uncaught ArgumentCountError: func_get_arg() expects exactly 1 argument, 0 given in [no active file]:0 12Stack trace: 13#0 [internal function]: func_get_arg() 14#1 {main} 15 thrown in [no active file] on line 0 16