3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class Controller { private $val; public function Controller() { $this->val = "Hello World!"; echo $this->val; } } new Controller;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ld3tN
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   NEW                                              $0      'Controller'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
          3      > RETURN                                                   1

Class Controller:
Function controller:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ld3tN
function name:  Controller
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN_OBJ                                               'val'
          1        OP_DATA                                                  'Hello+World%21'
    9     2        FETCH_OBJ_R                                      ~1      'val'
          3        ECHO                                                     ~1
   10     4      > RETURN                                                   null

End of function controller

End of class Controller.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.85 ms | 1393 KiB | 13 Q