3v4l.org

run code in 300+ PHP versions simultaneously
<?php //for($i=1563408530000;$i<=1563408560000;$i++){ // mt_srand($seed =$i ); mt_srand($seed =2049445220 ); for($j=0;$j<=40;$j++){ $s1 = mt_rand(1, 6); $s2 = mt_rand(1, 6); $s3 = mt_rand(1, 6); //if($s1==1 && $s2==1 && $s3==6){ echo $seed." : ".$s1."-- ".$s2."--".$s3."\r\n"; //} //} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 6
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 6
Branch analysis from position: 32
Branch analysis from position: 6
filename:       /in/aNqKD
function name:  (null)
number of ops:  33
compiled vars:  !0 = $seed, !1 = $j, !2 = $s1, !3 = $s2, !4 = $s3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'mt_srand'
          1        ASSIGN                                           ~5      !0, 2049445220
          2        SEND_VAL                                                 ~5
          3        DO_ICALL                                                 
    6     4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->30
    8     6    >   INIT_FCALL                                               'mt_rand'
          7        SEND_VAL                                                 1
          8        SEND_VAL                                                 6
          9        DO_ICALL                                         $8      
         10        ASSIGN                                                   !2, $8
    9    11        INIT_FCALL                                               'mt_rand'
         12        SEND_VAL                                                 1
         13        SEND_VAL                                                 6
         14        DO_ICALL                                         $10     
         15        ASSIGN                                                   !3, $10
   10    16        INIT_FCALL                                               'mt_rand'
         17        SEND_VAL                                                 1
         18        SEND_VAL                                                 6
         19        DO_ICALL                                         $12     
         20        ASSIGN                                                   !4, $12
   12    21        CONCAT                                           ~14     !0, '+%3A+'
         22        CONCAT                                           ~15     ~14, !2
         23        CONCAT                                           ~16     ~15, '--+'
         24        CONCAT                                           ~17     ~16, !3
         25        CONCAT                                           ~18     ~17, '--'
         26        CONCAT                                           ~19     ~18, !4
         27        CONCAT                                           ~20     ~19, '%0D%0A'
         28        ECHO                                                     ~20
    6    29        PRE_INC                                                  !1
         30    >   IS_SMALLER_OR_EQUAL                                      !1, 40
         31      > JMPNZ                                                    ~22, ->6
   15    32    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.43 ms | 1396 KiB | 17 Q