3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); class obj{} var_dump(new obj() + new obj() + new obj()); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cqSWR
function name:  (null)
number of ops:  15
compiled vars:  none
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                                              $1      'obj'
          5        DO_FCALL                                      0          
          6        NEW                                              $3      'obj'
          7        DO_FCALL                                      0          
          8        ADD                                              ~5      $1, $3
          9        NEW                                              $6      'obj'
         10        DO_FCALL                                      0          
         11        ADD                                              ~8      ~5, $6
         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:
363.94 ms | 1394 KiB | 17 Q