3v4l.org

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

Class x: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.9 ms | 1385 KiB | 15 Q