3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 1 => 'foo', '1' => 'super_foo', '2' => 'bar' ]; echo "The array has ", count($array), " values", "\n"; print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TA9aD
function name:  (null)
number of ops:  10
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        ECHO                                                     'The+array+has+'
          2        COUNT                                            ~2      !0
          3        ECHO                                                     ~2
          4        ECHO                                                     '+values'
          5        ECHO                                                     '%0A'
   10     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
312.52 ms | 1012 KiB | 14 Q