3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Hello{ public $name; public function __construct($name){ $this->name = $name; } } $obj = new Hello("hassa hasibul"); echo $obj;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GfhjS
function name:  (null)
number of ops:  6
compiled vars:  !0 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $1      'Hello'
          1        SEND_VAL_EX                                              'hassa+hasibul'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
   11     4        ECHO                                                     !0
          5      > RETURN                                                   1

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

End of function __construct

End of class Hello.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.75 ms | 1393 KiB | 13 Q