3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.88 ms | 1394 KiB | 15 Q