[PHP] Get Number of Items in Array

We can check number of items or the length of PHP array in two ways. PHP functions are below: sizeof() count() Both functions count the number of element in an array. For example.

How to raise a number to power in Javascript

We can raise a number to a power using Math.Pow function. For example, if you want to raise 2 to the power 3