• PHP Video Tutorials

PHP - Threaded::pop() Function



Threaded::pop - Manipulation

Syntax

public boolean Threaded::pop( void )

Threaded::pop() function can pop an item from objects property table.

Threaded::pop() function can return the last item from an objects property table.

Example

<?php
   $safe = new Threaded();
   while(count($safe) < 10)
      $safe[] = count($safe);

   var_dump($safe->pop());
?>
php_function_reference.htm
Advertisements