3v4l.org

run code in 500+ PHP versions simultaneously
<?php class A{} switch(1.2){ case new A(); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/5gDZM
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   NEW                                                  $1      'A'
          1        DO_FCALL                                          0          
          2        IS_EQUAL                                                     $1, 1.2
          3      > JMPNZ                                                        ~0, ->5
          4    > > JMP                                                          ->5
    6     5    > > RETURN                                                       1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.93 ms | 473 KiB | 7 Q