3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ' \textasciicircum < \textless ˜ \textasciitilde a ª \textordfeminine * * \textasteriskcentered o º \textordmasculine ∖ \textbackslash ¶ ¶ \textparagraph† | \textbar · · \textperiodcentered ‖ † \textbardbl % ˜ \textpertenthousand ○ O \textbigcircle % ‰ \textperthousand { \textbraceleft† ¿ \textquestiondown } \textbraceright† “ \textquotedblleft ∙ • \textbullet ” \textquotedblright ○c © \textcopyright† ‘ \textquoteleft † † \textdagger† ’ \textquoteright ‡ ‡ \textdaggerdbl† r○ ® \textregistered $ $ \textdollar† S § \textsection† . . . \textellipsis† $ $ \textsterling† — \textemdash TM ™ \texttrademark – \textendash \textunderscore† ¡ \textexclamdown \textvisiblespace > \textgreater '; $x = array_filter(preg_split('/\s+/', $x)); usort($x, function ($a, $b) { return strcmp(strtolower($a), strtolower($b)); }); foreach ($x as $xx) { echo $xx, "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 19
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 19
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/D4PLW
function name:  (null)
number of ops:  21
compiled vars:  !0 = $x, !1 = $xx
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%0A%0A%5Ctextasciicircum+%3C+%5Ctextless%0A%CB%9C+%5Ctextasciitilde+a+%C2%AA+%5Ctextordfeminine%0A%2A+%2A+%5Ctextasteriskcentered+o+%C2%BA+%5Ctextordmasculine%0A%E2%88%96+%5Ctextbackslash+%C2%B6+%C2%B6+%5Ctextparagraph%E2%80%A0%0A%7C+%5Ctextbar+%C2%B7+%C2%B7+%5Ctextperiodcentered%0A%E2%80%96+%C2%86+%5Ctextbardbl+%25%18%18+%C2%98+%5Ctextpertenthousand%0A%E2%97%8B+O+%5Ctextbigcircle+%25%18+%E2%80%B0+%5Ctextperthousand%0A%7B+%5Ctextbraceleft%E2%80%A0+%C2%BF+%5Ctextquestiondown%0A%7D+%5Ctextbraceright%E2%80%A0+%E2%80%9C+%5Ctextquotedblleft%0A%E2%88%99+%E2%80%A2+%5Ctextbullet+%E2%80%9D+%5Ctextquotedblright%0A%E2%97%8Bc+%C2%A9+%5Ctextcopyright%E2%80%A0+%E2%80%98+%5Ctextquoteleft%0A%E2%80%A0+%E2%80%A0+%5Ctextdagger%E2%80%A0+%E2%80%99+%5Ctextquoteright%0A%E2%80%A1+%E2%80%A1+%5Ctextdaggerdbl%E2%80%A0+r%E2%97%8B+%C2%AE+%5Ctextregistered%0A%24+%24+%5Ctextdollar%E2%80%A0+S+%C2%A7+%5Ctextsection%E2%80%A0%0A.+.+.+%5Ctextellipsis%E2%80%A0+%24+%24+%5Ctextsterling%E2%80%A0%0A%E2%80%94+%5Ctextemdash+TM+%E2%84%A2+%5Ctexttrademark%0A%E2%80%93+%5Ctextendash+%5Ctextunderscore%E2%80%A0%0A%C2%A1+%5Ctextexclamdown+%5Ctextvisiblespace%0A%3E+%5Ctextgreater%0A%0A%0A%0A'
   30     1        INIT_FCALL                                               'array_filter'
          2        INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%2F%5Cs%2B%2F'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !0, $4
   31     9        INIT_FCALL                                               'usort'
         10        SEND_REF                                                 !0
         11        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FD4PLW%3A31%240'
   33    12        SEND_VAL                                                 ~6
         13        DO_ICALL                                                 
   34    14      > FE_RESET_R                                       $8      !0, ->19
         15    > > FE_FETCH_R                                               $8, !1, ->19
   35    16    >   ECHO                                                     !1
         17        ECHO                                                     '%0A'
   34    18      > JMP                                                      ->15
         19    >   FE_FREE                                                  $8
   36    20      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FD4PLW%3A31%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D4PLW
function name:  {closure}
number of ops:  14
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   31     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   32     2        INIT_FCALL                                               'strcmp'
          3        INIT_FCALL                                               'strtolower'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        INIT_FCALL                                               'strtolower'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                         $4      
         12      > RETURN                                                   $4
   33    13*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FD4PLW%3A31%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.48 ms | 1400 KiB | 23 Q