summaryrefslogtreecommitdiff
path: root/ext/posix/tests/posix_getpwuid_variation.phpt
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-09-16 14:16:42 -0300
committerGabriel Caruso <carusogabriel34@gmail.com>2018-10-14 12:07:20 -0300
commit9c144e0d8217d1ef7a83c2498214308b21af749f (patch)
treed977ba0d8601de477c52f62accf02c120ef06253 /ext/posix/tests/posix_getpwuid_variation.phpt
parentb419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff)
downloadphp-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz
Trim trailing whitespace in tests
Diffstat (limited to 'ext/posix/tests/posix_getpwuid_variation.phpt')
-rw-r--r--ext/posix/tests/posix_getpwuid_variation.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/posix/tests/posix_getpwuid_variation.phpt b/ext/posix/tests/posix_getpwuid_variation.phpt
index 9bcddea832..27b4ca956f 100644
--- a/ext/posix/tests/posix_getpwuid_variation.phpt
+++ b/ext/posix/tests/posix_getpwuid_variation.phpt
@@ -3,14 +3,14 @@ Test posix_getpwuid() 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_getpwuid(long uid)
- * Description: User database access (POSIX.1, 9.2.2)
+ * Description: User database access (POSIX.1, 9.2.2)
* Source code: ext/posix/posix.c
- * Alias to functions:
+ * Alias to functions:
*/
echo "*** Testing posix_getpwuid() : usage variations ***\n";
@@ -61,7 +61,7 @@ $values = array(
// unset data
$unset_var,
-
+
// object data
new stdclass(),
);
@@ -71,7 +71,7 @@ $values = array(
foreach($values as $value) {
echo "\nArg value $value \n";
$result = posix_getpwuid($value);
- if ((is_array($result) && (count($result) == 7))
+ if ((is_array($result) && (count($result) == 7))
||
($result === false)) {
echo "valid output\n";