PHP - Threaded::shift() Function
Threaded::shift - Manipulation
Syntax
public mixed Threaded::shift( void )
Threaded::shift() function can shift an item from the objects property table.
Threaded:: shift() function can return the first item from an objects property table.
Example
<?php
$safe = new Threaded();
while(count($safe) < 10)
$safe[] = count($safe);
var_dump($safe->shift());
?>
php_function_reference.htm
Advertisements