3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { } $blah = new X; var_dump($blah);//why would you 'blah'? You already know it var_dump(get_class($blah));//you sure you don't want 'X' like here? $ar = ['this is key' => 1,2]; var_dump($ar);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NPKC6
function name:  (null)
number of ops:  15
compiled vars:  !0 = $blah, !1 = $ar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   NEW                                              $2      'X'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    8     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    9     6        INIT_FCALL                                               'var_dump'
          7        GET_CLASS                                        ~6      !0
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                                 
   11    10        ASSIGN                                                   !1, <array>
   12    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Class X: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
209.68 ms | 1394 KiB | 15 Q