3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump((string) new Exception(get_class(new class extends stdclass {}) . " failed"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e9AGZ
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        NEW                                                  $0      'Exception'
          2        DECLARE_ANON_CLASS                                   <unknown> 'stdclass'
          3        NEW                                                  $2      $1
          4        DO_FCALL                                          0          
          5        GET_CLASS                                            ~4      $2
          6        CONCAT                                               ~5      ~4, '+failed'
          7        SEND_VAL_EX                                                  ~5
          8        DO_FCALL                                          0          
          9        CAST                                              6  ~7      $0
         10        SEND_VAL                                                     ~7
         11        DO_ICALL                                                     
         12      > RETURN                                                       1

Class stdclass@anonymous: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.56 ms | 2708 KiB | 14 Q