3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); class obj{} var_dump(new obj() + new obj() + $x->wat = "xo"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NorbP
function name:  (null)
number of ops:  15
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'var_dump'
          4        NEW                                              $2      'obj'
          5        DO_FCALL                                      0          
          6        NEW                                              $4      'obj'
          7        DO_FCALL                                      0          
          8        ADD                                              ~6      $2, $4
          9        ASSIGN_OBJ                                       ~7      !0, 'wat'
         10        OP_DATA                                                  'xo'
         11        ADD                                              ~8      ~6, ~7
         12        SEND_VAL                                                 ~8
         13        DO_ICALL                                                 
    8    14      > RETURN                                                   1

Class obj: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.64 ms | 1385 KiB | 17 Q