PageArray/WireArray


Getting Items

$a->pop()

Introduced in Version 2.0

Description

Pop the last item off of the WireArray and return it.

$lastSkyscraper = $skyscrapers->pop();

After execution of the above code, $skyscrapers will contain one less item. 

Post Comment