push
  • push ARRAY,LIST

    ,

    Treats ARRAY as a stack, and pushes the values of LIST onto the end of ARRAY. The length of ARRAY increases by the length of LIST. Has the same effect as

        for $value (LIST) {
    	$ARRAY[++$#ARRAY] = $value;
        }

    but is more efficient. Returns the number of elements in the array following the completed push.

Manual:

Reference:


To know more about Pegasus, our services and solutions, drop us a message or mail us at info@pegasusinfocorp.com
© 2007, Pegasus InfoCorp Pvt. Ltd. All Rights Reserved.
Web Development Company