Hey Guys,

I discovered a possible bug with the $_FILES super global and thought I'd pass it 
along to you guys to double check the accuracy of this being a bug before I reported 
it to the PHP team.   So here goes..

The default format for $_FILES is $_FILES['variable']['element'] which of course works 
fine, following this format I would assume that the format for a variable inside an 
array would be $_FILES['array']['variable']['element'] but on the contrary it is in 
fact $_FILES['array']['element']['variable'].  Somehow this doesn't seem quite right 
to me.  Granted, it still works just as well but it sort of breaks the traditional 
naming structure for an array and really jumbles the logical flow of things.  Do you 
think this is worth reporting?

Regards,
Nathan Taylor

Reply via email to