3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_COLLATE, 'tr_TR.utf8'); // or any other locale I use. $aInput['values'] = array('foo',1,'bar',2,'baz',true,'quux',false,'abc',null); uasort($aInput['values'],'strcoll');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8jg7l
function name:  (null)
number of ops:  12
compiled vars:  !0 = $aInput
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 3
          2        SEND_VAL                                                 'tr_TR.utf8'
          3        DO_ICALL                                                 
    4     4        ASSIGN_DIM                                               !0, 'values'
          5        OP_DATA                                                  <array>
    5     6        INIT_FCALL                                               'uasort'
          7        FETCH_DIM_W                                      $3      !0, 'values'
          8        SEND_REF                                                 $3
          9        SEND_VAL                                                 'strcoll'
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.92 ms | 1385 KiB | 17 Q