3v4l.org

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

Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.07 ms | 1394 KiB | 15 Q