note 113934 added to language.operators.string

From: Date: Wed, 18 Dec 2013 15:16:13 +0000
Subject: note 113934 added to language.operators.string
Groups: php.notes 
Request: Send a blank email to php-notes+get-197976@lists.php.net to get a copy of this message
Please note that PHP does not differentiate between double quotes and single quotes when it comes to concatenating. Meaning that you can use this: <?php $var = "hello"; echo "$var" . '$world'; //outputs hello$world ?> so you can use both at the same time, you can use it to evaluate a portion of the string and keep other parts unevaluated. ---- Server IP: 72.52.91.14 Probable Submitter: 72.52.91.14 ---- Manual Page -- http://php.net/manual/en/language.operators.string.php Edit -- https://master.php.net/note/edit/113934 Del: integrated -- https://master.php.net/note/delete/113934/integrated Del: useless -- https://master.php.net/note/delete/113934/useless Del: bad code -- https://master.php.net/note/delete/113934/bad+code Del: spam -- https://master.php.net/note/delete/113934/spam Del: non-english -- https://master.php.net/note/delete/113934/non-english Del: in docs -- https://master.php.net/note/delete/113934/in+docs Del: other reasons-- https://master.php.net/note/delete/113934 Reject -- https://master.php.net/note/reject/113934 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#197976) next »