3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = array("nom" => "420-175-AH", "intra" => 18, "devoir1" => 9.5, "final" => 90); $cles = array_keys($t); for ($i = 0; $i < count($cles); $i++) { echo $cles[$i], $t[$cles[$i]]; } //ou avec foreach foreach ($t as $cle => $valeur) { echo $cle, $valeur; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 7
Branch analysis from position: 16
2 jumps found. (Code = 77) Position 1 = 17, Position 2 = 22
Branch analysis from position: 17
2 jumps found. (Code = 78) Position 1 = 18, Position 2 = 22
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 7
Branch analysis from position: 16
Branch analysis from position: 7
filename:       /in/bodga
function name:  (null)
number of ops:  24
compiled vars:  !0 = $t, !1 = $cles, !2 = $i, !3 = $valeur, !4 = $cle
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'array_keys'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
    9     5        ASSIGN                                                   !2, 0
          6      > JMP                                                      ->13
   10     7    >   FETCH_DIM_R                                      ~9      !1, !2
          8        ECHO                                                     ~9
          9        FETCH_DIM_R                                      ~10     !1, !2
         10        FETCH_DIM_R                                      ~11     !0, ~10
         11        ECHO                                                     ~11
    9    12        PRE_INC                                                  !2
         13    >   COUNT                                            ~13     !1
         14        IS_SMALLER                                               !2, ~13
         15      > JMPNZ                                                    ~14, ->7
   14    16    > > FE_RESET_R                                       $15     !0, ->22
         17    > > FE_FETCH_R                                       ~16     $15, !3, ->22
         18    >   ASSIGN                                                   !4, ~16
   15    19        ECHO                                                     !4
         20        ECHO                                                     !3
   14    21      > JMP                                                      ->17
         22    >   FE_FREE                                                  $15
   16    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.26 ms | 1395 KiB | 15 Q