3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Snowman☃ { function foo() { } } $snowman = new Snowman☃(); var_dump($snowman); exit(0);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/tXVpg
function name:  (null)
number of ops:  8
compiled vars:  !0 = $snowman
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $1      'Snowman%E2%98%83'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   11     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
   12     6      > EXIT                                                     0
          7*     > RETURN                                                   1

Class Snowman☃:
Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tXVpg
function name:  foo
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   null

End of function foo

End of class Snowman☃.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.26 ms | 1394 KiB | 15 Q