@@ -9599,39 +9599,23 @@ ZEND_VM_C_LABEL(try_again):
9599
9599
}
9600
9600
}
9601
9601
9602
- ZEND_VM_HELPER (zend_frameless_observed_call , ANY , ANY )
9603
- {
9604
- USE_OPLINE
9605
-
9606
- zend_frameless_observed_call (EXECUTE_DATA_C OPLINE_CC );
9607
-
9608
- if (UNEXPECTED (EG (exception ) != NULL )) {
9609
- zend_rethrow_exception (execute_data );
9610
- HANDLE_EXCEPTION ();
9611
- }
9612
-
9613
- ZEND_VM_SET_OPCODE (opline + 1 + (opline -> opcode == ZEND_FRAMELESS_ICALL_3 ));
9614
- ZEND_VM_CONTINUE ();
9615
- }
9616
-
9617
9602
ZEND_VM_HANDLER (204 , ZEND_FRAMELESS_ICALL_0 , UNUSED , UNUSED , SPEC (OBSERVER ))
9618
9603
{
9619
9604
USE_OPLINE
9620
9605
SAVE_OPLINE ();
9621
9606
9622
- #if !ZEND_VM_SPEC || ZEND_OBSERVER_ENABLED
9623
- if (ZEND_OBSERVER_ENABLED ) {
9624
- zend_function * fbc = ZEND_FLF_FUNC (opline );
9625
- if (UNEXPECTED (zend_observer_handler_is_unobserved (ZEND_OBSERVER_DATA (fbc )) == false)) {
9626
- ZEND_VM_DISPATCH_TO_HELPER (zend_frameless_observed_call );
9627
- }
9628
- }
9629
- #endif
9630
-
9631
9607
zval * result = EX_VAR (opline -> result .var );
9632
9608
ZVAL_NULL (result );
9633
- zend_frameless_function_0 function = (zend_frameless_function_0 )ZEND_FLF_HANDLER (opline );
9634
- function (EX_VAR (opline -> result .var ));
9609
+
9610
+ #if !ZEND_VM_SPEC || ZEND_OBSERVER_ENABLED
9611
+ if (ZEND_OBSERVER_ENABLED && UNEXPECTED (zend_observer_handler_is_unobserved (ZEND_OBSERVER_DATA (ZEND_FLF_FUNC (opline ))) == false)) {
9612
+ zend_frameless_observed_call (EXECUTE_DATA_C OPLINE_CC );
9613
+ } else
9614
+ #endif
9615
+ {
9616
+ zend_frameless_function_0 function = (zend_frameless_function_0 )ZEND_FLF_HANDLER (opline );
9617
+ function (EX_VAR (opline -> result .var ));
9618
+ }
9635
9619
ZEND_VM_NEXT_OPCODE_CHECK_EXCEPTION ();
9636
9620
}
9637
9621
@@ -9640,24 +9624,23 @@ ZEND_VM_HANDLER(205, ZEND_FRAMELESS_ICALL_1, ANY, UNUSED, SPEC(OBSERVER))
9640
9624
USE_OPLINE
9641
9625
SAVE_OPLINE ();
9642
9626
9643
- #if !ZEND_VM_SPEC || ZEND_OBSERVER_ENABLED
9644
- if (ZEND_OBSERVER_ENABLED ) {
9645
- zend_function * fbc = ZEND_FLF_FUNC (opline );
9646
- if (UNEXPECTED (zend_observer_handler_is_unobserved (ZEND_OBSERVER_DATA (fbc )) == false)) {
9647
- ZEND_VM_DISPATCH_TO_HELPER (zend_frameless_observed_call );
9648
- }
9649
- }
9650
- #endif
9651
-
9652
- zend_frameless_function_1 function = (zend_frameless_function_1 )ZEND_FLF_HANDLER (opline );
9653
9627
zval * result = EX_VAR (opline -> result .var );
9654
9628
ZVAL_NULL (result );
9655
9629
zval * arg1 = GET_OP1_ZVAL_PTR_DEREF (BP_VAR_R );
9656
9630
if (UNEXPECTED (EG (exception ) != NULL )) {
9657
9631
FREE_OP1 ();
9658
9632
HANDLE_EXCEPTION ();
9659
9633
}
9660
- function (result , arg1 );
9634
+
9635
+ #if !ZEND_VM_SPEC || ZEND_OBSERVER_ENABLED
9636
+ if (ZEND_OBSERVER_ENABLED && UNEXPECTED (zend_observer_handler_is_unobserved (ZEND_OBSERVER_DATA (ZEND_FLF_FUNC (opline ))) == false)) {
9637
+ zend_frameless_observed_call (EXECUTE_DATA_C OPLINE_CC );
9638
+ } else
9639
+ #endif
9640
+ {
9641
+ zend_frameless_function_1 function = (zend_frameless_function_1 )ZEND_FLF_HANDLER (opline );
9642
+ function (result , arg1 );
9643
+ }
9661
9644
FREE_OP1 ();
9662
9645
ZEND_VM_NEXT_OPCODE_CHECK_EXCEPTION ();
9663
9646
}
@@ -9667,16 +9650,6 @@ ZEND_VM_HANDLER(206, ZEND_FRAMELESS_ICALL_2, ANY, ANY, SPEC(OBSERVER))
9667
9650
USE_OPLINE
9668
9651
SAVE_OPLINE ();
9669
9652
9670
- #if !ZEND_VM_SPEC || ZEND_OBSERVER_ENABLED
9671
- if (ZEND_OBSERVER_ENABLED ) {
9672
- zend_function * fbc = ZEND_FLF_FUNC (opline );
9673
- if (UNEXPECTED (zend_observer_handler_is_unobserved (ZEND_OBSERVER_DATA (fbc )) == false)) {
9674
- ZEND_VM_DISPATCH_TO_HELPER (zend_frameless_observed_call );
9675
- }
9676
- }
9677
- #endif
9678
-
9679
- zend_frameless_function_2 function = (zend_frameless_function_2 )ZEND_FLF_HANDLER (opline );
9680
9653
zval * result = EX_VAR (opline -> result .var );
9681
9654
ZVAL_NULL (result );
9682
9655
zval * arg1 = GET_OP1_ZVAL_PTR_DEREF (BP_VAR_R );
@@ -9686,7 +9659,17 @@ ZEND_VM_HANDLER(206, ZEND_FRAMELESS_ICALL_2, ANY, ANY, SPEC(OBSERVER))
9686
9659
FREE_OP2 ();
9687
9660
HANDLE_EXCEPTION ();
9688
9661
}
9689
- function (result , arg1 , arg2 );
9662
+
9663
+ #if !ZEND_VM_SPEC || ZEND_OBSERVER_ENABLED
9664
+ if (ZEND_OBSERVER_ENABLED && UNEXPECTED (zend_observer_handler_is_unobserved (ZEND_OBSERVER_DATA (ZEND_FLF_FUNC (opline ))) == false)) {
9665
+ zend_frameless_observed_call (EXECUTE_DATA_C OPLINE_CC );
9666
+ } else
9667
+ #endif
9668
+ {
9669
+ zend_frameless_function_2 function = (zend_frameless_function_2 )ZEND_FLF_HANDLER (opline );
9670
+ function (result , arg1 , arg2 );
9671
+ }
9672
+
9690
9673
FREE_OP1 ();
9691
9674
/* Set OP1 to UNDEF in case FREE_OP2() throws. */
9692
9675
if (OP1_TYPE & (IS_VAR |IS_TMP_VAR )) {
@@ -9701,16 +9684,6 @@ ZEND_VM_HANDLER(207, ZEND_FRAMELESS_ICALL_3, ANY, ANY, SPEC(OBSERVER))
9701
9684
USE_OPLINE
9702
9685
SAVE_OPLINE ();
9703
9686
9704
- #if !ZEND_VM_SPEC || ZEND_OBSERVER_ENABLED
9705
- if (ZEND_OBSERVER_ENABLED ) {
9706
- zend_function * fbc = ZEND_FLF_FUNC (opline );
9707
- if (UNEXPECTED (zend_observer_handler_is_unobserved (ZEND_OBSERVER_DATA (fbc )) == false)) {
9708
- ZEND_VM_DISPATCH_TO_HELPER (zend_frameless_observed_call );
9709
- }
9710
- }
9711
- #endif
9712
-
9713
- zend_frameless_function_3 function = (zend_frameless_function_3 )ZEND_FLF_HANDLER (opline );
9714
9687
zval * result = EX_VAR (opline -> result .var );
9715
9688
ZVAL_NULL (result );
9716
9689
zval * arg1 = GET_OP1_ZVAL_PTR_DEREF (BP_VAR_R );
@@ -9722,7 +9695,17 @@ ZEND_VM_HANDLER(207, ZEND_FRAMELESS_ICALL_3, ANY, ANY, SPEC(OBSERVER))
9722
9695
FREE_OP_DATA ();
9723
9696
HANDLE_EXCEPTION ();
9724
9697
}
9725
- function (result , arg1 , arg2 , arg3 );
9698
+
9699
+ #if !ZEND_VM_SPEC || ZEND_OBSERVER_ENABLED
9700
+ if (ZEND_OBSERVER_ENABLED && UNEXPECTED (zend_observer_handler_is_unobserved (ZEND_OBSERVER_DATA (ZEND_FLF_FUNC (opline ))) == false)) {
9701
+ zend_frameless_observed_call (EXECUTE_DATA_C OPLINE_CC );
9702
+ } else
9703
+ #endif
9704
+ {
9705
+ zend_frameless_function_3 function = (zend_frameless_function_3 )ZEND_FLF_HANDLER (opline );
9706
+ function (result , arg1 , arg2 , arg3 );
9707
+ }
9708
+
9726
9709
FREE_OP1 ();
9727
9710
/* Set to UNDEF in case FREE_OP2() throws. */
9728
9711
if (OP1_TYPE & (IS_VAR |IS_TMP_VAR )) {
0 commit comments