<?php $q1 = 1;$q2 = 2;$q3 = 3;$q4 = 4;$q5 = 5; for($i=1; $i<=5; $i++){ $x = "q$i"; echo $$x;}
Standard input is empty
12345
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!