• PHP Video Tutorials

PHP - Threaded::count() Function



Threaded::count - Manipulation

Syntax

public integer Threaded::count( void )

Threaded::count can return the number of properties for this object, and doesn't have any parameters.

Example

<?php
   $safe = new Threaded();

   while(count($safe) < 10) {
      $safe[] = count($safe);
   }
   var_dump(count($safe));
?>
php_function_reference.htm
Advertisements