ExceptionHandler里this没有msg,code等属性

来源:6-5 实现自定义全局异常处理 下

慕瓜7498843

2018-08-07

//img.mukewang.com/szimg/5b6947d80001dae207110457.jpg





版本信息

PHP Version 5.6.36

System    Windows NT HIYESGO 6.1 build 7601 (Windows 7 Ultimate Edition Service Pack 1) i586    

Build Date    Apr 25 2018 16:38:50    

Compiler    MSVC11 (Visual C++ 2012)    

Architecture    x86    

Configure Command    cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=c:\php-sdk\oracle\x86\instantclient_12_1\sdk,shared" "--with-oci8-12c=c:\php-sdk\oracle\x86\instantclient_12_1\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--without-analyzer" "--with-pgo"    

Server API    Apache 2.0 Handler    

Virtual Directory Support    enabled    

Configuration File (php.ini) Path    C:\Windows    

Loaded Configuration File    B:\server\xampp\php\php.ini    

Scan this dir for additional .ini files    (none)    

Additional .ini files parsed    (none)    

PHP API    20131106    

PHP Extension    20131226    

Zend Extension    220131226    

Zend Extension Build    API220131226,TS,VC11    

PHP Extension Build    API20131226,TS,VC11    

Debug Build    no    

Thread Safety    enabled    

Zend Signal Handling    disabled    

Zend Memory Manager    enabled    

Zend Multibyte Support    provided by mbstring    

IPv6 Support    enabled    

DTrace Support    disabled    

Registered PHP Streams    php, file, glob, data, http, ftp, zip, compress.zlib, compress.bzip2, https, ftps, phar    

Registered Stream Socket Transports    tcp, udp, ssl, sslv3, tls, tlsv1.0, tlsv1.1, tlsv1.2    

Registered Stream Filters    convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*, bzip2.*    


写回答

1回答

7七月

2018-08-07

我不明白你是怎么判断没有的,代码执行了吗?报什么错误

0
5
慕瓜7498843
非常感谢!
2018-08-08
共5条回复

微信小程序电商实战 从前端到后端的全流程精讲

全栈工程师/前后端都讲/架构思想/ RESTFul API、MySQL表设计

4805 学习 · 4382 问题

查看课程