Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/267.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Xdebug是否未格式化var\u转储?_Php_Xdebug - Fatal编程技术网

Php Xdebug是否未格式化var\u转储?

Php Xdebug是否未格式化var\u转储?,php,xdebug,Php,Xdebug,我似乎无法让xdebug工作,我以前从未使用过它,所以我不确定我是否只是忽略了一些明显的东西,或者在工作中是否存在一些更大的问题 Xdebug在phpinfo中显示,因此看起来是正确的: xdebug xdebug support enabled Version 2.2.5 IDE Key 1 Supported protocols Revision DBGp - Common DeBuGger Protocol $Revision: 1.145 $ Directive Local

我似乎无法让xdebug工作,我以前从未使用过它,所以我不确定我是否只是忽略了一些明显的东西,或者在工作中是否存在一些更大的问题

Xdebug在phpinfo中显示,因此看起来是正确的:

xdebug

xdebug support  enabled
Version 2.2.5
IDE Key 1

Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.145 $

Directive   Local Value Master Value
xdebug.auto_trace   Off Off
xdebug.cli_color    0   0
xdebug.collect_assignments  Off Off
xdebug.collect_includes On  On
xdebug.collect_params   0   0
xdebug.collect_return   Off Off
xdebug.collect_vars Off Off
xdebug.coverage_enable  On  On
xdebug.default_enable   On  On
xdebug.dump.COOKIE  no value    no value
xdebug.dump.ENV no value    no value
xdebug.dump.FILES   no value    no value
xdebug.dump.GET no value    no value
xdebug.dump.POST    no value    no value
xdebug.dump.REQUEST no value    no value
xdebug.dump.SERVER  no value    no value
xdebug.dump.SESSION no value    no value
xdebug.dump_globals On  On
xdebug.dump_once    On  On
xdebug.dump_undefined   Off Off
xdebug.extended_info    On  On
xdebug.file_link_format no value    no value
xdebug.idekey   no value    no value
xdebug.max_nesting_level    100 100
xdebug.overload_var_dump    On  On
xdebug.profiler_aggregate   Off Off
xdebug.profiler_append  Off Off
xdebug.profiler_enable  Off Off
xdebug.profiler_enable_trigger  Off Off
xdebug.profiler_output_dir  \   \
xdebug.profiler_output_name cachegrind.out.%p   cachegrind.out.%p
xdebug.remote_autostart Off Off
xdebug.remote_connect_back  Off Off
xdebug.remote_cookie_expire_time    3600    3600
xdebug.remote_enable    Off Off
xdebug.remote_handler   dbgp    dbgp
xdebug.remote_host  localhost   localhost
xdebug.remote_log   no value    no value
xdebug.remote_mode  req req
xdebug.remote_port  9000    9000
xdebug.scream   Off Off
xdebug.show_exception_trace Off Off
xdebug.show_local_vars  Off Off
xdebug.show_mem_delta   Off Off
xdebug.trace_enable_trigger Off Off
xdebug.trace_format 0   0
xdebug.trace_options    0   0
xdebug.trace_output_dir \   \
xdebug.trace_output_name    trace.%c    trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth    3   3
所以那里的一切在我看来都很标准。然而,如果我使用var_dump,我只会得到典型的PHP输出。我在谷歌上搜索了一下,每个人似乎都说问题在于html_错误设置为off,而我的设置为on,我已经多次重启服务器。“显示错误”也设置为“开”。知道这里发生了什么吗

html_errors On  On
display_errors  On  On

因此,发布属性显示echo phpinfo中的错误和错误报告值;请输出。可以吗?两者都设置为打开:在html上显示错误在上显示错误