3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale (LC_COLLATE, 'si'); $m = array('Žunkovič', 'Červ', 'Milanka', 'Bojanja'); var_dump($m); sort($m, SORT_LOCALE_STRING); var_dump($m);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9ciJG
function name:  (null)
number of ops:  16
compiled vars:  !0 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 3
          2        SEND_VAL                                                 'si'
          3        DO_ICALL                                                 
    5     4        ASSIGN                                                   !0, <array>
    6     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'sort'
          9        SEND_REF                                                 !0
         10        SEND_VAL                                                 5
         11        DO_ICALL                                                 
    8    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.86 ms | 1398 KiB | 19 Q