3v4l.org

run code in 500+ PHP versions simultaneously
<?php class ABC { public function xyz() { echo "Oh my girl!"; } } error_reporting(E_ALL); ABC::xyz(); if (function_exists('error_get_last')) { print_r(error_get_last()); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/7H4pj
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                                   'error_reporting'
          1        SEND_VAL                                                     30719
          2        DO_ICALL                                                     
   12     3        INIT_STATIC_METHOD_CALL                                      'ABC', 'xyz'
          4        DO_FCALL                                          0          
   14     5        INIT_FCALL                                                   'function_exists'
          6        SEND_VAL                                                     'error_get_last'
          7        DO_ICALL                                             $2      
          8      > JMPZ                                                         $2, ->14
   15     9    >   INIT_FCALL                                                   'print_r'
         10        INIT_FCALL                                                   'error_get_last'
         11        DO_ICALL                                             $3      
         12        SEND_VAR                                                     $3
         13        DO_ICALL                                                     
   16    14    > > RETURN                                                       1

Class ABC:
Function xyz:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7H4pj
function name:  xyz
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                         'Oh+my+girl%21'
    8     1      > RETURN                                                       null

End of function xyz

End of class ABC.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
179.39 ms | 3361 KiB | 17 Q