Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は以下の私の例を作るためのより簡単な方法を探しています:
<?php $q = "Q".rand(1, 3); echo $$q; ?>
ありがとう。
<?php $array = array(1,2,3) $key = rand(1, 3); echo $array[$key]; ?>