<?php
// $input = range(1,24);
// shuffle($input);
// $queues = array_chunk($input, 8);
$queues = array ( 0 => array ( 0 => 8, 1 => 22, 2 => 13, 3 => 23, 4 => 12, 5 => 10, 6 => 1, 7 => 17, ), 1 => array ( 0 => 14, 1 => 20, 2 => 5, 3 => 11, 4 => 3, 5 => 21, 6 => 15, 7 => 18, ), 2 => array ( 0 => 4, 1 => 9, 2 => 19, 3 => 16, 4 => 24, 5 => 7, 6 => 6, 7 => 2, ), );
array_walk($queues, 'sort');
var_dump($queues);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/7kkQl
function name: (null)
number of ops: 9
compiled vars: !0 = $queues
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
6 0 E > ASSIGN !0, <array>
7 1 INIT_FCALL 'array_walk'
2 SEND_REF !0
3 SEND_VAL 'sort'
4 DO_ICALL
9 5 INIT_FCALL 'var_dump'
6 SEND_VAR !0
7 DO_ICALL
8 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
142.23 ms | 1398 KiB | 17 Q