PHP » PYTHON |
login |
register |
about
|
PYTHON ArrayObject::count
is this article helpful?
|
Python replacement for PHP's ArrayObject::count
[
edit
| history
]
$mylist = array(1,2,3,4) print(count($mylist)); result: 4 >>>mylist = [1,2,3,4] >>>print(len(mylist)) result: 4 ArrayObject::count(PHP 5 >= 5.1.0) ArrayObject::count — Get the number of elements in the Iterator Description
int ArrayObject::count
( void
)
Warning
This function is currently not documented; only its argument list is available. ParametersThis function has no parameters. Return ValuesThe number of elements in the Iterator. |
more
Recently updated
more
Most requested
|