note 61941 added to language.basic-syntax

From: Date: Wed, 15 Feb 2006 16:28:40 +0000
Subject: note 61941 added to language.basic-syntax
Groups: php.notes 
Request: Send a blank email to php-notes+get-103777@lists.php.net to get a copy of this message
This may be terribly inefficient, but it is the only way I have discovered of echoing php-parser-breaking text without modifying/escaping the orginal text. echo(file_get_contents('filename.txt')); where filename.txt is a text file containing the php-parser-breaking text. This may be unacceptable for very large strings, but for medium sizes it works at bink-of-an-eye speeds (tested with a 50k text file) FYI - My attempts at the "heredocs" and "include" solutions suggested earlier in the comments did not work. PHP tripped over each occurance of "?>". This might be a parser version issue. ---- Server IP: 64.71.164.2 Probable Submitter: 141.157.26.183 ---- Manual Page -- http://www.php.net/manual/en/language.basic-syntax.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+61941 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61941&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61941&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61941&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61941&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61941&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61941&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61941&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+61941&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#103777) next »