3v4l.org

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

Class stdclass@anonymous: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.38 ms | 1394 KiB | 15 Q