[ create a new paste ] login | about

Link: http://codepad.org/dYr0IxMI    [ raw code | output | fork ]

PHP, pasted on Feb 13:
1
2
3
4
5
6
7
<?php

for($i=0;$i<=2;$i++){
${"file" . $i} = 'var: ' . $i;
}

var_dump($file0);


Output:
1
string(6) "var: 0"


Create a new paste based on this one


Comments: