3v4l.org

run code in 300+ PHP versions simultaneously
<?php class DotNotation { public $sample = 'foobar'; public function __construct() { } public function __call($method, $parameters) { var_dump($method); die(); } } $model = new DotNotation(); echo $model->sample;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M7FIX
function name:  (null)
number of ops:  6
compiled vars:  !0 = $model
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   NEW                                              $1      'DotNotation'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   21     3        FETCH_OBJ_R                                      ~4      !0, 'sample'
          4        ECHO                                                     ~4
          5      > RETURN                                                   1

Class DotNotation:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M7FIX
function name:  __construct
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E > > RETURN                                                   null

End of function __construct

Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/M7FIX
function name:  __call
number of ops:  7
compiled vars:  !0 = $method, !1 = $parameters
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   14     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
   15     5      > EXIT                                                     
   16     6*     > RETURN                                                   null

End of function __call

End of class DotNotation.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.11 ms | 1395 KiB | 15 Q