3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ "iPhone" => 202, "Windows NT 6.1" => 2428, "Windows NT 10.0" => 2588, "Macintosh" => 1397, "iPad" => 12, "Windows NT 6.2" => 50, "Windows NT 6.3" => 90, "X11" => 442, "compatible" => 1813, "Windows NT 5.1" => 97, "Linux" => 227, "Windows" => 86, "TweetmemeBot/4.0" => 8, ") { :" => 14, "Windows NT 6.0" => 7, "User-Agent,Mozilla/5.0 " => 1, "KHTML, like Gecko" => 6, "Unknown" => 11, "Android" => 1, "Android 7.1.1" => 1, "Android 7.1.2" => 2, "Windows NT x.y" => 2, "Windows NT 6.1) AppleWebKit/537.36 " => 7, "Windows NT 5.0" => 1, "Windows NT 8.0" => 1, "web crawler :: robots.txt exclude elefent" => 1, "Windows NT" => 1, "Linux 4.4.0-116-generic" => 1, ]; arsort($arr,SORT_NATURAL); print_r($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JaVpq
function name:  (null)
number of ops:  9
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   33     1        INIT_FCALL                                               'arsort'
          2        SEND_REF                                                 !0
          3        SEND_VAL                                                 6
          4        DO_ICALL                                                 
   34     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.95 ms | 1009 KiB | 15 Q