3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=['z','Z','ą', 'Ą', 'a', 'o','ó','Ó','ł','Ł','ź','A','Ż','ę','e','ć','ń','ś']; $coll = new Collator( 'pl_PL' ); var_export( $a ); $coll->sort( $a ); var_export( $a );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9qvmu
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $coll
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    5     1        NEW                                              $3      'Collator'
          2        SEND_VAL_EX                                              'pl_PL'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    7     5        INIT_FCALL                                               'var_export'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    8     8        INIT_METHOD_CALL                                         !1, 'sort'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0          
    9    11        INIT_FCALL                                               'var_export'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.75 ms | 1385 KiB | 15 Q