@@ -192,18 +192,6 @@ try {
192192 var_dump ($ e ->getTraceAsString () === EXCEPTION_TRACE_AS_STRING_MSG );
193193}
194194
195- try {
196- throw new ErrorException (EXCEPTION_PARAM_MSG , EXCEPTION_CODE_ERROR , E_STRICT );
197- } catch (ErrorException $ e ) {
198- echo EXCEPTION_SEVERITY_ERROR_MSG . $ e ->getSeverity ();
199- var_dump ($ e ->getSeverity () === E_STRICT );
200- var_dump ($ e ->getMessage () === EXCEPTION_PARAM_MSG );
201- var_dump ($ e ->getCode () === 0 );
202- var_dump ($ e ->getPrevious () === NULL );
203- var_dump ($ e ->getFile () === __FILE__ );
204- var_dump ($ e ->getTraceAsString () === EXCEPTION_TRACE_AS_STRING_MSG );
205- }
206-
207195try {
208196 throw new ErrorException (EXCEPTION_PARAM_MSG , EXCEPTION_CODE_ERROR , E_RECOVERABLE_ERROR );
209197} catch (ErrorException $ e ) {
@@ -384,18 +372,6 @@ try {
384372 var_dump ($ e ->getTraceAsString () === EXCEPTION_TRACE_AS_STRING_MSG );
385373}
386374
387- try {
388- throw new ErrorException (EXCEPTION_PARAM_MSG , EXCEPTION_CODE_ERROR , E_STRICT , __FILE__ );
389- } catch (ErrorException $ e ) {
390- echo EXCEPTION_SEVERITY_ERROR_MSG . $ e ->getSeverity ();
391- var_dump ($ e ->getSeverity () === E_STRICT );
392- var_dump ($ e ->getMessage () === EXCEPTION_PARAM_MSG );
393- var_dump ($ e ->getCode () === 0 );
394- var_dump ($ e ->getPrevious () === NULL );
395- var_dump ($ e ->getFile () === __FILE__ );
396- var_dump ($ e ->getTraceAsString () === EXCEPTION_TRACE_AS_STRING_MSG );
397- }
398-
399375try {
400376 throw new ErrorException (EXCEPTION_PARAM_MSG , EXCEPTION_CODE_ERROR , E_RECOVERABLE_ERROR , __FILE__ );
401377} catch (ErrorException $ e ) {
@@ -576,18 +552,6 @@ try {
576552 var_dump ($ e ->getTraceAsString () === EXCEPTION_TRACE_AS_STRING_MSG );
577553}
578554
579- try {
580- throw new ErrorException (EXCEPTION_PARAM_MSG , EXCEPTION_CODE_ERROR , E_STRICT , __FILE__ , __LINE__ );
581- } catch (ErrorException $ e ) {
582- echo EXCEPTION_SEVERITY_ERROR_MSG . $ e ->getSeverity ();
583- var_dump ($ e ->getSeverity () === E_STRICT );
584- var_dump ($ e ->getMessage () === EXCEPTION_PARAM_MSG );
585- var_dump ($ e ->getCode () === 0 );
586- var_dump ($ e ->getPrevious () === NULL );
587- var_dump ($ e ->getFile () === __FILE__ );
588- var_dump ($ e ->getTraceAsString () === EXCEPTION_TRACE_AS_STRING_MSG );
589- }
590-
591555try {
592556 throw new ErrorException (EXCEPTION_PARAM_MSG , EXCEPTION_CODE_ERROR , E_RECOVERABLE_ERROR , __FILE__ , __LINE__ );
593557} catch (ErrorException $ e ) {
@@ -813,22 +777,6 @@ try {
813777 }
814778}
815779
816- try {
817- throw new ErrorException (EXCEPTION_PARAM_MSG , EXCEPTION_CODE_ERROR , E_STRICT , __FILE__ , __LINE__ , NULL );
818- } catch (Exception $ exceptionErr ) {
819- try {
820- throw new ErrorException (EXCEPTION_PARAM_MSG , EXCEPTION_CODE_ERROR , E_STRICT , __FILE__ , __LINE__ , $ exceptionErr ->getPrevious ());
821- } catch (ErrorException $ e ) {
822- echo EXCEPTION_SEVERITY_ERROR_MSG . $ e ->getSeverity ();
823- var_dump ($ e ->getSeverity () === E_STRICT );
824- var_dump ($ e ->getMessage () === EXCEPTION_PARAM_MSG );
825- var_dump ($ e ->getCode () === 0 );
826- var_dump ($ e ->getPrevious () === NULL );
827- var_dump ($ e ->getFile () === __FILE__ );
828- var_dump ($ e ->getTraceAsString () === EXCEPTION_TRACE_AS_STRING_MSG );
829- }
830- }
831-
832780try {
833781 throw new ErrorException (EXCEPTION_PARAM_MSG , EXCEPTION_CODE_ERROR , E_RECOVERABLE_ERROR , __FILE__ , __LINE__ , NULL );
834782} catch (Exception $ exceptionErr ) {
@@ -953,12 +901,6 @@ bool(true)
953901bool(true)
954902bool(true)
955903bool(true)
956- This exception severity is: 2048bool(true)
957- bool(true)
958- bool(true)
959- bool(true)
960- bool(true)
961- bool(true)
962904This exception severity is: 4096bool(true)
963905bool(true)
964906bool(true)
@@ -1049,12 +991,6 @@ bool(true)
1049991bool(true)
1050992bool(true)
1051993bool(true)
1052- This exception severity is: 2048bool(true)
1053- bool(true)
1054- bool(true)
1055- bool(true)
1056- bool(true)
1057- bool(true)
1058994This exception severity is: 4096bool(true)
1059995bool(true)
1060996bool(true)
@@ -1145,12 +1081,6 @@ bool(true)
11451081bool(true)
11461082bool(true)
11471083bool(true)
1148- This exception severity is: 2048bool(true)
1149- bool(true)
1150- bool(true)
1151- bool(true)
1152- bool(true)
1153- bool(true)
11541084This exception severity is: 4096bool(true)
11551085bool(true)
11561086bool(true)
@@ -1241,12 +1171,6 @@ bool(true)
12411171bool(true)
12421172bool(true)
12431173bool(true)
1244- This exception severity is: 2048bool(true)
1245- bool(true)
1246- bool(true)
1247- bool(true)
1248- bool(true)
1249- bool(true)
12501174This exception severity is: 4096bool(true)
12511175bool(true)
12521176bool(true)
0 commit comments