Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/263.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中使用-e选项?_Php_Debugging_Command Line_Profiling_Command Line Arguments - Fatal编程技术网

如何在PHP中使用-e选项?

如何在PHP中使用-e选项?,php,debugging,command-line,profiling,command-line-arguments,Php,Debugging,Command Line,Profiling,Command Line Arguments,命令行上的php告诉我它有一个选项: -e Generate extended information for debugger/profiler 但是,通过运行命令行脚本,我什么也看不到。。。该选项用于什么?此扩展信息适用于调试器和探查器。(如xdebug或zenddebuger) IDE通常使用此开关并支持调试器(如EclipsePDT) 有关示例,请参阅。如果为cli或cgi php配置了调试器,则可以强制错误以查看堆栈跟踪。Xdebug网站:“当激活Xd

命令行上的
php
告诉我它有一个选项:

  -e               Generate extended information for debugger/profiler

但是,通过运行命令行脚本,我什么也看不到。。。该选项用于什么?

此扩展信息适用于调试器和探查器。(如xdebug或zenddebuger)

IDE通常使用此开关并支持调试器(如EclipsePDT)


有关示例,请参阅。

如果为cli或cgi php配置了调试器,则可以强制错误以查看堆栈跟踪。Xdebug网站:“当激活Xdebug时,每当PHP决定显示通知、警告、错误等时,它都会显示堆栈跟踪。堆栈跟踪显示的信息以及它们的显示方式可以配置为满足您的需要。”()开关-e只会使调试程序/分析器能够打印更多信息。