php - Dynamicly created Variable Scope in a for loop - Stack Overflow
I'm assuming it has to do with the variable scope, however there might be something wrong in the variable's name creation {'result'.$i} ... PHP for loop variables unassigned 1 PHP for loop return single value 0 JS loop variable scope 0 Undefined variable ...