3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( 'roman', '.php', '_bnla', 'Juhu', 'Člutá', '_bla' ); var_dump(setlocale(LC_ALL, 'cs_CZ')); sort($a, SORT_LOCALE_STRING); var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vK4ZD
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   12     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'setlocale'
          3        SEND_VAL                                                 6
          4        SEND_VAL                                                 'cs_CZ'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
   13     8        INIT_FCALL                                               'sort'
          9        SEND_REF                                                 !0
         10        SEND_VAL                                                 5
         11        DO_ICALL                                                 
   14    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:
164.65 ms | 1394 KiB | 19 Q