3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [ 'SellerSKUList.SellerSKU.10=4574&', 'SellerSKUList.SellerSKU.11=4575&', 'SellerSKUList.SellerSKU.18=4582&', 'SellerSKUList.SellerSKU.19=4583&', 'SellerSKUList.SellerSKU.1=4565&', 'SellerSKUList.SellerSKU.20=4584&', 'SellerSKUList.SellerSKU.2=4566', ]; array_multisort(array_map(fn($v) => strtok($v, '='), $array), $array); var_export($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IC5Lr
function name:  (null)
number of ops:  14
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   14     1        INIT_FCALL                                                   'array_multisort'
          2        INIT_FCALL                                                   'array_map'
          3        DECLARE_LAMBDA_FUNCTION                              ~2      [0]
          4        SEND_VAL                                                     ~2
          5        SEND_VAR                                                     !0
          6        DO_ICALL                                             $3      
          7        SEND_VAL                                                     $3
          8        SEND_REF                                                     !0
          9        DO_ICALL                                                     
   15    10        INIT_FCALL                                                   'var_export'
         11        SEND_VAR                                                     !0
         12        DO_ICALL                                                     
         13      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IC5Lr
function name:  {closure:/in/IC5Lr:14}
number of ops:  7
compiled vars:  !0 = $v
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   14     0  E >   RECV                                                 !0      
          1        INIT_FCALL                                                   'strtok'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     '%3D'
          4        DO_ICALL                                             $1      
          5      > RETURN                                                       $1
          6*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.84 ms | 1917 KiB | 17 Q