note 6726 deleted from Strings by jeroen

From: Date: Mon, 20 Aug 2001 20:41:17 +0000
Subject: note 6726 deleted from Strings by jeroen
Groups: php.notes 
Request: Send a blank email to php-notes+get-16930@lists.php.net to get a copy of this message
I'm using string concatenation instead of variable substitution inside strings. I think the following line is more clear print('x = ' . $x . ', y = ' . $y); than print("x = $x, y = $y"); if you look at the code and you know only programming languages (e. g. C, C++, Pascal) that don't have got variable substitution inside strings. I know that TCL has got this feature as a language construct, too.

« previous php.notes (#16930) next »