Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend 200-710 Exam - Topic 6 Question 84 Discussion

Posted by Latrice on Jan 28, 2025 at 08:04 AM

What is the name of the key in $_FILES['name'] that contains the number of bytes of the uploaded file?

Suggested Answer: B

Get Premium 200-710 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
37 comments · newest first
LE
Leonora 11 months ago
Agreed, 'size' is the key!
CO
Colton 12 months ago
I thought it was 'length' at first.
CA
Catina 12 months ago
Wait, are you sure? I thought it was something else.
CE
Celestine 1 year ago
Yup, that's right!
JU
Julio 1 year ago
It's definitely 'size'.
HA
Hassie 1 year ago
I feel like I've seen 'size' in examples, but I also remember there being other keys like 'tmp_name' and 'error'.
AB
Abraham 1 year ago
I definitely studied the $_FILES array, and 'size' seems right, but I might be mixing it up with another key.
AP
Apolonia 1 year ago
I remember something about file uploads, but I can't recall if it's 'size' or something else.
LU
Lucina 1 year ago
I think the key is called 'size', but I'm not completely sure. It sounds familiar from the practice questions.
KE
Keith 1 year ago
I'm pretty confident the answer is 'size' - that's the key that holds the file size information.
BR
Brinda 1 year ago
Wait, is it 'size' or something else? I'm drawing a blank on the exact name of that key.
ER
Ernestine 1 year ago
The 'size' key sounds right to me. That's what I'd go with on this question.
CY
Cyril 1 year ago
Hmm, I'm not totally sure about that. I'll have to double-check the PHP documentation to be certain.
AU
Augustine 1 year ago
I think the key we're looking for is 'size' - that's the one that contains the file size in bytes, right?
DA
Daren 1 year ago
Wait, there's a key in $_FILES that's not 'name', 'type', or 'error'? My mind is blown!
AR
Arlie 1 year ago
↳ replying to Daren
Thanks for sharing that information, it's good to know about all the available keys in $_FILES.
KA
Karon 1 year ago
↳ replying to Daren
So 'size' is another key to look out for when working with file uploads.
MI
Micaela 1 year ago
↳ replying to Daren
I didn't know that either! It's interesting to learn about the different keys in $_FILES.
SA
Sang 1 year ago
↳ replying to Daren
Yes, the key 'size' in $_FILES['name'] contains the number of bytes of the uploaded file.
SA
Salena 1 year ago
Easy peasy! 'size' is the key you want. Anything else would just be bananas.
CO
Cory 1 year ago
↳ replying to Salena
Thanks for the help!
PE
Pearly 1 year ago
↳ replying to Salena
That's correct! 'size' is the key you need.
DO
Dorothy 1 year ago
↳ replying to Salena
size
NI
Nicolette 2 years ago
Hmm, I'm not sure about this one. 'size' seems like the obvious answer, but I'd better double-check the documentation to be sure.
FL
Fletcher 1 year ago
↳ replying to Nicolette
Let's check the documentation to confirm.
SO
Son 1 year ago
↳ replying to Nicolette
I believe it's 'size' as well.
RO
Roxanne 1 year ago
↳ replying to Nicolette
I think it's 'size'.
CH
Chauncey 2 years ago
I think the answer is 'size'. That's the most logical choice, as it's the standard way to get the file size in PHP.
VO
Vonda 1 year ago
↳ replying to Chauncey
I agree, 'size' is the standard way to retrieve the file size from an uploaded file in PHP.
DE
Denise 1 year ago
↳ replying to Chauncey
It makes sense to use 'size' to get the file size in PHP.
CL
Claudio 2 years ago
↳ replying to Chauncey
Yes, you are correct. 'size' is the key in $_FILES['name'] that contains the number of bytes of the uploaded file.
ER
Erasmo 2 years ago
The answer is clearly 'size'. $_FILES is an array that contains information about the uploaded file, and 'size' is the key that holds the number of bytes.
WI
William 2 years ago
↳ replying to Erasmo
Thanks for confirming. It's good to know that 'size' is the key we need to access for the file size.
AL
Albina 2 years ago
↳ replying to Erasmo
Yes, you are correct. 'size' is the key in $_FILES['name'] that contains the number of bytes of the uploaded file.
LO
Louvenia 2 years ago
I'm not sure, but I'll go with size too based on what Dyan and Lorita said.
LO
Lorita 2 years ago
I agree with Dyan, because 'size' makes sense for the number of bytes.
DY
Dyan 2 years ago
I think the answer is size.
0/2000 characters

Save Cancel