3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.46 ms | 1394 KiB | 17 Q