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_NATURAL); var_dump($foo); var_dump($bar);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lGsP9
function name:  (null)
number of ops:  16
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                                                 6
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.59 ms | 1394 KiB | 17 Q