3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A{} class B{} if (!class_exists('B')) class_alias('A', 'B');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/lpU2k
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'class_exists'
          1        SEND_VAL                                                 'B'
          2        DO_ICALL                                         $0      
          3        BOOL_NOT                                         ~1      $0
          4      > JMPZ                                                     ~1, ->9
    6     5    >   INIT_FCALL                                               'class_alias'
          6        SEND_VAL                                                 'A'
          7        SEND_VAL                                                 'B'
          8        DO_ICALL                                                 
          9    > > RETURN                                                   1

Class A: [no user functions]
Class B: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.5 ms | 1394 KiB | 17 Q