3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); class test { function __get($name) { return $undef_name; } function __set($name, $value) { return $undef_value; } } $test = new test; $test->abc = 123; echo $test->bcd; @$test->qwe = 123; echo @$test->wer; var_dump(error_reporting()); echo "Done\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QGInU
function name:  (null)
number of ops:  25
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
   13     3        NEW                                              $2      'test'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $2
   15     6        ASSIGN_OBJ                                               !0, 'abc'
          7        OP_DATA                                                  123
   16     8        FETCH_OBJ_R                                      ~6      !0, 'bcd'
          9        ECHO                                                     ~6
   18    10        BEGIN_SILENCE                                    ~7      
         11        ASSIGN_OBJ                                               !0, 'qwe'
         12        OP_DATA                                                  123
         13        END_SILENCE                                              ~7
   19    14        BEGIN_SILENCE                                    ~9      
         15        FETCH_OBJ_R                                      ~10     !0, 'wer'
         16        END_SILENCE                                              ~9
         17        ECHO                                                     ~10
   21    18        INIT_FCALL                                               'var_dump'
         19        INIT_FCALL                                               'error_reporting'
         20        DO_ICALL                                         $11     
         21        SEND_VAR                                                 $11
         22        DO_ICALL                                                 
   23    23        ECHO                                                     'Done%0A'
         24      > RETURN                                                   1

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

End of function __get

Function __set:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QGInU
function name:  __set
number of ops:  4
compiled vars:  !0 = $name, !1 = $value, !2 = $undef_value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    9     2      > RETURN                                                   !2
   10     3*     > RETURN                                                   null

End of function __set

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.73 ms | 1396 KiB | 17 Q