Question:What is the difference between sizeof($array) and count($array)? 

Answer sizeof($array) - This function is an alias of count() count($array) - If you just pass a simple variable instead of an array it will return 1. 


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd.com\answers\column_answer_two.php on line 128
+ Report
Total Preview: 1795
What is the difference between sizeof($array) and count($array)?
Copyright © 2024. Powered by Intellect Software Ltd