3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [1,2,3,4,2,2,4,2,42,3,25,5,25,5,35,23,5,2,35,5,4,4,54,45,45,4,5,74,3,54,6,3,5,7,8,4,3,6,67,34,67]; $t = microtime(); sort($arr); var_dump($arr); echo microtime() -$t;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n9Gvj
function name:  (null)
number of ops:  15
compiled vars:  !0 = $arr, !1 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'microtime'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !1, $3
    8     4        INIT_FCALL                                               'sort'
          5        SEND_REF                                                 !0
          6        DO_ICALL                                                 
    9     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
   10    10        INIT_FCALL                                               'microtime'
         11        DO_ICALL                                         $7      
         12        SUB                                              ~8      $7, !1
         13        ECHO                                                     ~8
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.5 ms | 1394 KiB | 19 Q