3v4l.org

run code in 500+ PHP versions simultaneously
<?php $row = array(1, 2, 3, 4); echo " <h2>question</h2> <p>".chr(64 + $row[0])."</p> <h2>answer</h2> <p>".chr(64 + $row[1])."</p>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4eBnL
function name:  (null)
number of ops:  17
compiled vars:  !0 = $row
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
    6     1        INIT_FCALL                                                   'chr'
          2        FETCH_DIM_R                                          ~2      !0, 0
          3        ADD                                                  ~3      64, ~2
          4        SEND_VAL                                                     ~3
          5        DO_ICALL                                             $4      
          6        CONCAT                                               ~5      '%0A%3Ch2%3Equestion%3C%2Fh2%3E%0A%3Cp%3E', $4
          7        CONCAT                                               ~6      ~5, '%3C%2Fp%3E%0A%3Ch2%3Eanswer%3C%2Fh2%3E%0A%3Cp%3E'
    8     8        INIT_FCALL                                                   'chr'
          9        FETCH_DIM_R                                          ~7      !0, 1
         10        ADD                                                  ~8      64, ~7
         11        SEND_VAL                                                     ~8
         12        DO_ICALL                                             $9      
         13        CONCAT                                               ~10     ~6, $9
         14        CONCAT                                               ~11     ~10, '%3C%2Fp%3E'
         15        ECHO                                                         ~11
         16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.8 ms | 3053 KiB | 14 Q