Hello,
I am new to PHP and would be extremely grateful if someone could check my comments on this bubblesort script. I looked around the net and found the framework for this script and adjusted it to suit me and to get an understanding but need help with a clearer explanation for the part highlighted in green.
<?php // Create the array$numbers = array(16,32,22,15,12,44,31,67,96,54); // Count the size of the array via $numbers$array_size = count($numbers); // Below defines a loop that starts with i=1. The loop will continue to run as long as 'i' is less than $array_size. 'i' will increase by 1 // each time the loop runs. It will then echo the array using 'i' as the key. echo "Kind regards and thank you in advance.