3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ''; // empty string $a[10] = 'a'; echo $a; // "Array" $b = ' '; // non empty string $b[10] = 'b'; echo $b; // " b"
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AHWVK
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, ''
    4     1        ASSIGN_DIM                                               !0, 10
          2        OP_DATA                                                  'a'
    5     3        ECHO                                                     !0
    7     4        ASSIGN                                                   !1, '+'
    8     5        ASSIGN_DIM                                               !1, 10
          6        OP_DATA                                                  'b'
    9     7        ECHO                                                     !1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.02 ms | 1392 KiB | 13 Q