3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (phpversion() != '7.0.0') { die; } $time = time(); $randomString1 = bin2hex(random_bytes(20)); $randomString2 = bin2hex(random_bytes(10)); for($i=0; $i<10000; $i++) { echo md5($time.$randomString1.$randomString2) . "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
2 jumps found. (Code = 44) Position 1 = 34, Position 2 = 24
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 34, Position 2 = 24
Branch analysis from position: 34
Branch analysis from position: 24
filename:       /in/oULvM
function name:  (null)
number of ops:  35
compiled vars:  !0 = $time, !1 = $randomString1, !2 = $randomString2, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'phpversion'
          1        DO_ICALL                                         $4      
          2        IS_NOT_EQUAL                                             $4, '7.0.0'
          3      > JMPZ                                                     ~5, ->5
          4    > > EXIT                                                     
    5     5    >   INIT_FCALL                                               'time'
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !0, $6
    6     8        INIT_FCALL                                               'bin2hex'
          9        INIT_FCALL                                               'random_bytes'
         10        SEND_VAL                                                 20
         11        DO_ICALL                                         $8      
         12        SEND_VAR                                                 $8
         13        DO_ICALL                                         $9      
         14        ASSIGN                                                   !1, $9
    7    15        INIT_FCALL                                               'bin2hex'
         16        INIT_FCALL                                               'random_bytes'
         17        SEND_VAL                                                 10
         18        DO_ICALL                                         $11     
         19        SEND_VAR                                                 $11
         20        DO_ICALL                                         $12     
         21        ASSIGN                                                   !2, $12
   10    22        ASSIGN                                                   !3, 0
         23      > JMP                                                      ->32
   12    24    >   INIT_FCALL                                               'md5'
         25        CONCAT                                           ~15     !0, !1
         26        CONCAT                                           ~16     ~15, !2
         27        SEND_VAL                                                 ~16
         28        DO_ICALL                                         $17     
         29        CONCAT                                           ~18     $17, '%0A'
         30        ECHO                                                     ~18
   10    31        PRE_INC                                                  !3
         32    >   IS_SMALLER                                               !3, 10000
         33      > JMPNZ                                                    ~20, ->24
   13    34    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.01 ms | 1396 KiB | 23 Q