3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(${''}='stdClass'); var_dump(new ${!${''}='stdClass'});
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qMfA6
function name:  (null)
number of ops:  14
compiled vars:  !0 = $
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        ASSIGN                                           ~1      !0, 'stdClass'
          2        SEND_VAL                                                 ~1
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'var_dump'
          5        ASSIGN                                           ~3      !0, 'stdClass'
          6        BOOL_NOT                                         ~4      ~3
          7        FETCH_R                      local               ~5      ~4
          8        FETCH_CLASS                                   0  $6      ~5
          9        NEW                                              $7      $6
         10        DO_FCALL                                      0          
         11        SEND_VAR                                                 $7
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.15 ms | 1394 KiB | 15 Q