PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $city1 = rand(1, 500); $city1Radius = rand(1, min(50, $city1)); printf("City1: %s \n City1Radius: %s \n", $city1, $city1Radius); $city2 = rand($city1 + $city1Radius, 1000); $city2Radius = rand(1, min((1000 - $city2), 50)); printf("City2: %s \n City2Radius: %s \n", $city2, $city2Radius);
Show:  
Copy Clear