3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = array(0,1,2,3,4,40,50,66,72,'f','0','g',4,35,5,654,654,2,2345,456,'asdf'); $bar = array(0,1,2,3,4,40,50,66,72,'f','0','g',4,35,5,654,654,2,2345,456,'asdf'); ksort($foo); ksort($bar, 'SORT_LOCALE_STRING'); var_dump($foo == $bar);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0HnWv
function name:  (null)
number of ops:  14
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'ksort'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    5     5        INIT_FCALL                                               'ksort'
          6        SEND_REF                                                 !1
          7        SEND_VAL                                                 'SORT_LOCALE_STRING'
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_dump'
         10        IS_EQUAL                                         ~6      !0, !1
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.49 ms | 1385 KiB | 17 Q