3v4l.org

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

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

End of function __construct

Function show:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/se7ff
function name:  show
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'var_dump'
          1        FETCH_OBJ_R                                      ~0      'sid'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
   11     4      > RETURN                                                   null

End of function show

End of class scribev2.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.77 ms | 1395 KiB | 15 Q