3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array( "2179454040" => "127.0.0.1:6379", "2159827012" => "127.0.0.1:6380", "2171050562" => "127.0.0.1:6380", "2153052555" => "127.0.0.1:6381", "2171236323" => "127.0.0.1:6381", "2162841922" => "127.0.0.1:6381", "2173346807" => "127.0.0.1:6382", "2171411418" => "127.0.0.1:6382", "2151534559" => "127.0.0.1:6382" ); echo "COUNT " . count($arr1); for ($i = 0; $i < count($arr1); $i++) { ksort($arr1[$i], SORT_NUMERIC); } var_dump($arr1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 6
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 6
Branch analysis from position: 15
Branch analysis from position: 6
filename:       /in/L6aNB
function name:  (null)
number of ops:  19
compiled vars:  !0 = $arr1, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
   17     1        COUNT                                            ~3      !0
          2        CONCAT                                           ~4      'COUNT+', ~3
          3        ECHO                                                     ~4
   20     4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->12
   21     6    >   INIT_FCALL                                               'ksort'
          7        FETCH_DIM_W                                      $6      !0, !1
          8        SEND_REF                                                 $6
          9        SEND_VAL                                                 1
         10        DO_ICALL                                                 
   20    11        PRE_INC                                                  !1
         12    >   COUNT                                            ~9      !0
         13        IS_SMALLER                                               !1, ~9
         14      > JMPNZ                                                    ~10, ->6
   25    15    >   INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.54 ms | 1395 KiB | 17 Q