PHP Classes

File: AVC.php

Recommend this page to a friend!
  Classes of zinsou A.A.E.Moïse   PHP Count Array by Value Type   AVC.php   Download  
File: AVC.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Count Array by Value Type
Get the number of values in array of a given type
Author: By
Last change:
Date: 4 years ago
Size: 384 bytes
 

Contents

Class file image Download
<?php
namespace{
    use
EZAMA\AVC;
    use
EZAMA\AVCIterator;

    function
count_values($mixed, $getIterator=false)
    {
        return
AVC::countValues($mixed, $getIterator);
    }
    function
count_diff_values($mixed)
    {
        return
AVC::countDiffValues($mixed);
    }
    function
value_count($value, $mixed)
    {
        return
AVC::valueCount($value, $mixed);
    }
}