3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(isset($_POST["enviar"])){ foreach($_POST["checkbox"] as $key=>$value){ echo $id_produtos = mysql_real_escape_string($value); echo $nome = $_POST['nome'][$key]; echo $valor = $_POST['valor'][$key]; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 25
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 24
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 24
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
Branch analysis from position: 25
filename:       /in/muCMG
function name:  (null)
number of ops:  26
compiled vars:  !0 = $value, !1 = $key, !2 = $id_produtos, !3 = $nome, !4 = $valor
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_IS                                         ~5      '_POST'
          1        ISSET_ISEMPTY_DIM_OBJ                         0          ~5, 'enviar'
          2      > JMPZ                                                     ~6, ->25
    5     3    >   FETCH_R                      global              ~7      '_POST'
          4        FETCH_DIM_R                                      ~8      ~7, 'checkbox'
          5      > FE_RESET_R                                       $9      ~8, ->24
          6    > > FE_FETCH_R                                       ~10     $9, !0, ->24
          7    >   ASSIGN                                                   !1, ~10
    6     8        INIT_FCALL_BY_NAME                                       'mysql_real_escape_string'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0  $12     
         11        ASSIGN                                           ~13     !2, $12
         12        ECHO                                                     ~13
    7    13        FETCH_R                      global              ~14     '_POST'
         14        FETCH_DIM_R                                      ~15     ~14, 'nome'
         15        FETCH_DIM_R                                      ~16     ~15, !1
         16        ASSIGN                                           ~17     !3, ~16
         17        ECHO                                                     ~17
    8    18        FETCH_R                      global              ~18     '_POST'
         19        FETCH_DIM_R                                      ~19     ~18, 'valor'
         20        FETCH_DIM_R                                      ~20     ~19, !1
         21        ASSIGN                                           ~21     !4, ~20
         22        ECHO                                                     ~21
    5    23      > JMP                                                      ->6
         24    >   FE_FREE                                                  $9
   10    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.61 ms | 1395 KiB | 13 Q