3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n = "afcdebhijklmnopqrstuvxyz"; var_dump( $n[true].$n[""].$n[true*10-1] );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UX54r
function name:  (null)
number of ops:  10
compiled vars:  !0 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'afcdebhijklmnopqrstuvxyz'
    4     1        INIT_FCALL                                               'var_dump'
    5     2        FETCH_DIM_R                                      ~2      !0, <true>
          3        FETCH_DIM_R                                      ~3      !0, ''
          4        CONCAT                                           ~4      ~2, ~3
          5        FETCH_DIM_R                                      ~5      !0, 9
          6        CONCAT                                           ~6      ~4, ~5
          7        SEND_VAL                                                 ~6
          8        DO_ICALL                                                 
    6     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.24 ms | 1397 KiB | 16 Q