SDL2 example
[mirrors/Programs.git] / php / skripty / matrix.php
1 <?php
2
3 echo("[= HARVIE's MATRIX COUNTER =]\n");
4 srand(time());
5 sleep(2);
6 //chr ( 2530 )
7 $space = 0;
8
9 while (1) {
10 srand(100000 / microtime()); //1000 //100000
11
12 $rand = (rand()%11);
13 //ereg ("([10-20]{16,17,30,31,219,220,223,254,176,177,178})", $rand1, $rand);
14
15 switch ($rand) {
16 case 10:
17 $rand = " ";
18 break;
19 /*case 11:
20 $rand = chr ( 219 );
21 break;
22 case 12:
23 $rand = chr ( 176 );
24 break;
25 case 13:
26 $rand = chr ( 177 );
27 break;
28 case 14:
29 $rand = chr ( 178 );
30 break;
31 case 15:
32 $rand = chr ( 31 );
33 break;*/
34 }
35
36 //$space = 1;
37
38
39 /*
40 $space2 = 0;
41 while ($space2 < ($space / 1)) {
42 echo(" ");
43 $space2 = ($space2 + 1);
44 }
45 */
46
47 $space = ($space + 1);
48 echo("$rand");
49
50
51 }
52
53 ?>
This page took 0.337964 seconds and 4 git commands to generate.