Printing all defined variables and values

后端 未结 2 636
’; print_r(get_defined_vars()); echo ‘
’; ?>

This is just giving me the arrays for defined variables but not pr

2条回答
  •  梦毁少年i
    2021-02-07 01:08

    You can make your own debug output, by iterating through the array of returned to display gettype, value and name. However, the where it was defined, how much its been used, you cant do. PHP doesnt work that way

提交回复
热议问题