3v4l.org

run code in 300+ PHP versions simultaneously
Alan Johnson ยท July 12, 2014 Yes, example: <?php $alto = array("10","9.5","9","8.5","8","7.5","7","6.5",); $basso= array("5.5","5","4.5","4","3.5","3","2.5","2","1.5","1",); $sei= "puntimax" * "sufficienza"; ?> <table> <tr> <th>voto</th> <th>Last name</th> </tr> <?php foreach($alto as $voto ): ?> <tr> <td><?php echo $first_name ?></td> <td>"uno"</td> </tr> <?php endforeach; ?> </table>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/sBvFY
function name:  (null)
number of ops:  15
compiled vars:  !0 = $alto, !1 = $basso, !2 = $sei, !3 = $voto, !4 = $first_name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     'Alan+Johnson+%C2%B7+July+12%2C+2014%0AYes%2C+example%3A%0A%0A%0A'
    6     1        ASSIGN                                                   !0, <array>
    7     2        ASSIGN                                                   !1, <array>
    8     3        MUL                                              ~7      'puntimax', 'sufficienza'
          4        ASSIGN                                                   !2, ~7
   10     5        ECHO                                                     '%0A%3Ctable%3E%0A%3Ctr%3E%0A++%3Cth%3Evoto%3C%2Fth%3E%0A++%3Cth%3ELast+name%3C%2Fth%3E%0A%3C%2Ftr%3E%0A'
   16     6      > FE_RESET_R                                       $9      !0, ->12
          7    > > FE_FETCH_R                                               $9, !3, ->12
   17     8    >   ECHO                                                     '++%3Ctr%3E%0A+++++%3Ctd%3E'
   18     9        ECHO                                                     !4
         10        ECHO                                                     '%3C%2Ftd%3E%0A+++++%3Ctd%3E%22uno%22%3C%2Ftd%3E%0A++%3C%2Ftr%3E%0A'
   16    11      > JMP                                                      ->7
         12    >   FE_FREE                                                  $9
   22    13        ECHO                                                     '%3C%2Ftable%3E'
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.71 ms | 1393 KiB | 13 Q