note 58868 added to function.halt-compiler
| From: | dR dot LoL at osu1 dot php dot net | Date: | Fri, 18 Nov 2005 10:59:44 +0000 |
| Subject: | note 58868 added to function.halt-compiler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98750@lists.php.net to get a copy of this message | ||
<?php
// open this file
$fp = fopen(__FILE__, 'r');
// seek file pointer to data
// plus the line-feed (that will depend on the file format/OS)
fseek($fp, __COMPILER_HALT_OFFSET__ + strlen(PHP_EOL));
// and output it
var_dump(stream_get_contents($fp));
// the end of the script execution
__halt_compiler();
the instalation data (eg. tar, gz, etc..)
?>
----
Manual Page -- http://www.php.net/manual/en/function.halt-compiler.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58868
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58868&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58868&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58868&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58868&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58868&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58868&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58868&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58868&report=yes
Search -- http://master.php.net/manage/user-notes.php