3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( '0' => 'z1', '1' => 'Z10', '2' => 'z12', '3' => 'Z2', '4' => 'z3', ); asort($a, SORT_STRING|SORT_CASE_FLAG|SORT_NATURAL); var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/536s9
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   11     1        INIT_FCALL                                               'asort'
          2        SEND_REF                                                 !0
          3        FETCH_CONSTANT                                   ~2      'SORT_CASE_FLAG'
          4        BW_OR                                            ~3      ~2, 2
          5        BW_OR                                            ~4      ~3, 6
          6        SEND_VAL                                                 ~4
          7        DO_ICALL                                                 
   13     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.07 ms | 1394 KiB | 17 Q