3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mapper = array('nroCliente' => 0, 'nombre' => 0, 'direccion' => 1, 'ciudad' => 2, 'provincia' => 3, 'telefono1' => 4, 'telefono2' => 5, 'email' => 6, 'website' => 7, 'horario' => 8, 'horario_sab' => 9, 'horario_dom' => 10, 'efectivo' => 11, 'amex' => 12, 'visa' => 13, 'mastercard' => 14, 'other_cards' => 15, 'other_cards1' => 16, 'other_cards2' => 17, 'services_alignment' => 18, 'services_ac' => 19, 'services_frenos' => 20, 'services_aceite' => 21, 'services_filtros' => 22, 'services_lubricacion' => 23, 'services_balanceo' => 24, 'services_bateria' => 25, 'services_choques' => 26, 'other_services1' => 27, 'other_services2' => 28, 'other_services3' => 29 ); $i = 0; foreach ($mapper as $map => $key) { echo "'" . $map . "' => " . $i . ", "; $i++; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 12
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 12
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/fTPqI
function name:  (null)
number of ops:  14
compiled vars:  !0 = $mapper, !1 = $i, !2 = $key, !3 = $map
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   16     1        ASSIGN                                                   !1, 0
   17     2      > FE_RESET_R                                       $6      !0, ->12
          3    > > FE_FETCH_R                                       ~7      $6, !2, ->12
          4    >   ASSIGN                                                   !3, ~7
   18     5        CONCAT                                           ~9      '%27', !3
          6        CONCAT                                           ~10     ~9, '%27+%3D%3E+'
          7        CONCAT                                           ~11     ~10, !1
          8        CONCAT                                           ~12     ~11, '%2C+'
          9        ECHO                                                     ~12
   19    10        PRE_INC                                                  !1
   17    11      > JMP                                                      ->3
         12    >   FE_FREE                                                  $6
   20    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.05 ms | 1393 KiB | 13 Q