3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Core_Util_ShopNewEntityChangeList { private static $things = array(); public function sendToNewApi() { foreach (self::$things as $thing) { echo $thing; } } } function notifyNewApi() { Core_Util_ShopNewEntityChangeList::sendToNewApi(); } register_shutdown_function('notifyNewApi'); echo "Hello world";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F9gKk
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   INIT_FCALL                                               'register_shutdown_function'
          1        SEND_VAL                                                 'notifyNewApi'
          2        DO_ICALL                                                 
   23     3        ECHO                                                     'Hello+world'
          4      > RETURN                                                   1

Function notifynewapi:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F9gKk
function name:  notifyNewApi
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   INIT_STATIC_METHOD_CALL                                  'Core_Util_ShopNewEntityChangeList', 'sendToNewApi'
          1        DO_FCALL                                      0          
   20     2      > RETURN                                                   null

End of function notifynewapi

Class Core_Util_ShopNewEntityChangeList:
Function sendtonewapi:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 5
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/F9gKk
function name:  sendToNewApi
number of ops:  7
compiled vars:  !0 = $thing
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   FETCH_STATIC_PROP_R          unknown             ~1      'things'
          1      > FE_RESET_R                                       $2      ~1, ->5
          2    > > FE_FETCH_R                                               $2, !0, ->5
   10     3    >   ECHO                                                     !0
    8     4      > JMP                                                      ->2
          5    >   FE_FREE                                                  $2
   13     6      > RETURN                                                   null

End of function sendtonewapi

End of class Core_Util_ShopNewEntityChangeList.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.26 ms | 1395 KiB | 15 Q