Just because you tested more secure .NET site than less secure PHP sites doesn't mean that PHP is less secure. It means you tested more secure .NET sites compared to number of less secure PHP sites. If you flip a coin 10 times and you will get 10 tails it doesn't mean that the coin is broken or faulty. Random numbers are random.