diff options
| author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-09-16 14:16:42 -0300 |
|---|---|---|
| committer | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-10-14 12:07:20 -0300 |
| commit | 9c144e0d8217d1ef7a83c2498214308b21af749f (patch) | |
| tree | d977ba0d8601de477c52f62accf02c120ef06253 /ext/standard/tests/file/006_variation1.phpt | |
| parent | b419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff) | |
| download | php-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz | |
Trim trailing whitespace in tests
Diffstat (limited to 'ext/standard/tests/file/006_variation1.phpt')
| -rw-r--r-- | ext/standard/tests/file/006_variation1.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/tests/file/006_variation1.phpt b/ext/standard/tests/file/006_variation1.phpt index 7ede7b8bbc..ba29a17509 100644 --- a/ext/standard/tests/file/006_variation1.phpt +++ b/ext/standard/tests/file/006_variation1.phpt @@ -19,7 +19,7 @@ unlink($filename); ?> --FILE-- <?php -/* +/* Prototype: int fileperms ( string $filename ); Description: Returns the permissions on the file, or FALSE in case of an error @@ -40,7 +40,7 @@ $count = 1; echo "-- Testing all permission from octal 0000 to octal 0777 on file and dir --\n"; for($mode = 0000; $mode <= 0777; $mode++) { echo "-- Iteration $count --\n"; - var_dump( chmod($file_name, $mode) ); + var_dump( chmod($file_name, $mode) ); printf("%o", fileperms($file_name) ); echo "\n"; clearstatcache(); @@ -61,7 +61,7 @@ chmod(dirname(__FILE__)."/006_variation1", 0777); unlink(dirname(__FILE__)."/006_variation1.tmp"); rmdir(dirname(__FILE__)."/006_variation1"); ?> ---EXPECT-- +--EXPECT-- *** Testing fileperms() & chmod() : usage variations *** -- Testing all permission from octal 0000 to octal 0777 on file and dir -- -- Iteration 1 -- |
