SarkariResultess QA Bank

PHP array count कैसे निकालते हैं? की PHP best practice क्या है?

Other 0 Views Verified
PHP array count कैसे निकालते हैं? की PHP best practice क्या है? सही विकल्प चुनें और code/solution को समझें।
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

$items.length()

$items.length()
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified

size($items)

size($items)
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified Correct Answer

count($items)

count($items)
Additional Explanation
count() array elements की संख्या देता है।
Verified

length($items)

length($items)
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।