3v4l.org

run code in 300+ PHP versions simultaneously
<?php srand(0); var_dump(str_shuffle('abcdefghijklmnopqrstuvwxyz')); srand(0); var_dump(str_shuffle('abcdefghijklmnopqrstuvwxyz')); srand(0); var_dump(str_shuffle('abcdefghijklmnopqrstuvwxyz')); for ($i = 1; $i < 100; ++$i) { srand($i); var_dump(str_shuffle('abcdefghijklmnopqrstuvwxyz')); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 39
Branch analysis from position: 39
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 29
Branch analysis from position: 41
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 29
Branch analysis from position: 41
Branch analysis from position: 29
filename:       /in/hp7fT
function name:  (null)
number of ops:  42
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'srand'
          1        SEND_VAL                                                 0
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'str_shuffle'
          5        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'srand'
         10        SEND_VAL                                                 0
         11        DO_ICALL                                                 
    6    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'str_shuffle'
         14        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
         15        DO_ICALL                                         $5      
         16        SEND_VAR                                                 $5
         17        DO_ICALL                                                 
    7    18        INIT_FCALL                                               'srand'
         19        SEND_VAL                                                 0
         20        DO_ICALL                                                 
    8    21        INIT_FCALL                                               'var_dump'
         22        INIT_FCALL                                               'str_shuffle'
         23        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
         24        DO_ICALL                                         $8      
         25        SEND_VAR                                                 $8
         26        DO_ICALL                                                 
    9    27        ASSIGN                                                   !0, 1
         28      > JMP                                                      ->39
   10    29    >   INIT_FCALL                                               'srand'
         30        SEND_VAR                                                 !0
         31        DO_ICALL                                                 
   11    32        INIT_FCALL                                               'var_dump'
         33        INIT_FCALL                                               'str_shuffle'
         34        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
         35        DO_ICALL                                         $12     
         36        SEND_VAR                                                 $12
         37        DO_ICALL                                                 
    9    38        PRE_INC                                                  !0
         39    >   IS_SMALLER                                               !0, 100
         40      > JMPNZ                                                    ~15, ->29
   12    41    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.59 ms | 1400 KiB | 19 Q