3v4l.org

run code in 300+ PHP versions simultaneously
<?php $MensScores = Array("Day 1 Standing","Team", "All Around", "Floor","Pommel","Rings","Vault","Parallel Bars","High Bar"); $MensLevels = Array("Level 7 Under","Level 7 Open","Level 8 Under","Level 8 Open","Level 9 Under","Level 9 Open","Level 10 Under","Senior International"); echo "<Table cellpadding=2>"; echo "<td style='text-align: center;' colspan='10'><strong>Men's Artistic Gymnastics</strong></td>"; echo "</TR>"; foreach ($MensLevels as $Level){ echo "<TR bgcolor=#c0c0c0><TD style='width: 10%;' valign='top'> $Level</TD>\n"; foreach ($MensScores as $ScoreType){ $DIVName="MAG_".str_replace(" ","_",$Level)."_".str_replace(" ","_",$ScoreType); echo "<TD style='width: 9%;' valign='top'> <DIV ID=$DIVName>$ScoreType</DIV></TD>"; }; echo "</TR>\n"; }; echo "</Table>"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 37
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 37
Branch analysis from position: 7
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 34
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 34
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 34
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 34
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 37
filename:       /in/GMeGE
function name:  (null)
number of ops:  40
compiled vars:  !0 = $MensScores, !1 = $MensLevels, !2 = $Level, !3 = $ScoreType, !4 = $DIVName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        ECHO                                                     '%3CTable+cellpadding%3D2%3E'
    7     3        ECHO                                                     '%3Ctd+style%3D%27text-align%3A+center%3B%27+colspan%3D%2710%27%3E%3Cstrong%3EMen%27s+Artistic+Gymnastics%3C%2Fstrong%3E%3C%2Ftd%3E'
    8     4        ECHO                                                     '%3C%2FTR%3E'
    9     5      > FE_RESET_R                                       $7      !1, ->37
          6    > > FE_FETCH_R                                               $7, !2, ->37
   10     7    >   ROPE_INIT                                     3  ~9      '%3CTR+bgcolor%3D%23c0c0c0%3E%3CTD+style%3D%27width%3A+10%25%3B%27+valign%3D%27top%27%3E+'
          8        ROPE_ADD                                      1  ~9      ~9, !2
          9        ROPE_END                                      2  ~8      ~9, '%3C%2FTD%3E%0A'
         10        ECHO                                                     ~8
   11    11      > FE_RESET_R                                       $11     !0, ->34
         12    > > FE_FETCH_R                                               $11, !3, ->34
   12    13    >   INIT_FCALL                                               'str_replace'
         14        SEND_VAL                                                 '+'
         15        SEND_VAL                                                 '_'
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                         $12     
         18        CONCAT                                           ~13     'MAG_', $12
         19        CONCAT                                           ~14     ~13, '_'
         20        INIT_FCALL                                               'str_replace'
         21        SEND_VAL                                                 '+'
         22        SEND_VAL                                                 '_'
         23        SEND_VAR                                                 !3
         24        DO_ICALL                                         $15     
         25        CONCAT                                           ~16     ~14, $15
         26        ASSIGN                                                   !4, ~16
   13    27        ROPE_INIT                                     5  ~19     '%3CTD+style%3D%27width%3A+9%25%3B%27+valign%3D%27top%27%3E+%3CDIV+ID%3D'
         28        ROPE_ADD                                      1  ~19     ~19, !4
         29        ROPE_ADD                                      2  ~19     ~19, '%3E'
         30        ROPE_ADD                                      3  ~19     ~19, !3
         31        ROPE_END                                      4  ~18     ~19, '%3C%2FDIV%3E%3C%2FTD%3E'
         32        ECHO                                                     ~18
   11    33      > JMP                                                      ->12
         34    >   FE_FREE                                                  $11
   15    35        ECHO                                                     '%3C%2FTR%3E%0A'
    9    36      > JMP                                                      ->6
         37    >   FE_FREE                                                  $7
   18    38        ECHO                                                     '%3C%2FTable%3E'
   19    39      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.94 ms | 1400 KiB | 15 Q