didou Thu Jan 15 07:42:26 2004 EDT
Modified files:
/phpdoc/en/reference/funchand/functions call-user-func-array.xml
call-user-func.xml
create-function.xml
func-get-arg.xml
func-get-args.xml
func-num-args.xml
get-defined-functions.xml
Log:
CS : Function declarations follow the 'one true brace' convention
Index: phpdoc/en/reference/funchand/functions/call-user-func-array.xml
diff -u phpdoc/en/reference/funchand/functions/call-user-func-array.xml:1.9
phpdoc/en/reference/funchand/functions/call-user-func-array.xml:1.10
--- phpdoc/en/reference/funchand/functions/call-user-func-array.xml:1.9 Thu Dec 18
18:59:55 2003
+++ phpdoc/en/reference/funchand/functions/call-user-func-array.xml Thu Jan 15
07:42:26 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/funchand.xml, last change in rev 1.10 -->
<refentry id="function.call-user-func-array">
<refnamediv>
@@ -26,7 +26,8 @@
<programlisting role="php">
< . "\n";
+ }
}
// create a bunch of math functions
Index: phpdoc/en/reference/funchand/functions/func-get-arg.xml
diff -u phpdoc/en/reference/funchand/functions/func-get-arg.xml:1.3
phpdoc/en/reference/funchand/functions/func-get-arg.xml:1.4
--- phpdoc/en/reference/funchand/functions/func-get-arg.xml:1.3 Mon Dec 15 11:49:46
2003
+++ phpdoc/en/reference/funchand/functions/func-get-arg.xml Thu Jan 15 07:42:26
2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/funchand.xml, last change in rev 1.1 -->
<refentry id="function.func-get-arg">
<refnamediv>
@@ -29,7 +29,8 @@
<programlisting role="php">
<![CDATA[
<?php
-function foo() {
+function foo()
+{
$numargs = func_num_args();
echo "Number of arguments: $numargs<br />\n";
if ($numargs >= 2) {
Index: phpdoc/en/reference/funchand/functions/func-get-args.xml
diff -u phpdoc/en/reference/funchand/functions/func-get-args.xml:1.3
phpdoc/en/reference/funchand/functions/func-get-args.xml:1.4
--- phpdoc/en/reference/funchand/functions/func-get-args.xml:1.3 Mon Dec 15
11:49:46 2003
+++ phpdoc/en/reference/funchand/functions/func-get-args.xml Thu Jan 15 07:42:26
2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/funchand.xml, last change in rev 1.1 -->
<refentry id="function.func-get-args">
<refnamediv>
@@ -25,7 +25,8 @@
<programlisting role="php">
<![CDATA[
<?php
-function foo() {
+function foo()
+{
$numargs = func_num_args();
echo "Number of arguments: $numargs<br />\n";
if ($numargs >= 2) {
Index: phpdoc/en/reference/funchand/functions/func-num-args.xml
diff -u phpdoc/en/reference/funchand/functions/func-num-args.xml:1.3
phpdoc/en/reference/funchand/functions/func-num-args.xml:1.4
--- phpdoc/en/reference/funchand/functions/func-num-args.xml:1.3 Mon Dec 15
11:49:46 2003
+++ phpdoc/en/reference/funchand/functions/func-num-args.xml Thu Jan 15 07:42:26
2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/funchand.xml, last change in rev 1.1 -->
<refentry id="function.func-num-args">
<refnamediv>
@@ -24,7 +24,8 @@
<programlisting role="php">
<![CDATA[
<?php
-function foo() {
+function foo()
+{
$numargs = func_num_args();
echo "Number of arguments: $numargs\n";
}
Index: phpdoc/en/reference/funchand/functions/get-defined-functions.xml
diff -u phpdoc/en/reference/funchand/functions/get-defined-functions.xml:1.3
phpdoc/en/reference/funchand/functions/get-defined-functions.xml:1.4
--- phpdoc/en/reference/funchand/functions/get-defined-functions.xml:1.3 Mon
Jun 16 10:37:37 2003
+++ phpdoc/en/reference/funchand/functions/get-defined-functions.xml Thu Jan 15
07:42:26 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/funchand.xml, last change in rev 1.6 -->
<refentry id="function.get-defined-functions">
<refnamediv>
@@ -26,7 +26,8 @@
<programlisting role="php">
<![CDATA[
<?php
-function myrow($id, $data) {
+function myrow($id, $data)
+{
return "<tr><th>$id</th><td>$data</td></tr>\n";
}