3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 'Foo Bar'; $lang["FAI_R"]["PRT"]["TITLE"]["HEADER"] = 'Hello, World!'; $html = <<<EOD <div id="topHeaderView">$value</div> <table> <tr> <td>{$lang["FAI_R"]["PRT"]["TITLE"]["HEADER"]}</td> </tr> EOD; var_dump($html);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KoMsg
function name:  (null)
number of ops:  20
compiled vars:  !0 = $value, !1 = $lang, !2 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Foo+Bar'
    4     1        FETCH_DIM_W                                      $4      !1, 'FAI_R'
          2        FETCH_DIM_W                                      $5      $4, 'PRT'
          3        FETCH_DIM_W                                      $6      $5, 'TITLE'
          4        ASSIGN_DIM                                               $6, 'HEADER'
          5        OP_DATA                                                  'Hello%2C+World%21'
    7     6        ROPE_INIT                                     5  ~13     '%3Cdiv+id%3D%22topHeaderView%22%3E'
          7        ROPE_ADD                                      1  ~13     ~13, !0
          8        ROPE_ADD                                      2  ~13     ~13, '%3C%2Fdiv%3E%0A+%3Ctable%3E%0A++%3Ctr%3E%0A%3Ctd%3E'
   10     9        FETCH_DIM_R                                      ~8      !1, 'FAI_R'
         10        FETCH_DIM_R                                      ~9      ~8, 'PRT'
         11        FETCH_DIM_R                                      ~10     ~9, 'TITLE'
         12        FETCH_DIM_R                                      ~11     ~10, 'HEADER'
         13        ROPE_ADD                                      3  ~13     ~13, ~11
         14        ROPE_END                                      4  ~12     ~13, '%3C%2Ftd%3E%0A++++%3C%2Ftr%3E'
    6    15        ASSIGN                                                   !2, ~12
   14    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !2
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.53 ms | 940 KiB | 16 Q