3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( 'asd', 'ASD', 'sdf', 'SDF', 'Third', ); $b = array( 'yy', 'kaa', 'koo', 'nee', 'vii', ); setlocale(LC_CTYPE, 'fi_FI'); array_multisort($b, SORT_STRING | SORT_FLAG_CASE, $a); var_dump($a, $b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TIf12
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   10     1        ASSIGN                                                   !1, <array>
   18     2        INIT_FCALL                                               'setlocale'
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 'fi_FI'
          5        DO_ICALL                                                 
   19     6        INIT_FCALL                                               'array_multisort'
          7        SEND_REF                                                 !1
          8        SEND_VAL                                                 10
          9        SEND_REF                                                 !0
         10        DO_ICALL                                                 
   21    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.15 ms | 1394 KiB | 19 Q