summaryrefslogtreecommitdiff
path: root/ext/sysvshm
diff options
context:
space:
mode:
authorMatt Wilmas <mattwil@php.net>2009-06-06 02:40:49 +0000
committerMatt Wilmas <mattwil@php.net>2009-06-06 02:40:49 +0000
commit1fa3b21c15a291cf442138513849930d23e1a102 (patch)
treee31cc8bbdf698c1f6dca5a69b0a26437d08a79b1 /ext/sysvshm
parentcb7a21a42b4f91a42617dd22562d819f9b2c2be5 (diff)
downloadphp-git-1fa3b21c15a291cf442138513849930d23e1a102.tar.gz
MFH: Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can") - "than" instead of "then" (Hint: "then" should hardly be needed; you're not telling the order in which to do something) ... plus removed a couple ending. dots
Diffstat (limited to 'ext/sysvshm')
-rw-r--r--ext/sysvshm/sysvshm.c2
-rw-r--r--ext/sysvshm/tests/002.phpt10
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/sysvshm/sysvshm.c b/ext/sysvshm/sysvshm.c
index 7eee61a510..0cf542d245 100644
--- a/ext/sysvshm/sysvshm.c
+++ b/ext/sysvshm/sysvshm.c
@@ -157,7 +157,7 @@ PHP_FUNCTION(shm_attach)
}
if (shm_size < 1) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Segment size must be greater then zero.");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Segment size must be greater than zero");
RETURN_FALSE;
}
diff --git a/ext/sysvshm/tests/002.phpt b/ext/sysvshm/tests/002.phpt
index 958bd4c316..61174c6b83 100644
--- a/ext/sysvshm/tests/002.phpt
+++ b/ext/sysvshm/tests/002.phpt
@@ -39,21 +39,21 @@ NULL
Warning: shm_attach() expects at most 3 parameters, 4 given in %s on line %d
NULL
-Warning: shm_attach(): Segment size must be greater then zero. in %s on line %d
+Warning: shm_attach(): Segment size must be greater than zero in %s on line %d
bool(false)
-Warning: shm_attach(): Segment size must be greater then zero. in %s on line %d
+Warning: shm_attach(): Segment size must be greater than zero in %s on line %d
bool(false)
-Warning: shm_attach(): Segment size must be greater then zero. in %s on line %d
+Warning: shm_attach(): Segment size must be greater than zero in %s on line %d
bool(false)
-Warning: shm_attach(): Segment size must be greater then zero. in %s on line %d
+Warning: shm_attach(): Segment size must be greater than zero in %s on line %d
bool(false)
Warning: shm_remove() expects parameter 1 to be resource, boolean given in %s on line %d
-Warning: shm_attach(): Segment size must be greater then zero. in %s on line %d
+Warning: shm_attach(): Segment size must be greater than zero in %s on line %d
bool(false)
Warning: shm_remove() expects parameter 1 to be resource, boolean given in %s on line %d