3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hashs = array(); $vals = array(); for($i = 0; $i < 20; $i++){ $hashs[] = md5(rand()); $vals[] = array("Preis" => rand()); } $groups = array_combine($hashs, $vals); echo array_column($groups, "Preis");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 4
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 4
Branch analysis from position: 19
Branch analysis from position: 4
filename:       /in/HNVjS
function name:  (null)
number of ops:  30
compiled vars:  !0 = $hashs, !1 = $vals, !2 = $i, !3 = $groups
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->17
    5     4    >   INIT_FCALL                                               'md5'
          5        INIT_FCALL                                               'rand'
          6        DO_ICALL                                         $8      
          7        SEND_VAR                                                 $8
          8        DO_ICALL                                         $9      
          9        ASSIGN_DIM                                               !0
         10        OP_DATA                                                  $9
    6    11        INIT_FCALL                                               'rand'
         12        DO_ICALL                                         $11     
         13        INIT_ARRAY                                       ~12     $11, 'Preis'
         14        ASSIGN_DIM                                               !1
         15        OP_DATA                                                  ~12
    4    16        PRE_INC                                                  !2
         17    >   IS_SMALLER                                               !2, 20
         18      > JMPNZ                                                    ~14, ->4
   10    19    >   INIT_FCALL                                               'array_combine'
         20        SEND_VAR                                                 !0
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                         $15     
         23        ASSIGN                                                   !3, $15
   12    24        INIT_FCALL                                               'array_column'
         25        SEND_VAR                                                 !3
         26        SEND_VAL                                                 'Preis'
         27        DO_ICALL                                         $17     
         28        ECHO                                                     $17
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.48 ms | 1396 KiB | 21 Q