3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chars = '6Ata7~58jh&*(*HLy^)&a[yjJ>8]G8,$9<Y;B:%^'; preg_match_all('/([a-z])|([A-Z])|(\d)|(.)/', $chars, $m, PREG_SET_ORDER); $array = str_split($chars); array_multisort($m, $array); echo implode($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0U056
function name:  (null)
number of ops:  20
compiled vars:  !0 = $chars, !1 = $m, !2 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '6Ata7%7E58jh%26%2A%28%2AHLy%5E%29%26a%5ByjJ%3E8%5DG8%2C%249%3CY%3BB%3A%25%5E'
    5     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%28%5Ba-z%5D%29%7C%28%5BA-Z%5D%29%7C%28%5Cd%29%7C%28.%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        SEND_VAL                                                 2
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'str_split'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !2, $5
    7    11        INIT_FCALL                                               'array_multisort'
         12        SEND_REF                                                 !1
         13        SEND_REF                                                 !2
         14        DO_ICALL                                                 
    8    15        INIT_FCALL                                               'implode'
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                         $8      
         18        ECHO                                                     $8
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
130.11 ms | 1000 KiB | 17 Q