]> granicus.if.org Git - php/commitdiff
fix examples
authorMarcus Boerger <helly@php.net>
Thu, 22 Aug 2002 14:04:01 +0000 (14:04 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 22 Aug 2002 14:04:01 +0000 (14:04 +0000)
#did i write those? shame on me for not knowing my own functions

CODING_STANDARDS

index faebc7766304645073d7d6b15d458133e7946310..596465f45b2a88d29842ae32a38e9400d7d8e939 100644 (file)
@@ -84,11 +84,11 @@ Exceptions:
     php_error_docref1() or php_error_docref2(). For example, file functions 
     should display the name of the file opened:
 
-    php_error_docref1("function.fopen", filename
-                      TSRMLS_CC, E_WHATEVER, "Desc.");
+    php_error_docref1("function.fopen" TSRMLS_CC, filename, 
+                      E_WHATEVER, "Desc.");
 
-    php_error_docref2("function.fopen", filename, openmode
-                      TSRMLS_CC, E_WHATEVER, "Desc.");
+    php_error_docref2("function.fopen" TSRMLS_CC, filename, openmode, 
+                      E_WHATEVER, "Desc.");
 
     Fixing ("unifying") existing php_error() message is a good thing [tm].