0
点赞
收藏
分享

微信扫一扫

关于udp能跨局域网传输的问题

大柚子top 03-19 07:00 阅读 2
php

Throwable work on PHP 7.x. 

Exception work on PHP 5.x. 

 参考链接: https://www.php.net/manual/en/language.errors.php7.php

​<?php

try {

  // Code that may throw an Exception or Error.

} catch (Throwable $t) {

  // Executed only in PHP 7, will not match in PHP 5

} catch (Exception $e) {

  // Executed only in PHP 5, will not be reached in PHP 7

}
举报

相关推荐

0 条评论