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

Question :

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

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.


CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad