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\vcampus.net\answers\column_answer_two.php on line 128
+ Report
Total Preview: 1879
What is the difference between sizeof($array) and count($array)?
Copyright © 2025. Powered by Intellect Software Ltd