Vous êtes ici Fonction PHP > Description de la fonction sizeof()

 

Recherche sur les Noms des fonctions php/mysql

 
 

sizeof()

Définition

Alias de count() - (PHP 4, PHP 5)

Description

Cette fonction est un alias de : count().



 
 

Bouts de code utilisant la fonction sizeof()



<?php /* ... */     } $nb_results_tab_text sizeof($tab_text) -1;// Nb de lignes $tier intval($nb_results_tab_text 3);// Récupération du chiffre tiers /* ... */ ?>

<?php /* ... */             $this -> eof_ctrl_dir .             pack('v'sizeof($this -> ctrl_dir)) .   // total # of entries "on this disk" /* ... */ ?>

<?php /* ... */   $i 1;    while ($i sizeof($tab_match))  {     // on prend un champ du tableau /* ... */ ?>

<?php /* ... */       $result=$this->idPDO->query($query,PDO::FETCH_ASSOC);             if(sizeof($result)>0){                 foreach($result as $ligne){ /* ... */ ?>

<?php /* ... */       $compteur 0;       while ( $i sizeof($tabKey))       { /* ... */ ?>