3v4l.org

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

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

End of function __construct

End of class myName.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.44 ms | 1393 KiB | 13 Q