Voting

: one plus one?
(Example: nine)

The Note You're Voting On

drum_inc at yahoo dot com
11 years ago
Assignment in line, does not remove the element.

$first = array_shift( $arr = array( 0 => '1st', 2 => '2nd', 3 => '3rd') );
print_r( $first );
print_r( $arr );

Output:
1st
Array
(
[0] => 1st
[2] => 2nd
[3] => 3rd
)

<< Back to user notes page

To Top