Hi internals!


Some editors can guess the domain-specific language inside heredoc, e.g. if you 
do



$query = <<<MySQL

SELECT * FROM foo

MySQL;



It would be nice if this feature could be used in single lines as well:



$query = <<<MySQL SELECT * FROM foo MySQL;



Any limitations in the parser that prevents this? Or just a convention or 
historical choice?



Olle Härstedt



Software Developer (Chief Software Architect)



tel:+49 40 22660066



mailto:olle.hearst...@limesurvey.org



https://www.limesurvey.org



LimeSurvey GmbH



Papenreye 63



22453 Hamburg



Sitz der Gesellschaft / trade register: Hamburg, Amtsgericht Hamburg HRB 137625
 Steuernummer / tax id: 49 / 740 / 01441


https://www.limesurvey.org











https://www.facebook.com/LimeSurvey/


https://twitter.com/LimeSurvey


https://www.linkedin.com/company/limesurvey


https://www.xing.com/companies/limesurveygmbh


https://github.com/LimeSurvey/LimeSurvey

Reply via email to