3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public static function ttt() {} } register_shutdown_function(function () { $lastError = error_get_last(); if (!empty($lastError) && $lastError['type'] == E_ERROR) { test::ttt(); } });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9DPFF
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'register_shutdown_function'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F9DPFF%3A3%240'
    8     2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
          4      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F9DPFF%3A3%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
Branch analysis from position: 9
filename:       /in/9DPFF
function name:  {closure}
number of ops:  13
compiled vars:  !0 = $lastError
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'error_get_last'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
    5     3        ISSET_ISEMPTY_CV                                 ~3      !0
          4        BOOL_NOT                                         ~4      ~3
          5      > JMPZ_EX                                          ~4      ~4, ->9
          6    >   FETCH_DIM_R                                      ~5      !0, 'type'
          7        IS_EQUAL                                         ~6      ~5, 1
          8        BOOL                                             ~4      ~6
          9    > > JMPZ                                                     ~4, ->12
    6    10    >   INIT_STATIC_METHOD_CALL                                  'test', 'ttt'
         11        DO_FCALL                                      0          
    8    12    > > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F9DPFF%3A3%240

Class test:
Function ttt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9DPFF
function name:  ttt
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > RETURN                                                   null

End of function ttt

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.61 ms | 1396 KiB | 17 Q