3v4l.org

run code in 300+ PHP versions simultaneously
<?php $range = range(1, 200000); $startTime = microtime(true); shuffle($range); echo "Time: " . number_format(( microtime(true) - $startTime), 4) . " Seconds\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Zk0sC
function name:  (null)
number of ops:  24
compiled vars:  !0 = $range, !1 = $startTime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 200000
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    3     5        INIT_FCALL                                               'microtime'
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    4     9        INIT_FCALL                                               'shuffle'
         10        SEND_REF                                                 !0
         11        DO_ICALL                                                 
    5    12        INIT_FCALL                                               'number_format'
         13        INIT_FCALL                                               'microtime'
         14        SEND_VAL                                                 <true>
         15        DO_ICALL                                         $7      
         16        SUB                                              ~8      $7, !1
         17        SEND_VAL                                                 ~8
         18        SEND_VAL                                                 4
         19        DO_ICALL                                         $9      
         20        CONCAT                                           ~10     'Time%3A++', $9
         21        CONCAT                                           ~11     ~10, '+Seconds%0A'
         22        ECHO                                                     ~11
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.2 ms | 1395 KiB | 21 Q