3v4l.org

run code in 300+ PHP versions simultaneously
<?php class toto{public function foo() {} public $foo=3;} define('toto', 3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/R0UEI
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'toto'
          2        SEND_VAL                                                 3
          3        DO_ICALL                                                 
          4      > RETURN                                                   1

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

End of function foo

End of class toto.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.02 ms | 1389 KiB | 16 Q