3v4l.org

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

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

End of function __construct

End of class Radical.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.64 ms | 1393 KiB | 13 Q