summaryrefslogtreecommitdiff
path: root/CODING_STANDARDS
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-08-22 14:04:01 +0000
committerMarcus Boerger <helly@php.net>2002-08-22 14:04:01 +0000
commit6ce08f7382b9e92cf8699f11754761d65f2e6571 (patch)
tree62078b4de43847abe67d13a87802bb2976708ec3 /CODING_STANDARDS
parent9b9052f27a8fe10a3fafa58d4ef19b36020572e3 (diff)
downloadphp-git-6ce08f7382b9e92cf8699f11754761d65f2e6571.tar.gz
fix examples
#did i write those? shame on me for not knowing my own functions
Diffstat (limited to 'CODING_STANDARDS')
-rw-r--r--CODING_STANDARDS8
1 files changed, 4 insertions, 4 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS
index faebc77663..596465f45b 100644
--- a/CODING_STANDARDS
+++ b/CODING_STANDARDS
@@ -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].