3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
131.12 ms | 1003 KiB | 16 Q