1--TEST--
2Test copy() function: error conditions
3--FILE--
4<?php
5echo "*** Testing copy() function: error conditions --\n";
6/* Invalid args */
7var_dump( copy("/no/file", "file") );
8
9echo "*** Done ***\n";
10?>
11--EXPECTF--
12*** Testing copy() function: error conditions --
13
14Warning: copy(/no/file): Failed to open stream: No such file or directory in %s on line %d
15bool(false)
16*** Done ***
17