3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { } function create_b() { class B{} } new A(); create_b(); new B();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ACUjT
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   NEW                                              $0      'A'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
   13     3        INIT_FCALL                                               'create_b'
          4        DO_FCALL                                      0          
   14     5        NEW                                              $3      'B'
          6        DO_FCALL                                      0          
          7        FREE                                                     $3
          8      > RETURN                                                   1

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

End of function create_b

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.6 ms | 1005 KiB | 14 Q