How to get xdebug var_dump to show full object/array

前端 未结 6 1609
花落未央
花落未央 2020-11-27 08:57

I am using xdebug (php_xdebug-2.1.2-5.3-vc9.dll) on WAMP. When I use var_dump on a large object or variable it does not show the full variable.

         


        
6条回答
  •  难免孤独
    2020-11-27 09:47

    I'd like to recommend var_export($array) - it doesn't show types, but it generates syntax you can use in your code :)

提交回复
热议问题