3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.43 ms | 1447 KiB | 13 Q