Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Counts all elements in an array or in a Countable object
Alias sizeof
<?php count(Countable|array $value, int $mode = COUNT_NORMAL): int
<?php                 return null;

            }



            if (! count(Telescope::$entriesQueue)) {

                return null;

            }
<?php     {

        $args = func_get_args();



        if (count($args) === 0) {

            throw new Exception('You should pass at least 1 argument to `ddd`');

        }
<?php         preg_match($pattern, $throwable->getMessage(), $matches);



        if (count($matches) === 3) {

            [, $variableName, $viewFile] = $matches;

            $variableName = ltrim($variableName, '$');
<?php     protected function insertLineNumberAtPosition(int $position, string $value)

    {

        $before = mb_substr($value, 0, $position);

        $lineNumber = count(explode("\n", $before));



        return mb_substr($value, 0, $position)."|---LINE:{$lineNumber}---|".mb_substr($value, $position);

    }