扫码关注官方订阅号
throw new Exception('SUCCESS', SUCCESS);后面那个SUCCESS是啥意思?
闭关修行中......
http://php.net/manual/en/exception.construct.php
异常代号,是一个 int 类型,应该是之前有定义过 const SUCCESS = 1; 之类的。
const SUCCESS = 1;
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
http://php.net/manual/en/exception.construct.php
异常代号,是一个 int 类型,应该是之前有定义过
const SUCCESS = 1;
之类的。