Printing all defined variables and values

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

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

2条回答
  •  醉梦人生
    2021-02-07 00:54

    Have you tried:

    var_dump(get_defined_vars());
    

    http://php.net/manual/en/function.var-dump.php

    The php documentation should help.

提交回复
热议问题