svn: /phpdoc/en/trunk/ language/control-structures/include.xml reference/filter/filters.xml reference/scream/examples.xml
reference/session/sessionhandler/destroy.xml

From: Date: Mon, 03 Aug 2015 22:37:52 +0000
Subject: svn: /phpdoc/en/trunk/ language/control-structures/include.xml reference/filter/filters.xml reference/scream/examples.xml
reference/session/sessionhandler/destroy.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13495@lists.php.net to get a copy of this message
cmb Mon, 03 Aug 2015 22:37:52 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=337282 Log: minor fixes contributed by anon users Changed paths: U phpdoc/en/trunk/language/control-structures/include.xml U phpdoc/en/trunk/reference/filter/filters.xml U phpdoc/en/trunk/reference/scream/examples.xml U phpdoc/en/trunk/reference/session/sessionhandler/destroy.xml Modified: phpdoc/en/trunk/language/control-structures/include.xml =================================================================== --- phpdoc/en/trunk/language/control-structures/include.xml 2015-08-03 20:00:06 UTC (rev 337281) +++ phpdoc/en/trunk/language/control-structures/include.xml 2015-08-03 22:37:52 UTC (rev 337282) @@ -203,13 +203,13 @@ <programlisting role="php"> <![CDATA[ <?php -// won't work, evaluated as include(('vars.php') == 'OK'), i.e. include('') -if (include('vars.php') == 'OK') { +// won't work, evaluated as include(('vars.php') == TRUE), i.e. include('') +if (include('vars.php') == TRUE) { echo 'OK'; } // works -if ((include 'vars.php') == 'OK') { +if ((include 'vars.php') == TRUE) { echo 'OK'; } ?> Modified: phpdoc/en/trunk/reference/filter/filters.xml =================================================================== --- phpdoc/en/trunk/reference/filter/filters.xml 2015-08-03 20:00:06 UTC (rev 337281) +++ phpdoc/en/trunk/reference/filter/filters.xml 2015-08-03 22:37:52 UTC (rev 337282) @@ -393,7 +393,7 @@ <constant>FILTER_UNSAFE_RAW</constant> </entry> <entry> - Strips characters that has a numerical value &lt;32. + Strips characters that have a numerical value &lt;32. </entry> </row> <row> @@ -405,7 +405,7 @@ <constant>FILTER_UNSAFE_RAW</constant> </entry> <entry> - Strips characters that has a numerical value &gt;127. + Strips characters that have a numerical value &gt;127. </entry> </row> <row> Modified: phpdoc/en/trunk/reference/scream/examples.xml =================================================================== --- phpdoc/en/trunk/reference/scream/examples.xml 2015-08-03 20:00:06 UTC (rev 337281) +++ phpdoc/en/trunk/reference/scream/examples.xml 2015-08-03 22:37:52 UTC (rev 337282) @@ -27,7 +27,7 @@ // Now enable scream and try again ini_set('scream.enabled', true); echo "Opening http://example.com/not-existing-file\n"; -@fopen('http://example.com/another-not-existing-file', 'r'); +@fopen('http://example.com/not-existing-file', 'r'); ?> ]]> </programlisting> @@ -37,7 +37,7 @@ Opening http://example.com/not-existing-file Opening http://example.com/not-existing-file -Warning: fopen(http://example.com/another-not-existing-file): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in example.php on line 14 +Warning: fopen(http://example.com/not-existing-file): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in example.php on line 14 ]]> </screen> </example> Modified: phpdoc/en/trunk/reference/session/sessionhandler/destroy.xml =================================================================== --- phpdoc/en/trunk/reference/session/sessionhandler/destroy.xml 2015-08-03 20:00:06 UTC (rev 337281) +++ phpdoc/en/trunk/reference/session/sessionhandler/destroy.xml 2015-08-03 22:37:52 UTC (rev 337282) @@ -14,8 +14,8 @@ <methodparam><type>string</type><parameter>session_id</parameter></methodparam> </methodsynopsis> <para> - Destroys a session. Called by internally by PHP with <function>session_regenerate_id</function> (assuming - the <parameter>$destory</parameter> is set to &true;, by <function>session_destroy</function> or when + Destroys a session. Called internally by PHP with <function>session_regenerate_id</function> (assuming + the <parameter>$destroy</parameter> is set to &true;, by <function>session_destroy</function> or when <function>session_decode</function> fails. </para> <para>

« previous php.doc.cvs (#13495) next »