PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > alt.php > What is the meaning of the dots (.)
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
What is the meaning of the dots (.)

Réponse
 
LinkBack Outils de la discussion
Vieux 11/10/2007, 10h43   #1
Henk Oegema
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut What is the meaning of the dots (.)

What is the meaning of the dots (.) in the following line:

echo "Days: ". $days. " Hours: " . $hours . " Minutes: " . $mins;
  Réponse avec citation
Vieux 11/10/2007, 10h53   #2
ShutEye
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: What is the meaning of the dots (.)

> What is the meaning of the dots (.) in the following line:
>
> echo "Days: ". $days. " Hours: " . $hours . " Minutes: " . $mins;


From http://www.php.net/manual/en/language.types.string.php :

"Strings may be concatenated using the '.' (dot) operator. Note that the '+'
(addition) operator will not work for this. Please see String operators for
more information."


  Réponse avec citation
Vieux 11/10/2007, 11h54   #3
Henk Oegema
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: What is the meaning of the dots (.)

ShutEye wrote:

>> What is the meaning of the dots (.) in the following line:
>>
>> echo "Days: ". $days. " Hours: " . $hours . " Minutes: " . $mins;

>
> From http://www.php.net/manual/en/language.types.string.php :
>
> "Strings may be concatenated using the '.' (dot) operator. Note that the
> '+' (addition) operator will not work for this. Please see String
> operators for more information."

Thanks
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 10h54.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09265 seconds with 11 queries