summaryrefslogtreecommitdiff
path: root/ext/posix/tests/posix_getgrgid_variation.phpt
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-14 15:37:22 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-14 19:43:12 +0200
commit7af945e271d042a4991c9510f78b6ff7ac43ac34 (patch)
tree31d3b7a69f017cd532c5fe31ce1664d426384f82 /ext/posix/tests/posix_getgrgid_variation.phpt
parentafd534f1634e9a5d631afac39a9c9b09b1ba8b33 (diff)
downloadphp-git-7af945e271d042a4991c9510f78b6ff7ac43ac34.tar.gz
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/posix/tests/posix_getgrgid_variation.phpt')
-rw-r--r--ext/posix/tests/posix_getgrgid_variation.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/posix/tests/posix_getgrgid_variation.phpt b/ext/posix/tests/posix_getgrgid_variation.phpt
index 7abd32b97f..d8cce49911 100644
--- a/ext/posix/tests/posix_getgrgid_variation.phpt
+++ b/ext/posix/tests/posix_getgrgid_variation.phpt
@@ -3,14 +3,14 @@ Test posix_getgrgid() function : usage variations - parameter types
--SKIPIF--
<?php
PHP_INT_SIZE == 4 or die("skip - 32-bit only");
- if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+ if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
?>
--FILE--
<?php
/* Prototype : proto array posix_getgrgid(long gid)
- * Description: Group database access (POSIX.1, 9.2.1)
+ * Description: Group database access (POSIX.1, 9.2.1)
* Source code: ext/posix/posix.c
- * Alias to functions:
+ * Alias to functions:
*/
echo "*** Testing posix_getgrgid() : usage variations ***\n";
@@ -71,8 +71,8 @@ $values = array(
foreach($values as $value) {
echo "\nArg value $value \n";
$result = posix_getgrgid($value);
- if ((is_array($result) && (count($result) == 4))
- ||
+ if ((is_array($result) && (count($result) == 4))
+ ||
($result === false)) {
echo "valid output\n";
} else {