3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $num1 = "5"; $num2 = "6"; var_dump(get_defined_vars()); var_dump($GLOBALS);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/oHDK7
function name:  (null)
number of ops:  12
compiled vars:  !0 = $num1, !1 = $num2
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, '5'
   4     1        ASSIGN                                                   !1, '6'
   6     2        INIT_FCALL                                               'var_dump'
         3        INIT_FCALL                                               'get_defined_vars'
         4        DO_ICALL                                         $4      
         5        SEND_VAR                                                 $4
         6        DO_ICALL                                                 
   8     7        INIT_FCALL                                               'var_dump'
         8        FETCH_R                      global              $6      'GLOBALS'
         9        SEND_VAR                                                 $6
        10        DO_ICALL                                                 
        11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.1.0