3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "\t123456\t345\t575675\t676\t333"; for($i = 0; $i< 10; $i++){ $a .= $a; } $start = time(); $startMicro = microtime(); $result = explode("\t", $a)[0]; var_dump('Explode:' . ((time() - $start) + (microtime() - $startMicro) / 1000));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 3
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 3
Branch analysis from position: 7
Branch analysis from position: 3
filename:       /in/alk68
function name:  (null)
number of ops:  32
compiled vars:  !0 = $a, !1 = $i, !2 = $start, !3 = $startMicro, !4 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%09123456%09345%09575675%09676%09333'
    4     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->5
    5     3    >   ASSIGN_OP                                     8          !0, !0
    4     4        PRE_INC                                                  !1
          5    >   IS_SMALLER                                               !1, 10
          6      > JMPNZ                                                    ~9, ->3
    8     7    >   INIT_FCALL                                               'time'
          8        DO_ICALL                                         $10     
          9        ASSIGN                                                   !2, $10
    9    10        INIT_FCALL                                               'microtime'
         11        DO_ICALL                                         $12     
         12        ASSIGN                                                   !3, $12
   11    13        INIT_FCALL                                               'explode'
         14        SEND_VAL                                                 '%09'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $14     
         17        FETCH_DIM_R                                      ~15     $14, 0
         18        ASSIGN                                                   !4, ~15
   14    19        INIT_FCALL                                               'var_dump'
         20        INIT_FCALL                                               'time'
         21        DO_ICALL                                         $17     
         22        SUB                                              ~18     $17, !2
         23        INIT_FCALL                                               'microtime'
         24        DO_ICALL                                         $19     
         25        SUB                                              ~20     $19, !3
         26        DIV                                              ~21     ~20, 1000
         27        ADD                                              ~22     ~18, ~21
         28        CONCAT                                           ~23     'Explode%3A', ~22
         29        SEND_VAL                                                 ~23
         30        DO_ICALL                                                 
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.39 ms | 1396 KiB | 21 Q