3v4l.org

run code in 300+ PHP versions simultaneously
<?php class AdminModel { // Change to proxy function in Joomla 7.0 to batchTag protected function batchTagTempTill70($value, $pks, $contexts, $removeTags = false) { // actuall batchTag code } // In 7.0 add $removeTags parameter and move code from Temp function to this function protected function batchTag($value, $pks, $contexts) { return $this->batchTagTempTill70($value, $pks, $contexts); } } class ModelBasedOn4or5or6code extends AdminModel { // Proxy function can be removed with Joomla 7.0 compatibility only protected function batchTag($value, $pks, $contexts, $removeTags = false) { return $this->batchTagTempTill70($value, $pks, $contexts, $removeTags); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iZK34
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E > > RETURN                                                   1

Class AdminModel:
Function batchtagtemptill70:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iZK34
function name:  batchTagTempTill70
number of ops:  5
compiled vars:  !0 = $value, !1 = $pks, !2 = $contexts, !3 = $removeTags
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV_INIT                                        !3      <false>
    7     4      > RETURN                                                   null

End of function batchtagtemptill70

Function batchtag:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iZK34
function name:  batchTag
number of ops:  10
compiled vars:  !0 = $value, !1 = $pks, !2 = $contexts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
   11     3        INIT_METHOD_CALL                                         'batchTagTempTill70'
          4        SEND_VAR_EX                                              !0
          5        SEND_VAR_EX                                              !1
          6        SEND_VAR_EX                                              !2
          7        DO_FCALL                                      0  $3      
          8      > RETURN                                                   $3
   12     9*     > RETURN                                                   null

End of function batchtag

End of class AdminModel.

Class ModelBasedOn4or5or6code:
Function batchtag:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iZK34
function name:  batchTag
number of ops:  12
compiled vars:  !0 = $value, !1 = $pks, !2 = $contexts, !3 = $removeTags
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV_INIT                                        !3      <false>
   18     4        INIT_METHOD_CALL                                         'batchTagTempTill70'
          5        SEND_VAR_EX                                              !0
          6        SEND_VAR_EX                                              !1
          7        SEND_VAR_EX                                              !2
          8        SEND_VAR_EX                                              !3
          9        DO_FCALL                                      0  $4      
         10      > RETURN                                                   $4
   19    11*     > RETURN                                                   null

End of function batchtag

Function batchtagtemptill70:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iZK34
function name:  batchTagTempTill70
number of ops:  5
compiled vars:  !0 = $value, !1 = $pks, !2 = $contexts, !3 = $removeTags
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV_INIT                                        !3      <false>
    7     4      > RETURN                                                   null

End of function batchtagtemptill70

End of class ModelBasedOn4or5or6code.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.1 ms | 1000 KiB | 13 Q