3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row["quote"] = "This is the quote"; $row["id"] = 1; $p = []; $p[0] = "<p class='dash'>---------</p>\n"; $p[1] = "<p class='center' style='color:white' align='center'>$row[quote]<br>\n$row[id]</p>\n"; echo $p[0],$p[1];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rCp3p
function name:  (null)
number of ops:  21
compiled vars:  !0 = $row, !1 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'quote'
          1        OP_DATA                                                  'This+is+the+quote'
    3     2        ASSIGN_DIM                                               !0, 'id'
          3        OP_DATA                                                  1
    4     4        ASSIGN                                                   !1, <array>
    5     5        ASSIGN_DIM                                               !1, 0
          6        OP_DATA                                                  '%3Cp+class%3D%27dash%27%3E---------%3C%2Fp%3E%0A'
    6     7        ROPE_INIT                                     5  ~10     '%3Cp+class%3D%27center%27+style%3D%27color%3Awhite%27+align%3D%27center%27%3E'
          8        FETCH_DIM_R                                      ~7      !0, 'quote'
          9        ROPE_ADD                                      1  ~10     ~10, ~7
         10        ROPE_ADD                                      2  ~10     ~10, '%3Cbr%3E%0A'
         11        FETCH_DIM_R                                      ~8      !0, 'id'
         12        ROPE_ADD                                      3  ~10     ~10, ~8
         13        ROPE_END                                      4  ~9      ~10, '%3C%2Fp%3E%0A'
         14        ASSIGN_DIM                                               !1, 1
         15        OP_DATA                                                  ~9
    7    16        FETCH_DIM_R                                      ~13     !1, 0
         17        ECHO                                                     ~13
         18        FETCH_DIM_R                                      ~14     !1, 1
         19        ECHO                                                     ~14
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
227.92 ms | 996 KiB | 13 Q