3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = array(1, 2, 3, 4); echo " <h2>question</h2> <p>".chr(64 + 1)."</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/F1DVZ
function name:  (null)
number of ops:  15
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        SEND_VAL                                                 65
          3        DO_ICALL                                         $2      
          4        CONCAT                                           ~3      '%0A%3Ch2%3Equestion%3C%2Fh2%3E%0A%3Cp%3E', $2
          5        CONCAT                                           ~4      ~3, '%3C%2Fp%3E%0A%3Ch2%3Eanswer%3C%2Fh2%3E%0A%3Cp%3E'
    8     6        INIT_FCALL                                               'chr'
          7        FETCH_DIM_R                                      ~5      !0, 1
          8        ADD                                              ~6      64, ~5
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
         11        CONCAT                                           ~8      ~4, $7
         12        CONCAT                                           ~9      ~8, '%3C%2Fp%3E'
         13        ECHO                                                     ~9
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.26 ms | 1394 KiB | 15 Q