3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = Array ( 'ShipOCI/Quality Container Warehouse' => Array ( '0' => Array ( 'id' => 238, 'fk_company_billto' => 7908, 'fk_company_warehouse' => 7181 ), '1' => Array ( 'id' => 17024, 'fk_company_billto' => 1039, 'fk_company_warehouse' => 7181 ), '2' => Array ( 'id' => 0, 'fk_company_billto' => 1039, 'fk_company_warehouse' => 7181 ) ), 'Star Warehouse LLC' => Array ( '0' => Array ( 'id' => 260, 'fk_company_billto' => 1039, 'fk_company_warehouse' => 8964 ), '2' => Array ( 'id' => 238, 'fk_company_billto' => 9149, 'fk_company_warehouse' => 8964 ), '3' => Array ( 'id' => 238, 'fk_company_billto' => 0, 'fk_company_warehouse' => 8964 ), '4' => Array ( 'id' => 238, 'fk_company_billto' => 7333, 'fk_company_warehouse' => 8964 ), '5' => Array ( 'id' => 238, 'fk_company_billto' => 9049, 'fk_company_warehouse' => 8964 ), '6' => Array ( 'id' => 238, 'fk_company_billto' => 7333, 'fk_company_warehouse' => 8964 ), '7' => Array ( 'id' => 238, 'fk_company_billto' => 9049, 'fk_company_warehouse' => 8964 ), '8' => Array ( 'id' => 238, 'fk_company_billto' => 8217, 'fk_company_warehouse' => 8964 ), '9' => Array ( 'id' => 238, 'fk_company_billto' => 7516, 'fk_company_warehouse' => 8964 ), '10' => Array ( 'id' => 82, 'fk_company_billto' => 1039, 'fk_company_warehouse' => 8964 ) ), 'OCI India Surface Shipping & Transport Systems Pvt. Ltd.' => Array ( '0' => Array ( 'id' => 238, 'fk_company_billto' => 7908, 'fk_company_warehouse' => 7276 ), '1' => Array ( 'id' => 238, 'fk_company_billto' => 9049, 'fk_company_warehouse' => 7276 ) ), 'QA Test Edit' => Array ( '0' => Array ( 'id' => 82, 'fk_company_billto' => 8217, 'fk_company_warehouse' => 8217 ) ) ); array_multisort(array_map('count', $a), SORT_DESC, $a); print_r($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EATkk
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
  133     1        INIT_FCALL                                               'array_multisort'
          2        INIT_FCALL                                               'array_map'
          3        SEND_VAL                                                 'count'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAL                                                 $2
          7        SEND_VAL                                                 3
          8        SEND_REF                                                 !0
          9        DO_ICALL                                                 
  134    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.9 ms | 953 KiB | 16 Q