cellog Sun Jan 28 21:52:56 2007 UTC
Modified files:
/phpdoc/en/reference/phar fileformat.xml
/phpdoc/en/reference/phar/functions Phar-begin.xml Phar-commit.xml
Phar-getStub.xml
Phar-mapPhar.xml
Log:
don't encourage \" ?>\" after __HALT_COMPILER();
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/fileformat.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/phar/fileformat.xml
diff -u phpdoc/en/reference/phar/fileformat.xml:1.2
phpdoc/en/reference/phar/fileformat.xml:1.3
--- phpdoc/en/reference/phar/fileformat.xml:1.2 Fri Jan 26 20:59:14 2007
+++ phpdoc/en/reference/phar/fileformat.xml Sun Jan 28 21:52:55 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<section id="phar.fileformat">
<title>Phar file format</title>
<para>
@@ -42,7 +42,6 @@
Phar::mapPhar();
include 'phar://myphar.phar/index.php';
__HALT_COMPILER();
-?>
]]>
</programlisting>
</para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-begin.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/phar/functions/Phar-begin.xml
diff -u phpdoc/en/reference/phar/functions/Phar-begin.xml:1.1
phpdoc/en/reference/phar/functions/Phar-begin.xml:1.2
--- phpdoc/en/reference/phar/functions/Phar-begin.xml:1.1 Sun Jan 28
20:08:52 2007
+++ phpdoc/en/reference/phar/functions/Phar-begin.xml Sun Jan 28 21:52:56 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.Phar-begin">
<refnamediv>
<refname>Phar->begin</refname>
@@ -68,8 +68,7 @@
}
Phar::mapPhar('myphar.phar');
include 'phar://myphar.phar/startup.php';
-__HALT_COMPILER();
-?>");
+__HALT_COMPILER();");
?>
]]>
</programlisting>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-commit.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/phar/functions/Phar-commit.xml
diff -u phpdoc/en/reference/phar/functions/Phar-commit.xml:1.1
phpdoc/en/reference/phar/functions/Phar-commit.xml:1.2
--- phpdoc/en/reference/phar/functions/Phar-commit.xml:1.1 Sun Jan 28
20:08:52 2007
+++ phpdoc/en/reference/phar/functions/Phar-commit.xml Sun Jan 28 21:52:56 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.Phar-commit">
<refnamediv>
<refname>Phar->commit</refname>
@@ -58,8 +58,7 @@
}
Phar::mapPhar('brandnewphar.phar');
include 'phar://brandnewphar.phar/startup.php';
-__HALT_COMPILER();
-?>");
+__HALT_COMPILER();");
var_dump($p->getStub());
?>
]]>
@@ -68,15 +67,14 @@
<screen>
<![CDATA[
string(24) "<?php __HALT_COMPILER();"
-string(198) "<?php
+string(195) "<?php
function __autoload($class)
{
include 'phar://' . str_replace('_', '/', $class);
}
Phar::mapPhar('brandnewphar.phar');
include 'phar://brandnewphar.phar/startup.php';
-__HALT_COMPILER();
-?>"
+__HALT_COMPILER();"
]]>
</screen>
</example>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-getStub.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/phar/functions/Phar-getStub.xml
diff -u phpdoc/en/reference/phar/functions/Phar-getStub.xml:1.2
phpdoc/en/reference/phar/functions/Phar-getStub.xml:1.3
--- phpdoc/en/reference/phar/functions/Phar-getStub.xml:1.2 Sun Jan 28
20:08:52 2007
+++ phpdoc/en/reference/phar/functions/Phar-getStub.xml Sun Jan 28 21:52:56 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.Phar-getStub">
<refnamediv>
<refname>Phar->getStub</refname>
@@ -52,8 +52,7 @@
}
Phar::mapPhar('myphar.phar');
include 'phar://myphar.phar/startup.php';
-__HALT_COMPILER();
-?>");
+__HALT_COMPILER();");
echo $p->getStub();
]]>
</programlisting>
@@ -70,7 +69,6 @@
Phar::mapPhar('myphar.phar');
include 'phar://myphar.phar/startup.php';
__HALT_COMPILER();
-?>
]]>
</screen>
</example>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-mapPhar.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/phar/functions/Phar-mapPhar.xml
diff -u phpdoc/en/reference/phar/functions/Phar-mapPhar.xml:1.3
phpdoc/en/reference/phar/functions/Phar-mapPhar.xml:1.4
--- phpdoc/en/reference/phar/functions/Phar-mapPhar.xml:1.3 Thu Jan 18
08:49:59 2007
+++ phpdoc/en/reference/phar/functions/Phar-mapPhar.xml Sun Jan 28 21:52:56 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.Phar-mapPhar">
<refnamediv>
<refname>Phar::mapPhar</refname>
@@ -71,7 +71,6 @@
Phar::mapPhar('me.phar');
include 'phar://me.phar/startup.php';
__HALT_COMPILER();
-?>
]]>
</programlisting>
</example>