3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parent[0] = array(0, 0, 0); $parent[2] = array("foo", "bar", "b", "a", "z"); $parent[1] = array(4, 2); $parent[5] = array(11, 2); $parent[3] = array(1, 21); $parent[4] = array(11, 1); array_multisort(array_map('count', $parent), $parent); var_export($parent);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kD9H6
function name:  (null)
number of ops:  24
compiled vars:  !0 = $parent
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 0
          1        OP_DATA                                                  <array>
    4     2        ASSIGN_DIM                                               !0, 2
          3        OP_DATA                                                  <array>
    5     4        ASSIGN_DIM                                               !0, 1
          5        OP_DATA                                                  <array>
    6     6        ASSIGN_DIM                                               !0, 5
          7        OP_DATA                                                  <array>
    7     8        ASSIGN_DIM                                               !0, 3
          9        OP_DATA                                                  <array>
    8    10        ASSIGN_DIM                                               !0, 4
         11        OP_DATA                                                  <array>
   10    12        INIT_FCALL                                               'array_multisort'
         13        INIT_FCALL                                               'array_map'
         14        SEND_VAL                                                 'count'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $7      
         17        SEND_VAL                                                 $7
         18        SEND_REF                                                 !0
         19        DO_ICALL                                                 
   11    20        INIT_FCALL                                               'var_export'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.75 ms | 1069 KiB | 16 Q