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); 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/dEVvZ
function name:  (null)
number of ops:  31
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        ASSIGN                                                   !4, $14
   14    18        INIT_FCALL                                               'var_dump'
         19        INIT_FCALL                                               'time'
         20        DO_ICALL                                         $16     
         21        SUB                                              ~17     $16, !2
         22        INIT_FCALL                                               'microtime'
         23        DO_ICALL                                         $18     
         24        SUB                                              ~19     $18, !3
         25        DIV                                              ~20     ~19, 1000
         26        ADD                                              ~21     ~17, ~20
         27        CONCAT                                           ~22     'Explode%3A', ~21
         28        SEND_VAL                                                 ~22
         29        DO_ICALL                                                 
         30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.98 ms | 1396 KiB | 21 Q