3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ormwrapper { var $a=['aa' => 4]; function __set($a,$s) { if(!isset($a[$a])) { echo 'asas'; }; } } $a=(new ormwrapper); $a->ee = 7;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HIP4M
function name:  (null)
number of ops:  6
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   NEW                                              $1      'ormwrapper'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   17     3        ASSIGN_OBJ                                               !0, 'ee'
          4        OP_DATA                                                  7
          5      > RETURN                                                   1

Class ormwrapper:
Function __set:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/HIP4M
function name:  __set
number of ops:  7
compiled vars:  !0 = $a, !1 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    9     2        ISSET_ISEMPTY_DIM_OBJ                         0  ~2      !0, !0
          3        BOOL_NOT                                         ~3      ~2
          4      > JMPZ                                                     ~3, ->6
   10     5    >   ECHO                                                     'asas'
   13     6    > > RETURN                                                   null

End of function __set

End of class ormwrapper.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.99 ms | 1393 KiB | 13 Q