@@ -2671,17 +2671,7 @@ static int ZEND_FASTCALL ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER(
2671
2671
2672
2672
zend_ptr_stack_3_push(&EG(arg_types_stack), EX(fbc), EX(object), EX(called_scope));
2673
2673
2674
- if (IS_CONST == IS_CONST && IS_CONST == IS_CONST) {
2675
- /* try a function in namespace */
2676
- zend_op *op_data = opline+1;
2677
-
2678
- ZEND_VM_INC_OPCODE();
2679
-
2680
- if (zend_u_hash_quick_find(EG(function_table), Z_TYPE(op_data->op1.u.constant), Z_UNIVAL(op_data->op1.u.constant), Z_UNILEN(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==SUCCESS) {
2681
- EX(object) = NULL;
2682
- ZEND_VM_NEXT_OPCODE();
2683
- }
2684
-
2674
+ if (IS_CONST == IS_CONST) {
2685
2675
/* no function found. try a static method in class */
2686
2676
ce = zend_u_fetch_class(Z_TYPE(opline->op1.u.constant), Z_UNIVAL(opline->op1.u.constant), Z_UNILEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
2687
2677
if (!ce) {
@@ -3274,17 +3264,7 @@ static int ZEND_FASTCALL ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_TMP_HANDLER(ZE
3274
3264
3275
3265
zend_ptr_stack_3_push(&EG(arg_types_stack), EX(fbc), EX(object), EX(called_scope));
3276
3266
3277
- if (IS_CONST == IS_CONST && IS_TMP_VAR == IS_CONST) {
3278
- /* try a function in namespace */
3279
- zend_op *op_data = opline+1;
3280
-
3281
- ZEND_VM_INC_OPCODE();
3282
-
3283
- if (zend_u_hash_quick_find(EG(function_table), Z_TYPE(op_data->op1.u.constant), Z_UNIVAL(op_data->op1.u.constant), Z_UNILEN(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==SUCCESS) {
3284
- EX(object) = NULL;
3285
- ZEND_VM_NEXT_OPCODE();
3286
- }
3287
-
3267
+ if (IS_CONST == IS_CONST) {
3288
3268
/* no function found. try a static method in class */
3289
3269
ce = zend_u_fetch_class(Z_TYPE(opline->op1.u.constant), Z_UNIVAL(opline->op1.u.constant), Z_UNILEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
3290
3270
if (!ce) {
@@ -3756,17 +3736,7 @@ static int ZEND_FASTCALL ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_VAR_HANDLER(ZE
3756
3736
3757
3737
zend_ptr_stack_3_push(&EG(arg_types_stack), EX(fbc), EX(object), EX(called_scope));
3758
3738
3759
- if (IS_CONST == IS_CONST && IS_VAR == IS_CONST) {
3760
- /* try a function in namespace */
3761
- zend_op *op_data = opline+1;
3762
-
3763
- ZEND_VM_INC_OPCODE();
3764
-
3765
- if (zend_u_hash_quick_find(EG(function_table), Z_TYPE(op_data->op1.u.constant), Z_UNIVAL(op_data->op1.u.constant), Z_UNILEN(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==SUCCESS) {
3766
- EX(object) = NULL;
3767
- ZEND_VM_NEXT_OPCODE();
3768
- }
3769
-
3739
+ if (IS_CONST == IS_CONST) {
3770
3740
/* no function found. try a static method in class */
3771
3741
ce = zend_u_fetch_class(Z_TYPE(opline->op1.u.constant), Z_UNIVAL(opline->op1.u.constant), Z_UNILEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
3772
3742
if (!ce) {
@@ -3994,17 +3964,7 @@ static int ZEND_FASTCALL ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_UNUSED_HANDLER
3994
3964
3995
3965
zend_ptr_stack_3_push(&EG(arg_types_stack), EX(fbc), EX(object), EX(called_scope));
3996
3966
3997
- if (IS_CONST == IS_CONST && IS_UNUSED == IS_CONST) {
3998
- /* try a function in namespace */
3999
- zend_op *op_data = opline+1;
4000
-
4001
- ZEND_VM_INC_OPCODE();
4002
-
4003
- if (zend_u_hash_quick_find(EG(function_table), Z_TYPE(op_data->op1.u.constant), Z_UNIVAL(op_data->op1.u.constant), Z_UNILEN(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==SUCCESS) {
4004
- EX(object) = NULL;
4005
- ZEND_VM_NEXT_OPCODE();
4006
- }
4007
-
3967
+ if (IS_CONST == IS_CONST) {
4008
3968
/* no function found. try a static method in class */
4009
3969
ce = zend_u_fetch_class(Z_TYPE(opline->op1.u.constant), Z_UNIVAL(opline->op1.u.constant), Z_UNILEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
4010
3970
if (!ce) {
@@ -4444,17 +4404,7 @@ static int ZEND_FASTCALL ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CV_HANDLER(ZEN
4444
4404
4445
4405
zend_ptr_stack_3_push(&EG(arg_types_stack), EX(fbc), EX(object), EX(called_scope));
4446
4406
4447
- if (IS_CONST == IS_CONST && IS_CV == IS_CONST) {
4448
- /* try a function in namespace */
4449
- zend_op *op_data = opline+1;
4450
-
4451
- ZEND_VM_INC_OPCODE();
4452
-
4453
- if (zend_u_hash_quick_find(EG(function_table), Z_TYPE(op_data->op1.u.constant), Z_UNIVAL(op_data->op1.u.constant), Z_UNILEN(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==SUCCESS) {
4454
- EX(object) = NULL;
4455
- ZEND_VM_NEXT_OPCODE();
4456
- }
4457
-
4407
+ if (IS_CONST == IS_CONST) {
4458
4408
/* no function found. try a static method in class */
4459
4409
ce = zend_u_fetch_class(Z_TYPE(opline->op1.u.constant), Z_UNIVAL(opline->op1.u.constant), Z_UNILEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
4460
4410
if (!ce) {
@@ -10771,17 +10721,7 @@ static int ZEND_FASTCALL ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_CONST_HANDLER(ZE
10771
10721
10772
10722
zend_ptr_stack_3_push(&EG(arg_types_stack), EX(fbc), EX(object), EX(called_scope));
10773
10723
10774
- if (IS_VAR == IS_CONST && IS_CONST == IS_CONST) {
10775
- /* try a function in namespace */
10776
- zend_op *op_data = opline+1;
10777
-
10778
- ZEND_VM_INC_OPCODE();
10779
-
10780
- if (zend_u_hash_quick_find(EG(function_table), Z_TYPE(op_data->op1.u.constant), Z_UNIVAL(op_data->op1.u.constant), Z_UNILEN(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==SUCCESS) {
10781
- EX(object) = NULL;
10782
- ZEND_VM_NEXT_OPCODE();
10783
- }
10784
-
10724
+ if (IS_VAR == IS_CONST) {
10785
10725
/* no function found. try a static method in class */
10786
10726
ce = zend_u_fetch_class(Z_TYPE(opline->op1.u.constant), Z_UNIVAL(opline->op1.u.constant), Z_UNILEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
10787
10727
if (!ce) {
@@ -12690,17 +12630,7 @@ static int ZEND_FASTCALL ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_TMP_HANDLER(ZEND
12690
12630
12691
12631
zend_ptr_stack_3_push(&EG(arg_types_stack), EX(fbc), EX(object), EX(called_scope));
12692
12632
12693
- if (IS_VAR == IS_CONST && IS_TMP_VAR == IS_CONST) {
12694
- /* try a function in namespace */
12695
- zend_op *op_data = opline+1;
12696
-
12697
- ZEND_VM_INC_OPCODE();
12698
-
12699
- if (zend_u_hash_quick_find(EG(function_table), Z_TYPE(op_data->op1.u.constant), Z_UNIVAL(op_data->op1.u.constant), Z_UNILEN(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==SUCCESS) {
12700
- EX(object) = NULL;
12701
- ZEND_VM_NEXT_OPCODE();
12702
- }
12703
-
12633
+ if (IS_VAR == IS_CONST) {
12704
12634
/* no function found. try a static method in class */
12705
12635
ce = zend_u_fetch_class(Z_TYPE(opline->op1.u.constant), Z_UNIVAL(opline->op1.u.constant), Z_UNILEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
12706
12636
if (!ce) {
@@ -14592,17 +14522,7 @@ static int ZEND_FASTCALL ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_VAR_HANDLER(ZEND
14592
14522
14593
14523
zend_ptr_stack_3_push(&EG(arg_types_stack), EX(fbc), EX(object), EX(called_scope));
14594
14524
14595
- if (IS_VAR == IS_CONST && IS_VAR == IS_CONST) {
14596
- /* try a function in namespace */
14597
- zend_op *op_data = opline+1;
14598
-
14599
- ZEND_VM_INC_OPCODE();
14600
-
14601
- if (zend_u_hash_quick_find(EG(function_table), Z_TYPE(op_data->op1.u.constant), Z_UNIVAL(op_data->op1.u.constant), Z_UNILEN(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==SUCCESS) {
14602
- EX(object) = NULL;
14603
- ZEND_VM_NEXT_OPCODE();
14604
- }
14605
-
14525
+ if (IS_VAR == IS_CONST) {
14606
14526
/* no function found. try a static method in class */
14607
14527
ce = zend_u_fetch_class(Z_TYPE(opline->op1.u.constant), Z_UNIVAL(opline->op1.u.constant), Z_UNILEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
14608
14528
if (!ce) {
@@ -15577,17 +15497,7 @@ static int ZEND_FASTCALL ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_UNUSED_HANDLER(Z
15577
15497
15578
15498
zend_ptr_stack_3_push(&EG(arg_types_stack), EX(fbc), EX(object), EX(called_scope));
15579
15499
15580
- if (IS_VAR == IS_CONST && IS_UNUSED == IS_CONST) {
15581
- /* try a function in namespace */
15582
- zend_op *op_data = opline+1;
15583
-
15584
- ZEND_VM_INC_OPCODE();
15585
-
15586
- if (zend_u_hash_quick_find(EG(function_table), Z_TYPE(op_data->op1.u.constant), Z_UNIVAL(op_data->op1.u.constant), Z_UNILEN(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==SUCCESS) {
15587
- EX(object) = NULL;
15588
- ZEND_VM_NEXT_OPCODE();
15589
- }
15590
-
15500
+ if (IS_VAR == IS_CONST) {
15591
15501
/* no function found. try a static method in class */
15592
15502
ce = zend_u_fetch_class(Z_TYPE(opline->op1.u.constant), Z_UNIVAL(opline->op1.u.constant), Z_UNILEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
15593
15503
if (!ce) {
@@ -17113,17 +17023,7 @@ static int ZEND_FASTCALL ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_CV_HANDLER(ZEND_
17113
17023
17114
17024
zend_ptr_stack_3_push(&EG(arg_types_stack), EX(fbc), EX(object), EX(called_scope));
17115
17025
17116
- if (IS_VAR == IS_CONST && IS_CV == IS_CONST) {
17117
- /* try a function in namespace */
17118
- zend_op *op_data = opline+1;
17119
-
17120
- ZEND_VM_INC_OPCODE();
17121
-
17122
- if (zend_u_hash_quick_find(EG(function_table), Z_TYPE(op_data->op1.u.constant), Z_UNIVAL(op_data->op1.u.constant), Z_UNILEN(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==SUCCESS) {
17123
- EX(object) = NULL;
17124
- ZEND_VM_NEXT_OPCODE();
17125
- }
17126
-
17026
+ if (IS_VAR == IS_CONST) {
17127
17027
/* no function found. try a static method in class */
17128
17028
ce = zend_u_fetch_class(Z_TYPE(opline->op1.u.constant), Z_UNIVAL(opline->op1.u.constant), Z_UNILEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
17129
17029
if (!ce) {
0 commit comments