svn: /phpdoc/en/trunk/reference/info/functions/ assert-options.xml get-magic-quotes-runtime.xml
| From: | Richard Quadling | Date: | Wed, 03 Feb 2010 14:07:39 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/info/functions/ assert-options.xml get-magic-quotes-runtime.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5993@lists.php.net to get a copy of this message | ||
rquadling Wed, 03 Feb 2010 14:07:39 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=294395
Log:
W/S tabs
Changed paths:
U phpdoc/en/trunk/reference/info/functions/assert-options.xml
U phpdoc/en/trunk/reference/info/functions/get-magic-quotes-runtime.xml
Modified: phpdoc/en/trunk/reference/info/functions/assert-options.xml
===================================================================
--- phpdoc/en/trunk/reference/info/functions/assert-options.xml 2010-02-03 14:07:23 UTC (rev 294394)
+++ phpdoc/en/trunk/reference/info/functions/assert-options.xml 2010-02-03 14:07:39 UTC (rev 294395)
@@ -109,19 +109,19 @@
// assert failures
function assert_failure()
{
- echo 'Assert failed';
+ echo 'Assert failed';
}
// This is our test function
function test_assert($parameter)
{
- assert(is_bool($parameter));
+ assert(is_bool($parameter));
}
// Set our assert options
-assert_options(ASSERT_ACTIVE, true);
-assert_options(ASSERT_BAIL, true);
-assert_options(ASSERT_WARNING, false);
+assert_options(ASSERT_ACTIVE, true);
+assert_options(ASSERT_BAIL, true);
+assert_options(ASSERT_WARNING, false);
assert_options(ASSERT_CALLBACK, 'assert_failure');
// Make an assert that would fail
Modified: phpdoc/en/trunk/reference/info/functions/get-magic-quotes-runtime.xml
===================================================================
--- phpdoc/en/trunk/reference/info/functions/get-magic-quotes-runtime.xml 2010-02-03 14:07:23 UTC
(rev 294394)
+++ phpdoc/en/trunk/reference/info/functions/get-magic-quotes-runtime.xml 2010-02-03 14:07:39 UTC
(rev 294395)
@@ -36,8 +36,8 @@
// Check if magic_quotes_runtime is active
if(get_magic_quotes_runtime())
{
- // Deactive
- set_magic_quotes_runtime(false);
+ // Deactive
+ set_magic_quotes_runtime(false);
}
?>
]]>