3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(array(1=>’value1’, ‘1’=>’value2’));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UHAgK
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'print_r'
          1        FETCH_CONSTANT                                   ~0      '%E2%80%99value1%E2%80%99'
          2        INIT_ARRAY                                       ~1      ~0, 1
          3        FETCH_CONSTANT                                   ~2      '%E2%80%981%E2%80%99'
          4        FETCH_CONSTANT                                   ~3      '%E2%80%99value2%E2%80%99'
          5        ADD_ARRAY_ELEMENT                                ~1      ~3, ~2
          6        SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.13 ms | 939 KiB | 16 Q