3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hashs = array(); $vals = array(); for($i = 0; $i < 20; $i++){ $hashs[] = md5(rand()); $values = array(); for($i = 0; $i < 20; $i++){ $values[] = array( "Preis" => rand() ); } $vals[] = $values; } $groups = array_combine($hashs, $vals); var_dump($groups); $prices = array_column($groups, "Preis"); echo max($prices); echo ($m == max($prices))?"yes":"nope";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 4
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 49, Position 2 = 51
Branch analysis from position: 49
1 jumps found. (Code = 42) Position 1 = 52
Branch analysis from position: 52
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 51
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 14
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 4
Branch analysis from position: 27
Branch analysis from position: 4
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 14
Branch analysis from position: 22
Branch analysis from position: 14
filename:       /in/rRjA7
function name:  (null)
number of ops:  54
compiled vars:  !0 = $hashs, !1 = $vals, !2 = $i, !3 = $values, !4 = $groups, !5 = $prices, !6 = $m
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                                                      ->25
    5     4    >   INIT_FCALL                                               'md5'
          5        INIT_FCALL                                               'rand'
          6        DO_ICALL                                         $11     
          7        SEND_VAR                                                 $11
          8        DO_ICALL                                         $12     
          9        ASSIGN_DIM                                               !0
         10        OP_DATA                                                  $12
    6    11        ASSIGN                                                   !3, <array>
    7    12        ASSIGN                                                   !2, 0
         13      > JMP                                                      ->20
    9    14    >   INIT_FCALL                                               'rand'
         15        DO_ICALL                                         $16     
         16        INIT_ARRAY                                       ~17     $16, 'Preis'
    8    17        ASSIGN_DIM                                               !3
    9    18        OP_DATA                                                  ~17
    7    19        PRE_INC                                                  !2
         20    >   IS_SMALLER                                               !2, 20
         21      > JMPNZ                                                    ~19, ->14
   12    22    >   ASSIGN_DIM                                               !1
         23        OP_DATA                                                  !3
    4    24        PRE_INC                                                  !2
         25    >   IS_SMALLER                                               !2, 20
         26      > JMPNZ                                                    ~22, ->4
   15    27    >   INIT_FCALL                                               'array_combine'
         28        SEND_VAR                                                 !0
         29        SEND_VAR                                                 !1
         30        DO_ICALL                                         $23     
         31        ASSIGN                                                   !4, $23
   16    32        INIT_FCALL                                               'var_dump'
         33        SEND_VAR                                                 !4
         34        DO_ICALL                                                 
   18    35        INIT_FCALL                                               'array_column'
         36        SEND_VAR                                                 !4
         37        SEND_VAL                                                 'Preis'
         38        DO_ICALL                                         $26     
         39        ASSIGN                                                   !5, $26
   19    40        INIT_FCALL                                               'max'
         41        SEND_VAR                                                 !5
         42        DO_ICALL                                         $28     
         43        ECHO                                                     $28
   20    44        INIT_FCALL                                               'max'
         45        SEND_VAR                                                 !5
         46        DO_ICALL                                         $29     
         47        IS_EQUAL                                                 !6, $29
         48      > JMPZ                                                     ~30, ->51
         49    >   QM_ASSIGN                                        ~31     'yes'
         50      > JMP                                                      ->52
         51    >   QM_ASSIGN                                        ~31     'nope'
         52    >   ECHO                                                     ~31
         53      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.61 ms | 1400 KiB | 25 Q