note 6726 modified in Strings by ronabop

From: Date: Mon, 02 Oct 2000 11:54:03 +0000
Subject: note 6726 modified in Strings by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-5950@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. http://www.php.net/manual/ref.strings.php

« previous php.notes (#5950) next »