3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(~0); $foo = new StdClass(); $foo->bar = '1234'; echo $foo->bar;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rvQbE
function name:  (null)
number of ops:  11
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    4     3        NEW                                              $2      'StdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $2
    5     6        ASSIGN_OBJ                                               !0, 'bar'
          7        OP_DATA                                                  '1234'
    6     8        FETCH_OBJ_R                                      ~6      !0, 'bar'
          9        ECHO                                                     ~6
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.76 ms | 1394 KiB | 15 Q