3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.49 ms | 1397 KiB | 18 Q