3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ["test", "iş", "ısı"]; $coll = new Collator('tr_TR'); uksort($array, array($coll, "compare")); var_export($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mu4fM
function name:  (null)
number of ops:  15
compiled vars:  !0 = $array, !1 = $coll
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        NEW                                              $3      'Collator'
          2        SEND_VAL_EX                                              'tr_TR'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    4     5        INIT_FCALL                                               'uksort'
          6        SEND_REF                                                 !0
          7        INIT_ARRAY                                       ~6      !1
          8        ADD_ARRAY_ELEMENT                                ~6      'compare'
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                                 
    5    11        INIT_FCALL                                               'var_export'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.81 ms | 1398 KiB | 18 Q