3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=['z','Z','ą', 'Ą', 'a', 'o','ó','Ó','ł','Ł','ź','A','Ż','ę','e','ć','ń','ś']; $coll = new Collator( 'pl_PL' ); var_export( $a ); $coll->sort( $a ); var_export( $a );
based on iZ3l7
Finding entry points
Branch analysis from position: 0
Jump found. 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      :-5
         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 7.3.0