I need help for PHP function that calculates the square for a series of numbers (45, 12, 1, 100, 6) the roots of each number, put them in a new array, and prints on the screen. I know that the function is sqrt, but it receives only one parameter and here is a array of numbers. Also, Expand the previous example so that only whole values are stored in the new array numbers, and this is rounded up to the upper value.
Thank you.
you can do this like blow