ofs | hex dump | ascii |
---|
0000 | 2d 2d 54 45 53 54 2d 2d 0a 54 65 73 74 20 72 65 6e 61 6d 65 28 29 20 66 75 6e 63 74 69 6f 6e 20 | --TEST--.Test.rename().function. |
0020 | 3a 20 76 61 72 69 61 74 69 6f 6e 20 2d 20 76 61 72 69 6f 75 73 20 69 6e 76 61 6c 69 64 20 70 61 | :.variation.-.various.invalid.pa |
0040 | 74 68 73 0a 2d 2d 43 52 45 44 49 54 53 2d 2d 0a 44 61 76 65 20 4b 65 6c 73 65 79 20 3c 64 5f 6b | ths.--CREDITS--.Dave.Kelsey.<d_k |
0060 | 65 6c 73 65 79 40 75 6b 2e 69 62 6d 2e 63 6f 6d 3e 0a 2d 2d 53 4b 49 50 49 46 2d 2d 0a 3c 3f 70 | elsey@uk.ibm.com>.--SKIPIF--.<?p |
0080 | 68 70 0a 69 66 28 73 75 62 73 74 72 28 50 48 50 5f 4f 53 2c 20 30 2c 20 33 29 20 21 3d 20 22 57 | hp.if(substr(PHP_OS,.0,.3).!=."W |
00a0 | 49 4e 22 29 0a 20 20 64 69 65 28 22 73 6b 69 70 20 72 75 6e 20 6f 6e 6c 79 20 6f 6e 20 57 69 6e | IN")...die("skip.run.only.on.Win |
00c0 | 64 6f 77 73 22 29 3b 0a 3f 3e 0a 2d 2d 46 49 4c 45 2d 2d 0a 3c 3f 70 68 70 0a 2f 2a 20 50 72 6f | dows");.?>.--FILE--.<?php./*.Pro |
00e0 | 74 6f 74 79 70 65 20 20 3a 20 62 6f 6f 6c 20 72 65 6e 61 6d 65 28 73 74 72 69 6e 67 20 6f 6c 64 | totype..:.bool.rename(string.old |
0100 | 5f 6e 61 6d 65 2c 20 73 74 72 69 6e 67 20 6e 65 77 5f 6e 61 6d 65 5b 2c 20 72 65 73 6f 75 72 63 | _name,.string.new_name[,.resourc |
0120 | 65 20 63 6f 6e 74 65 78 74 5d 29 0a 20 2a 20 44 65 73 63 72 69 70 74 69 6f 6e 3a 20 52 65 6e 61 | e.context])..*.Description:.Rena |
0140 | 6d 65 20 61 20 66 69 6c 65 20 0a 20 2a 20 53 6f 75 72 63 65 20 63 6f 64 65 3a 20 65 78 74 2f 73 | me.a.file...*.Source.code:.ext/s |
0160 | 74 61 6e 64 61 72 64 2f 66 69 6c 65 2e 63 0a 20 2a 20 41 6c 69 61 73 20 74 6f 20 66 75 6e 63 74 | tandard/file.c..*.Alias.to.funct |
0180 | 69 6f 6e 73 3a 20 0a 20 2a 2f 0a 0a 0a 65 63 68 6f 20 22 2a 2a 2a 20 54 65 73 74 69 6e 67 20 72 | ions:...*/...echo."***.Testing.r |
01a0 | 65 6e 61 6d 65 28 29 20 77 69 74 68 20 6f 62 73 63 75 72 65 20 66 69 6c 65 73 20 2a 2a 2a 5c 6e | ename().with.obscure.files.***\n |
01c0 | 22 3b 0a 24 66 69 6c 65 5f 70 61 74 68 20 3d 20 64 69 72 6e 61 6d 65 28 5f 5f 46 49 4c 45 5f 5f | ";.$file_path.=.dirname(__FILE__ |
01e0 | 29 2e 22 2f 72 65 6e 61 6d 65 56 61 72 31 33 22 3b 0a 24 61 46 69 6c 65 20 3d 20 24 66 69 6c 65 | )."/renameVar13";.$aFile.=.$file |
0200 | 5f 70 61 74 68 2e 27 2f 61 66 69 6c 65 2e 74 6d 70 27 3b 0a 0a 6d 6b 64 69 72 28 24 66 69 6c 65 | _path.'/afile.tmp';..mkdir($file |
0220 | 5f 70 61 74 68 29 3b 0a 0a 2f 2a 20 41 6e 20 61 72 72 61 79 20 6f 66 20 66 69 6c 65 73 20 2a 2f | _path);../*.An.array.of.files.*/ |
0240 | 20 0a 24 6e 61 6d 65 73 5f 61 72 72 20 3d 20 61 72 72 61 79 28 0a 20 20 2f 2a 20 49 6e 76 61 6c | ..$names_arr.=.array(.../*.Inval |
0260 | 69 64 20 61 72 67 73 20 2a 2f 20 0a 20 20 2d 31 2c 0a 20 20 54 52 55 45 2c 0a 20 20 46 41 4c 53 | id.args.*/....-1,...TRUE,...FALS |
0280 | 45 2c 0a 20 20 4e 55 4c 4c 2c 0a 20 20 2f 2f 20 49 20 74 68 69 6e 6b 20 62 6f 74 68 20 70 38 20 | E,...NULL,...//.I.think.both.p8. |
02a0 | 61 6e 64 20 70 68 70 20 61 72 65 20 77 72 6f 6e 67 20 6f 6e 20 74 68 65 20 6d 65 73 73 61 67 65 | and.php.are.wrong.on.the.message |
02c0 | 73 20 68 65 72 65 0a 20 20 22 22 2c 0a 20 20 2f 2f 70 38 20 67 65 6e 65 72 61 74 65 73 20 64 69 | s.here..."",...//p8.generates.di |
02e0 | 66 66 65 72 65 6e 74 20 6d 65 73 73 61 67 65 73 20 74 6f 20 70 68 70 2c 20 70 68 70 20 69 73 20 | fferent.messages.to.php,.php.is. |
0300 | 70 72 6f 62 61 62 6c 79 20 77 72 6f 6e 67 0a 20 20 2f 2f 70 68 70 20 68 61 73 20 65 69 74 68 65 | probably.wrong...//php.has.eithe |
0320 | 72 20 22 46 69 6c 65 20 45 78 69 73 74 73 22 20 6f 72 20 22 50 65 72 6d 69 73 73 69 6f 6e 20 44 | r."File.Exists".or."Permission.D |
0340 | 65 6e 69 65 64 22 2e 0a 20 20 22 20 22 2c 0a 20 20 22 5c 30 22 2c 0a 20 20 0a 20 20 2f 2f 20 61 | enied"....".",..."\0",......//.a |
0360 | 73 20 62 65 66 6f 72 65 0a 20 20 61 72 72 61 79 28 29 2c 0a 0a 20 20 2f 2a 20 70 72 65 66 69 78 | s.before...array(),..../*.prefix |
0380 | 20 77 69 74 68 20 70 61 74 68 20 73 65 70 61 72 61 74 6f 72 20 6f 66 20 61 20 6e 6f 6e 20 65 78 | .with.path.separator.of.a.non.ex |
03a0 | 69 73 74 69 6e 67 20 64 69 72 65 63 74 6f 72 79 2a 2f 0a 20 20 22 2f 6e 6f 2f 73 75 63 68 2f 66 | isting.directory*/..."/no/such/f |
03c0 | 69 6c 65 2f 64 69 72 22 2c 20 0a 20 20 22 70 68 70 2f 70 68 70 22 0a 0a 29 3b 0a 0a 66 6f 72 28 | ile/dir",...."php/php"..);..for( |
03e0 | 20 24 69 3d 30 3b 20 24 69 3c 63 6f 75 6e 74 28 24 6e 61 6d 65 73 5f 61 72 72 29 3b 20 24 69 2b | .$i=0;.$i<count($names_arr);.$i+ |
0400 | 2b 20 29 20 7b 0a 20 20 24 6e 61 6d 65 20 3d 20 24 6e 61 6d 65 73 5f 61 72 72 5b 24 69 5d 3b 0a | +.).{...$name.=.$names_arr[$i];. |
0420 | 20 20 65 63 68 6f 20 22 2d 2d 20 74 65 73 74 69 6e 67 20 27 24 6e 61 6d 65 27 20 2d 2d 5c 6e 22 | ..echo."--.testing.'$name'.--\n" |
0440 | 3b 20 20 0a 20 20 74 6f 75 63 68 28 24 61 46 69 6c 65 29 3b 0a 20 20 76 61 72 5f 64 75 6d 70 28 | ;.....touch($aFile);...var_dump( |
0460 | 72 65 6e 61 6d 65 28 24 61 46 69 6c 65 2c 20 24 6e 61 6d 65 29 29 3b 0a 20 20 69 66 20 28 66 69 | rename($aFile,.$name));...if.(fi |
0480 | 6c 65 5f 65 78 69 73 74 73 28 24 6e 61 6d 65 29 29 20 7b 0a 20 20 20 20 20 75 6e 6c 69 6e 6b 28 | le_exists($name)).{......unlink( |
04a0 | 24 6e 61 6d 65 29 3b 0a 20 20 7d 0a 20 20 69 66 20 28 66 69 6c 65 5f 65 78 69 73 74 73 28 24 61 | $name);...}...if.(file_exists($a |
04c0 | 46 69 6c 65 29 29 20 7b 0a 20 20 20 20 20 75 6e 6c 69 6e 6b 28 24 61 46 69 6c 65 29 3b 0a 20 20 | File)).{......unlink($aFile);... |
04e0 | 7d 0a 20 20 76 61 72 5f 64 75 6d 70 28 72 65 6e 61 6d 65 28 24 6e 61 6d 65 2c 20 24 61 46 69 6c | }...var_dump(rename($name,.$aFil |
0500 | 65 29 29 3b 0a 20 20 69 66 20 28 66 69 6c 65 5f 65 78 69 73 74 73 28 24 61 46 69 6c 65 29 29 20 | e));...if.(file_exists($aFile)). |
0520 | 7b 0a 20 20 20 20 20 75 6e 6c 69 6e 6b 28 24 61 46 69 6c 65 29 3b 0a 20 20 7d 0a 7d 0a 0a 72 6d | {......unlink($aFile);...}.}..rm |
0540 | 64 69 72 28 24 66 69 6c 65 5f 70 61 74 68 29 3b 0a 65 63 68 6f 20 22 5c 6e 2a 2a 2a 20 44 6f 6e | dir($file_path);.echo."\n***.Don |
0560 | 65 20 2a 2a 2a 5c 6e 22 3b 0a 3f 3e 0a 2d 2d 45 58 50 45 43 54 46 2d 2d 0a 2a 2a 2a 20 54 65 73 | e.***\n";.?>.--EXPECTF--.***.Tes |
0580 | 74 69 6e 67 20 72 65 6e 61 6d 65 28 29 20 77 69 74 68 20 6f 62 73 63 75 72 65 20 66 69 6c 65 73 | ting.rename().with.obscure.files |
05a0 | 20 2a 2a 2a 0a 2d 2d 20 74 65 73 74 69 6e 67 20 27 2d 31 27 20 2d 2d 0a 62 6f 6f 6c 28 74 72 75 | .***.--.testing.'-1'.--.bool(tru |
05c0 | 65 29 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 2d 31 2c 25 73 2f 72 65 6e 61 6d 65 | e)..Warning:.rename(-1,%s/rename |
05e0 | 56 61 72 31 33 2f 61 66 69 6c 65 2e 74 6d 70 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f | Var13/afile.tmp):.No.such.file.o |
0600 | 72 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 62 6f 6f | r.directory.in.%s.on.line.%d.boo |
0620 | 6c 28 66 61 6c 73 65 29 0a 2d 2d 20 74 65 73 74 69 6e 67 20 27 31 27 20 2d 2d 0a 62 6f 6f 6c 28 | l(false).--.testing.'1'.--.bool( |
0640 | 74 72 75 65 29 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 31 2c 25 73 2f 72 65 6e 61 | true)..Warning:.rename(1,%s/rena |
0660 | 6d 65 56 61 72 31 33 2f 61 66 69 6c 65 2e 74 6d 70 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 | meVar13/afile.tmp):.No.such.file |
0680 | 20 6f 72 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 62 | .or.directory.in.%s.on.line.%d.b |
06a0 | 6f 6f 6c 28 66 61 6c 73 65 29 0a 2d 2d 20 74 65 73 74 69 6e 67 20 27 27 20 2d 2d 0a 0a 57 61 72 | ool(false).--.testing.''.--..War |
06c0 | 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 25 73 2f 72 65 6e 61 6d 65 56 61 72 31 33 2f 61 66 69 6c | ning:.rename(%s/renameVar13/afil |
06e0 | 65 2e 74 6d 70 2c 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 6f | e.tmp,):.No.such.file.or.directo |
0700 | 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 0a | ry.in.%s.on.line.%d.bool(false). |
0720 | 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 2c 25 73 2f 72 65 6e 61 6d 65 56 61 72 31 33 | .Warning:.rename(,%s/renameVar13 |
0740 | 2f 61 66 69 6c 65 2e 74 6d 70 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 | /afile.tmp):.No.such.file.or.dir |
0760 | 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 62 6f 6f 6c 28 66 61 6c | ectory.in.%s.on.line.%d.bool(fal |
0780 | 73 65 29 0a 2d 2d 20 74 65 73 74 69 6e 67 20 27 27 20 2d 2d 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 | se).--.testing.''.--..Warning:.r |
07a0 | 65 6e 61 6d 65 28 25 73 2f 72 65 6e 61 6d 65 56 61 72 31 33 2f 61 66 69 6c 65 2e 74 6d 70 2c 29 | ename(%s/renameVar13/afile.tmp,) |
07c0 | 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 25 | :.No.such.file.or.directory.in.% |
07e0 | 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 0a 0a 57 61 72 6e 69 6e | s.on.line.%d.bool(false)..Warnin |
0800 | 67 3a 20 72 65 6e 61 6d 65 28 2c 25 73 2f 72 65 6e 61 6d 65 56 61 72 31 33 2f 61 66 69 6c 65 2e | g:.rename(,%s/renameVar13/afile. |
0820 | 74 6d 70 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 20 | tmp):.No.such.file.or.directory. |
0840 | 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 0a 2d 2d 20 | in.%s.on.line.%d.bool(false).--. |
0860 | 74 65 73 74 69 6e 67 20 27 27 20 2d 2d 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 25 | testing.''.--..Warning:.rename(% |
0880 | 73 2f 72 65 6e 61 6d 65 56 61 72 31 33 2f 61 66 69 6c 65 2e 74 6d 70 2c 29 3a 20 4e 6f 20 73 75 | s/renameVar13/afile.tmp,):.No.su |
08a0 | 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 | ch.file.or.directory.in.%s.on.li |
08c0 | 6e 65 20 25 64 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 | ne.%d.bool(false)..Warning:.rena |
08e0 | 6d 65 28 2c 25 73 2f 72 65 6e 61 6d 65 56 61 72 31 33 2f 61 66 69 6c 65 2e 74 6d 70 29 3a 20 4e | me(,%s/renameVar13/afile.tmp):.N |
0900 | 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f | o.such.file.or.directory.in.%s.o |
0920 | 6e 20 6c 69 6e 65 20 25 64 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 0a 2d 2d 20 74 65 73 74 69 6e 67 | n.line.%d.bool(false).--.testing |
0940 | 20 27 20 27 20 2d 2d 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 25 73 2f 72 65 6e 61 | .'.'.--..Warning:.rename(%s/rena |
0960 | 6d 65 56 61 72 31 33 2f 61 66 69 6c 65 2e 74 6d 70 2c 20 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 | meVar13/afile.tmp,.):.No.such.fi |
0980 | 6c 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 | le.or.directory.in.%s.on.line.%d |
09a0 | 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 20 2c | .bool(false)..Warning:.rename(., |
09c0 | 25 73 2f 72 65 6e 61 6d 65 56 61 72 31 33 2f 61 66 69 6c 65 2e 74 6d 70 29 3a 20 4e 6f 20 73 75 | %s/renameVar13/afile.tmp):.No.su |
09e0 | 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 | ch.file.or.directory.in.%s.on.li |
0a00 | 6e 65 20 25 64 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 0a 2d 2d 20 74 65 73 74 69 6e 67 20 27 00 27 | ne.%d.bool(false).--.testing.'.' |
0a20 | 20 2d 2d 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 25 73 2f 72 65 6e 61 6d 65 56 61 | .--..Warning:.rename(%s/renameVa |
0a40 | 72 31 33 2f 61 66 69 6c 65 2e 74 6d 70 2c 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 | r13/afile.tmp,):.No.such.file.or |
0a60 | 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 62 6f 6f 6c | .directory.in.%s.on.line.%d.bool |
0a80 | 28 66 61 6c 73 65 29 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 2c 25 73 2f 72 65 6e | (false)..Warning:.rename(,%s/ren |
0aa0 | 61 6d 65 56 61 72 31 33 2f 61 66 69 6c 65 2e 74 6d 70 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c | ameVar13/afile.tmp):.No.such.fil |
0ac0 | 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a | e.or.directory.in.%s.on.line.%d. |
0ae0 | 62 6f 6f 6c 28 66 61 6c 73 65 29 0a 2d 2d 20 74 65 73 74 69 6e 67 20 27 41 72 72 61 79 27 20 2d | bool(false).--.testing.'Array'.- |
0b00 | 2d 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 29 20 65 78 70 65 63 74 73 20 70 61 72 | -..Warning:.rename().expects.par |
0b20 | 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 73 74 72 69 6e 67 2c 20 61 72 72 61 79 20 67 69 76 | ameter.2.to.be.string,.array.giv |
0b40 | 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 0a | en.in.%s.on.line.%d.bool(false). |
0b60 | 0a 57 61 72 6e 69 6e 67 3a 20 66 69 6c 65 5f 65 78 69 73 74 73 28 29 20 65 78 70 65 63 74 73 20 | .Warning:.file_exists().expects. |
0b80 | 70 61 72 61 6d 65 74 65 72 20 31 20 74 6f 20 62 65 20 73 74 72 69 6e 67 2c 20 61 72 72 61 79 20 | parameter.1.to.be.string,.array. |
0ba0 | 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 0a 57 61 72 6e 69 6e 67 3a | given.in.%s.on.line.%d..Warning: |
0bc0 | 20 72 65 6e 61 6d 65 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 31 20 74 6f | .rename().expects.parameter.1.to |
0be0 | 20 62 65 20 73 74 72 69 6e 67 2c 20 61 72 72 61 79 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e | .be.string,.array.given.in.%s.on |
0c00 | 20 6c 69 6e 65 20 25 64 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 0a 2d 2d 20 74 65 73 74 69 6e 67 20 | .line.%d.bool(false).--.testing. |
0c20 | 27 2f 6e 6f 2f 73 75 63 68 2f 66 69 6c 65 2f 64 69 72 27 20 2d 2d 0a 0a 57 61 72 6e 69 6e 67 3a | '/no/such/file/dir'.--..Warning: |
0c40 | 20 72 65 6e 61 6d 65 28 25 73 2f 72 65 6e 61 6d 65 56 61 72 31 33 2f 61 66 69 6c 65 2e 74 6d 70 | .rename(%s/renameVar13/afile.tmp |
0c60 | 2c 2f 6e 6f 2f 73 75 63 68 2f 66 69 6c 65 2f 64 69 72 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c | ,/no/such/file/dir):.No.such.fil |
0c80 | 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a | e.or.directory.in.%s.on.line.%d. |
0ca0 | 62 6f 6f 6c 28 66 61 6c 73 65 29 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 2f 6e 6f | bool(false)..Warning:.rename(/no |
0cc0 | 2f 73 75 63 68 2f 66 69 6c 65 2f 64 69 72 2c 25 73 2f 72 65 6e 61 6d 65 56 61 72 31 33 2f 61 66 | /such/file/dir,%s/renameVar13/af |
0ce0 | 69 6c 65 2e 74 6d 70 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 | ile.tmp):.No.such.file.or.direct |
0d00 | 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 | ory.in.%s.on.line.%d.bool(false) |
0d20 | 0a 2d 2d 20 74 65 73 74 69 6e 67 20 27 70 68 70 2f 70 68 70 27 20 2d 2d 0a 0a 57 61 72 6e 69 6e | .--.testing.'php/php'.--..Warnin |
0d40 | 67 3a 20 72 65 6e 61 6d 65 28 25 73 2f 72 65 6e 61 6d 65 56 61 72 31 33 2f 61 66 69 6c 65 2e 74 | g:.rename(%s/renameVar13/afile.t |
0d60 | 6d 70 2c 70 68 70 2f 70 68 70 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 | mp,php/php):.No.such.file.or.dir |
0d80 | 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 62 6f 6f 6c 28 66 61 6c | ectory.in.%s.on.line.%d.bool(fal |
0da0 | 73 65 29 0a 0a 57 61 72 6e 69 6e 67 3a 20 72 65 6e 61 6d 65 28 70 68 70 2f 70 68 70 2c 25 73 2f | se)..Warning:.rename(php/php,%s/ |
0dc0 | 72 65 6e 61 6d 65 56 61 72 31 33 2f 61 66 69 6c 65 2e 74 6d 70 29 3a 20 4e 6f 20 73 75 63 68 20 | renameVar13/afile.tmp):.No.such. |
0de0 | 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 | file.or.directory.in.%s.on.line. |
0e00 | 25 64 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 0a 0a 2a 2a 2a 20 44 6f 6e 65 20 2a 2a 2a 0a 0a | %d.bool(false)..***.Done.***.. |