From a7f15583a92b3c9efde9cb3ea518fb374bf0990f Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Sun, 28 Jan 2007 21:52:56 +0000 Subject: [PATCH] don't encourage \" ?>\" after __HALT_COMPILER(); git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228354 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/phar/fileformat.xml | 3 +-- reference/phar/functions/Phar-begin.xml | 5 ++--- reference/phar/functions/Phar-commit.xml | 10 ++++------ reference/phar/functions/Phar-getStub.xml | 6 ++---- reference/phar/functions/Phar-mapPhar.xml | 3 +-- 5 files changed, 10 insertions(+), 17 deletions(-) diff --git a/reference/phar/fileformat.xml b/reference/phar/fileformat.xml index 73570a6095..31be7b2a84 100644 --- a/reference/phar/fileformat.xml +++ b/reference/phar/fileformat.xml @@ -1,5 +1,5 @@ - +
Phar file format @@ -42,7 +42,6 @@ Phar::mapPhar(); include 'phar://myphar.phar/index.php'; __HALT_COMPILER(); -?> ]]> diff --git a/reference/phar/functions/Phar-begin.xml b/reference/phar/functions/Phar-begin.xml index 2752271284..04724edd47 100644 --- a/reference/phar/functions/Phar-begin.xml +++ b/reference/phar/functions/Phar-begin.xml @@ -1,5 +1,5 @@ - + Phar->begin @@ -68,8 +68,7 @@ function __autoload($class) } Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; -__HALT_COMPILER(); -?>"); +__HALT_COMPILER();"); ?> ]]> diff --git a/reference/phar/functions/Phar-commit.xml b/reference/phar/functions/Phar-commit.xml index a27e700432..48f3353251 100644 --- a/reference/phar/functions/Phar-commit.xml +++ b/reference/phar/functions/Phar-commit.xml @@ -1,5 +1,5 @@ - + Phar->commit @@ -58,8 +58,7 @@ function __autoload(\$class) } Phar::mapPhar('brandnewphar.phar'); include 'phar://brandnewphar.phar/startup.php'; -__HALT_COMPILER(); -?>"); +__HALT_COMPILER();"); var_dump($p->getStub()); ?> ]]> @@ -68,15 +67,14 @@ var_dump($p->getStub()); " +__HALT_COMPILER();" ]]> diff --git a/reference/phar/functions/Phar-getStub.xml b/reference/phar/functions/Phar-getStub.xml index 978d70fd60..08bedf00a5 100644 --- a/reference/phar/functions/Phar-getStub.xml +++ b/reference/phar/functions/Phar-getStub.xml @@ -1,5 +1,5 @@ - + Phar->getStub @@ -52,8 +52,7 @@ function __autoload($class) } Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; -__HALT_COMPILER(); -?>"); +__HALT_COMPILER();"); echo $p->getStub(); ]]> @@ -70,7 +69,6 @@ function __autoload($class) Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; __HALT_COMPILER(); -?> ]]> diff --git a/reference/phar/functions/Phar-mapPhar.xml b/reference/phar/functions/Phar-mapPhar.xml index 39a9057d5b..1b95a87ed6 100644 --- a/reference/phar/functions/Phar-mapPhar.xml +++ b/reference/phar/functions/Phar-mapPhar.xml @@ -1,5 +1,5 @@ - + Phar::mapPhar @@ -71,7 +71,6 @@ function __autoload($class) Phar::mapPhar('me.phar'); include 'phar://me.phar/startup.php'; __HALT_COMPILER(); -?> ]]>