| PHP » GoLang | login |
            register |
            
            about | 
| GoLang pht\Vector::size
                                request it (545)
                            GoLang replacement for PHP's pht\Vector::size
                            [edit | history] 
                             pht\Vector::size(PECL pht >= 0.0.1) pht\Vector::size — Gets the size of the vector Description
   public int pht\Vector::size
    ( void
   ) Returns the current size of the vector. This operation requires a pht\Vector's mutex lock to be held if it is being used by multiple threads. ParametersThis function has no parameters. Return ValuesThe size of the vector. Examples
 Example #1 Getting a vector's size 
<?phpThe above example will output: int(3) | 
                    more
                     Most requested
 
                    more
                     Last requests
 |