Answers for "tableau aléatoire php"

PHP
0

tableau aléatoire php

<?php
$input = array("Neo", "Morpheus", "Trinity", "Cypher", "Tank");
$rand_keys = array_rand($input, 2);
echo $input[$rand_keys[0]] . "\n";
echo $input[$rand_keys[1]] . "\n";
?>
Posted by: Guest on January-25-2021

Browse Popular Code Answers by Language