While Loop Php Array Functions In W3schools Java