3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Wow { public Typed $thing; public function __construct($thing) { $this->thing = $thing; } } var_dump(new Wow("not a sausage"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MZ6TD
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $0      'Wow'
          2        SEND_VAL_EX                                              'not+a+sausage'
          3        DO_FCALL                                      0          
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Class Wow:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MZ6TD
function name:  __construct
number of ops:  4
compiled vars:  !0 = $thing
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1        ASSIGN_OBJ                                               'thing'
          2        OP_DATA                                                  !0
    7     3      > RETURN                                                   null

End of function __construct

End of class Wow.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.6 ms | 1000 KiB | 14 Q