didou Thu Jan 15 07:43:10 2004 EDT
Modified files:
/phpdoc/en/reference/pcre/functions preg-replace-callback.xml
Log:
CS : Function declarations follow the 'one true brace' convention
Index: phpdoc/en/reference/pcre/functions/preg-replace-callback.xml
diff -u phpdoc/en/reference/pcre/functions/preg-replace-callback.xml:1.7
phpdoc/en/reference/pcre/functions/preg-replace-callback.xml:1.8
--- phpdoc/en/reference/pcre/functions/preg-replace-callback.xml:1.7 Thu Sep 4
17:04:03 2003
+++ phpdoc/en/reference/pcre/functions/preg-replace-callback.xml Thu Jan 15
07:43:10 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/pcre.xml, last change in rev 1.47 -->
<refentry id="function.preg-replace-callback">
<refnamediv>
@@ -34,7 +34,8 @@
$text.= "Last christmas was 12/24/2001\n";
// the callback function
- function next_year($matches) {
+ function next_year($matches)
+ {
// as usual: $matches[0] is the complete match
// $matches[1] the match for the first subpattern
// enclosed in '(...)' and so on