didou Thu Dec 18 12:45:18 2003 EDT
Modified files:
/phpdoc/en/reference/info/functions dl.xml
/phpdoc/en/reference/ldap reference.xml
/phpdoc/en/reference/mail/functions mail.xml
/phpdoc/en/reference/math/functions pow.xml
/phpdoc/en/reference/mcrypt/functions mcrypt-encrypt.xml
mcrypt-module-open.xml
Log:
some more CS
Index: phpdoc/en/reference/info/functions/dl.xml
diff -u phpdoc/en/reference/info/functions/dl.xml:1.14
phpdoc/en/reference/info/functions/dl.xml:1.15
--- phpdoc/en/reference/info/functions/dl.xml:1.14 Tue Dec 16 12:00:08 2003
+++ phpdoc/en/reference/info/functions/dl.xml Thu Dec 18 12:45:15 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
<!-- splitted from ./en/functions/info.xml, last change in rev 1.29 -->
<refentry id="function.dl">
<refnamediv>
@@ -44,7 +44,7 @@
<?php
// Example loading an extension based on OS
if (!extension_loaded('sqlite')) {
- if (strtoupper(substr(PHP_OS, 0,3) == 'WIN')) {
+ if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) {
dl('php_sqlite.dll');
} else {
dl('sqlite.so');
Index: phpdoc/en/reference/ldap/reference.xml
diff -u phpdoc/en/reference/ldap/reference.xml:1.9
phpdoc/en/reference/ldap/reference.xml:1.10
--- phpdoc/en/reference/ldap/reference.xml:1.9 Mon Dec 15 11:51:20 2003
+++ phpdoc/en/reference/ldap/reference.xml Thu Dec 18 12:45:16 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<reference id="ref.ldap">
<title>LDAP functions</title>
<titleabbrev>LDAP</titleabbrev>
@@ -130,20 +130,20 @@
echo "<h3>LDAP query test</h3>";
echo "Connecting ...";
$ds=ldap_connect("localhost"); // must be a valid LDAP server!
-echo "connect result is " . $ds . "<p>";
+echo "connect result is " . $ds . "<br />";
if ($ds) {
echo "Binding ...";
$r=ldap_bind($ds); // this is an "anonymous" bind, typically
// read-only access
- echo "Bind result is " . $r . "<p>";
+ echo "Bind result is " . $r . "<br />";
echo "Searching for (sn=S*) ...";
// Search surname entry
$sr=ldap_search($ds, "o=My Company, c=US", "sn=S*");
- echo "Search result is " . $sr . "<p>";
+ echo "Search result is " . $sr . "<br />";
- echo "Number of entires returned is ".ldap_count_entries($ds, $sr)."<p>";
+ echo "Number of entires returned is " . ldap_count_entries($ds, $sr) . "<br />";
echo "Getting entries ...<p>";
$info = ldap_get_entries($ds, $sr);
Index: phpdoc/en/reference/mail/functions/mail.xml
diff -u phpdoc/en/reference/mail/functions/mail.xml:1.25
phpdoc/en/reference/mail/functions/mail.xml:1.26
--- phpdoc/en/reference/mail/functions/mail.xml:1.25 Wed Nov 5 18:13:36 2003
+++ phpdoc/en/reference/mail/functions/mail.xml Thu Dec 18 12:45:17 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.25 $ -->
+<!-- $Revision: 1.26 $ -->
<!-- splitted from ./en/functions/mail.xml, last change in rev 1.2 -->
<refentry id="function.mail">
<refnamediv>
@@ -90,9 +90,9 @@
<![CDATA[
<?php
mail("[EMAIL PROTECTED]", "the subject", $message,
- "From: [EMAIL PROTECTED]'SERVER_NAME']}\r\n"
- ."Reply-To: [EMAIL PROTECTED]'SERVER_NAME']}\r\n"
- ."X-Mailer: PHP/" . phpversion());
+ "From: [EMAIL PROTECTED]'SERVER_NAME']}\r\n" .
+ "Reply-To: [EMAIL PROTECTED]'SERVER_NAME']}\r\n" .
+ "X-Mailer: PHP/" . phpversion());
?>
]]>
</programlisting>
Index: phpdoc/en/reference/math/functions/pow.xml
diff -u phpdoc/en/reference/math/functions/pow.xml:1.3
phpdoc/en/reference/math/functions/pow.xml:1.4
--- phpdoc/en/reference/math/functions/pow.xml:1.3 Mon Dec 15 11:51:58 2003
+++ phpdoc/en/reference/math/functions/pow.xml Thu Dec 18 12:45:17 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.pow">
<refnamediv>
@@ -28,8 +28,8 @@
<![CDATA[
<?php
-var_dump(pow(2,8)); // int(256)
-echo pow(-1,20); // 1
+var_dump(pow(2, 8)); // int(256)
+echo pow(-1, 20); // 1
echo pow(0, 0); // 1
echo pow(-1, 5.5); // error
Index: phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml
diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml:1.4
phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml:1.5
--- phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml:1.4 Fri Apr 25 14:43:09
2003
+++ phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml Thu Dec 18 12:45:18
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 -->
<refentry id="function.mcrypt-encrypt">
<refnamediv>
@@ -60,10 +60,10 @@
$iv = mcrypt_create_iv($iv_size, MCRYPT_RAND);
$key = "This is a very secret key";
$text = "Meet me at 11 o'clock behind the monument.";
- echo strlen($text)."\n";
+ echo strlen($text) . "\n";
$crypttext = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, $text, MCRYPT_MODE_ECB,
$iv);
- echo strlen($crypttext)."\n";
+ echo strlen($crypttext) . "\n";
?>
]]>
</programlisting>
Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml
diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.7
phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.8
--- phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.7 Thu Dec 18
09:14:22 2003
+++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml Thu Dec 18 12:45:18
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 -->
<refentry id="function.mcrypt-module-open">
<refnamediv>
@@ -90,7 +90,7 @@
mcrypt_module_close($td);
/* Show string */
- echo trim($decrypted)."\n";
+ echo trim($decrypted) . "\n";
?>
]]>
</programlisting>