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(); } }); xx();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6TmSa
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'register_shutdown_function'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F6TmSa%3A8%240'
   13     2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
   15     4        INIT_FCALL_BY_NAME                                       'xx'
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F6TmSa%3A8%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/6TmSa
function name:  {closure}
number of ops:  13
compiled vars:  !0 = $lastError
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'error_get_last'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
   10     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
   11    10    >   INIT_STATIC_METHOD_CALL                                  'test', 'ttt'
         11        DO_FCALL                                      0          
   13    12    > > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F6TmSa%3A8%240

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

End of function ttt

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.95 ms | 1396 KiB | 17 Q