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 4 Question 7 Discussion

Posted by Gracia on May 07, 2022 at 06:34 AM

What is the return value of the following code?

strpos("me myself and I", "m", 2)

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
12 comments · newest first
AN
Annice 1 year ago
Are you sure it's not 2? That seems off.
AD
Adela 1 year ago
Wait, how does it start counting from 0?
EF
Effie 1 year ago
Definitely 3, I checked!
MA
Ma 1 year ago
I think it's 4, not 3.
JA
Jamey 1 year ago
The return value is 3.
KA
Karl 1 year ago
I feel like the answer could be 2 or 3, but I can't recall the exact behavior of the function with the starting index.
SA
Salina 1 year ago
I’m a bit confused; I thought the index starts at 0, but does it count the first "m" at index 0 or the second one?
JO
Josephine 1 year ago
I remember practicing a similar question, and I think the answer might be 3 since it starts searching from index 2.
ER
Ernest 1 year ago
I think the `strpos` function returns the position of the first occurrence of a substring, but I'm not sure how the starting position affects it.
TA
Tawanna 1 year ago
I think the key here is to focus on record-level access control, not just general access control methods. That should help me eliminate the options that don't apply to that specific use case.
EZ
Ezekiel 1 year ago
I'm a bit confused on this one. Is it the working conditions or the salary grade that would be used? I'll have to review the material again to make sure I understand the difference between these aspects of the job description.
BE
Ben 1 year ago
Okay, let's see. The question is asking about the component that would review the impact on the features and functions, so I'm leaning towards the scope change control system as the best answer. The other options don't seem as directly relevant to that specific aspect.
0/2000 characters

Save Cancel