php - Dynamicly created Variable Scope in a for loop - Stack Overflow

php - Dynamicly created Variable Scope in a for loop - Stack Overflow

瀏覽:743
日期:2025-06-15
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 ...看更多