diff options
author | Matt Wilmas <mattwil@php.net> | 2009-06-06 02:40:49 +0000 |
---|---|---|
committer | Matt Wilmas <mattwil@php.net> | 2009-06-06 02:40:49 +0000 |
commit | 1fa3b21c15a291cf442138513849930d23e1a102 (patch) | |
tree | e31cc8bbdf698c1f6dca5a69b0a26437d08a79b1 /ext/sysvshm | |
parent | cb7a21a42b4f91a42617dd22562d819f9b2c2be5 (diff) | |
download | php-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.c | 2 | ||||
-rw-r--r-- | ext/sysvshm/tests/002.phpt | 10 |
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 |