3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo {} if (1) { class foo {} }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 2
Branch analysis from position: 1
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
filename:       /in/q9vA8
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > JMPZ                                                     1, ->2
    6     1    >   DECLARE_CLASS                                            'foo'
    7     2    > > RETURN                                                   1

Class foo: [no user functions]
Class foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.56 ms | 1392 KiB | 13 Q