View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002289 | Xdebug | Step Debugging | public | 2024-10-01 07:40 | 2024-10-08 15:20 |
Reporter | farSage | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Platform | VSCode | OS | Windows | OS Version | Windows 10 Pro |
Product Version | 3.3.2 | ||||
Target Version | 3.4dev | ||||
Summary | 0002289: Cant not access an array's keys | ||||
Description | I want to access the $_FILES array. When I watch it with just $_FILES it shows it exists and you can see whats inside. However, when I type $_FILES['card_image'] it shows can not get property, even though it does and I can see it if I expand the $_FILES array. To fix this I assigned another variable to $_FILES and tried to access 'card_image' through it and guess what it worked. Why is this happening? | ||||
Steps To Reproduce | Told in Description | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 8.1.5-8.1.9 | ||||