Warning: copy(): The first argument to copy() function cannot be a directory in %s/copy_variation12.php on line %d
bool(false)
bool(false)
-int(4096)
+int(%d)
Warning: filesize(): stat failed for %s/copy_copy_variation12 in %s/copy_variation12.php on line %d
bool(false)
Warning: copy(): The first argument to copy() function cannot be a directory in %s/copy_variation12.php on line %d
bool(false)
bool(false)
-int(4096)
+int(%d)
Warning: filesize(): stat failed for %s/copy_copy_variation12 in %s/copy_variation12.php on line %d
bool(false)
--TEST--
Test copy() function: usage variations - destination dir access perms
--SKIPIF--
+--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN")
- die("skip Invalid for Windows");
+if( (substr(PHP_OS, 0, 3) == "WIN") || (stristr(PHP_OS, "Mac")) )
+ die("skip do not run on Win/MacOS");
?>
-
--FILE--
<?php
/* Prototype: bool copy ( string $source, string $dest );
Test copy() function: usage variations - destination file names(case sensitive)
--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN")
- die("skip do not run on Windows");
+if( (stristr(PHP_OS, "Mac")) || (substr(PHP_OS, 0, 3) == "WIN") )
+ die("skip do not run on Win/MacOS");
?>
--FILE--
<?php
Test copy() function: usage variations - destination file access perms
--SKIPIF--
<?php
-if(substr(PHP_OS, 0, 3) == "WIN")
- die("skip Invalid for Windows");
+if( (stristr(PHP_OS, "Mac")) || (substr(PHP_OS, 0, 3) == "WIN") )
+ die("skip do not run on Win/MacOS");
?>
--FILE--
<?php
["name"]=>
string(%d) %s
["passwd"]=>
- string(1) "x"
+ string(%d) "%s"
["uid"]=>
int(%d)
["gid"]=>
int(%d)
-- Testing with the standard file or directory --
-int(0)
-int(0)
-int(0)
+int(%d)
+int(%d)
+int(%d)
*** Done ***
["name"]=>
string(%d) %s
["passwd"]=>
- string(1) "x"
+ string(%d) "%s"
["uid"]=>
int(%d)
["gid"]=>
int(%d)
-- Testing with the standard file or directory --
-int(0)
-int(0)
-int(0)
+int(%d)
+int(%d)
+int(%d)
*** Done ***