0
我遇到問題。 Throwable不會爲要求或包含函數返回異常。有什麼方法可以「修復」嗎?代碼:Throwable not catchching include並要求
try {
include 'non-existent-file.php';
#require 'non-existent-file.php';
} catch (\Throwable $ex) {
die('include error');
}
非常感謝您的幫助。
誰告訴你的東西將在這裏拋出? –