SommaireTelecharger la documentationChapitre suivantChapitre precedent  

  .: News :.: Edito :.: Scripts :.: Forum :.: Erreurs :.: Jobs :. 
 
Sommaire

Chaîne de caractères

AddCSlashes
AddSlashes
bin2hex
chop
chr
chunk_split
convert_cyr_string
count_chars
crc32
crypt
echo
explode
get_html_translation_table
get_meta_tags
hebrev
hebrevc
htmlentities
htmlspecialchars
implode
join
levenshtein
localeconv
ltrim
md5
metaphone
nl2br
ord
parse_str
print
printf
quoted_printable_decode
QuoteMeta
rtrim
sscanf
setlocale
similar_text
soundex
sprintf
strncasecmp
strcasecmp
strchr
strcmp
strcoll
strcspn
strip_tags
StripCSlashes
StripSlashes
stristr
strlen
strnatcmp
strnatcasecmp
strncmp
str_pad
strpos
strrchr
str_repeat
strrev
strrpos
strspn
strstr
strtok
strtolower
strtoupper
str_replace
strtr
substr
substr_count
substr_replace
trim
ucfirst
ucwords
wordwrap

6.95.56 str_repeat

[ Exemples avec str_repeat ]   PHP 4 >= 4.0.0

Description

string str_repeat(string input ,int multiplier )

str_repeat retourne input_str répétée multiplier fois. multiplier doit être supérieur à 0.

Exemple avec str_repeat

<?php
echo str_repeat("-="10);
?>

Cet exemple affichera "-=-=-=-=-=-=-=-=-=-=".

Note

str_repeat a été ajoutée en PHP 4.0.


Chapitre précédentChapitre suivantAccueil nexen.net