3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(""); var_dump("0"); var_dump(0); var_dump(array()); class Test {} $t = new Test(); var_dump($t);
based on 89vVC
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/Zd14Y
function name:  (null)
number of ops:  20
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                                                 
   6    12        NOP                                                      
   7    13        NEW                                              $6      :2
        14        DO_FCALL                                      0          
        15        ASSIGN                                                   !0, $6
   8    16        INIT_FCALL                                               'var_dump'
        17        SEND_VAR                                                 !0
        18        DO_ICALL                                                 
        19      > RETURN                                                   1

Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 7.2.0