Able to see a variable in print_r()'s output, but not sure how to access it in code

后端 未结 9 807

I googled, installed Devel, Drupal for Firebug, but I can\'t find it.

I found what I want, I know where it is; I just don\'t know how to g

9条回答
  •  无人共我
    2020-11-22 02:53

    If you have devel installed and try

    krumo ($variable);
    

    Just bear in mind as default only admin users have rights to use the krumo command, but this can be sorted out by looking at the DEVEL role permissions. (don't forget to remove these permissions once your done though)

提交回复
热议问题