summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/basename-win32.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/basename-win32.phpt')
-rw-r--r--ext/standard/tests/file/basename-win32.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/tests/file/basename-win32.phpt b/ext/standard/tests/file/basename-win32.phpt
index 5fd0f9659f..429030ecde 100644
--- a/ext/standard/tests/file/basename-win32.phpt
+++ b/ext/standard/tests/file/basename-win32.phpt
@@ -10,10 +10,10 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
?>
--FILE--
<?php
-/*
+/*
* proto string basename(string path [, string suffix])
* Function is implemented in ext/standard/string.c
- */
+ */
$file_paths = array (
/* simple paths */
array("bar"),
@@ -41,7 +41,7 @@ $file_paths = array (
array("\\foo\\bar.zip\\", ".zip"),
array("foo\\bar.zip\\", ".zip"),
array("\\bar.zip\\", ".zip"),
-
+
/* paths with basename only suffix, with suffix removal*/
array("\\.zip", ".zip"),
array(".zip", ".zip"),
@@ -90,7 +90,7 @@ $file_path_variations = array (
/* path with spaces */
array(" "),
array(' '),
-
+
/* empty paths */
array(""),
array(''),
@@ -104,8 +104,8 @@ function check_basename( $path_arrays ) {
if( 1 == count($path) ) { // no suffix provided
var_dump( basename($path[0]) );
} else { // path as well as suffix provided,
- var_dump( basename($path[0], $path[1]) );
- }
+ var_dump( basename($path[0], $path[1]) );
+ }
}
}