Php 捕获异常错误
因此,我首先从ipa文件(.plist文件)中提取一个文件,然后用 以下是我的php脚本:-Php 捕获异常错误,php,Php,因此,我首先从ipa文件(.plist文件)中提取一个文件,然后用 以下是我的php脚本:- <?php error_reporting( E_ALL ); ini_set( 'display_errors', 'on' ); namespace CFPropertyList; ?> 但它们都不起作用。有什么解决方法吗?当您有疑问时,您可以全包并使用catch(\Exception$e)。您可以全包并使用catch(\Exception$e)。谢谢,问题已经解决。如果您可以将
<?php
error_reporting( E_ALL );
ini_set( 'display_errors', 'on' );
namespace CFPropertyList;
?>
但它们都不起作用。有什么解决方法吗?当您有疑问时,您可以全包并使用
catch(\Exception$e)
。您可以全包并使用catch(\Exception$e)。谢谢,问题已经解决。如果您可以将此作为答案,我可以批准此答案,也可以使用+1.)
catch(\PListException $e)
catch("CFPropertyList\PListException" $e)
catch(CFPropertyList\PListException $e)