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

后端 未结 9 684

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 03:16

    If you can't use devel module for some reason, another useful "debug" functions could be var_export() and a Drupal wrapper drupal_var_export(). These functions gives the output as PHP code.

提交回复
热议问题