summaryrefslogtreecommitdiff
path: root/ext/phar/tests/cache_list/files/write4.phar
blob: c267babb42398893e15bca63945f0136eb4d6dd2 (plain)
ofshex dumpascii
0000 3c 3f 70 68 70 0a 76 61 72 5f 64 75 6d 70 28 66 69 6c 65 5f 65 78 69 73 74 73 28 22 70 68 61 72 <?php.var_dump(file_exists("phar
0020 3a 2f 2f 22 20 2e 20 5f 5f 46 49 4c 45 5f 5f 20 2e 20 22 2f 74 65 73 74 2e 74 78 74 22 29 29 3b ://"...__FILE__..."/test.txt"));
0040 0a 63 6c 65 61 72 73 74 61 74 63 61 63 68 65 28 29 3b 0a 50 68 61 72 3a 3a 6d 6f 75 6e 74 28 22 .clearstatcache();.Phar::mount("
0060 74 65 73 74 2e 74 78 74 22 2c 20 22 70 68 61 72 3a 2f 2f 22 20 2e 20 5f 5f 46 49 4c 45 5f 5f 20 test.txt",."phar://"...__FILE__.
0080 2e 20 22 2f 74 6f 62 65 6d 6f 75 6e 74 65 64 22 29 3b 0a 76 61 72 5f 64 75 6d 70 28 66 69 6c 65 .."/tobemounted");.var_dump(file
00a0 5f 65 78 69 73 74 73 28 22 70 68 61 72 3a 2f 2f 22 20 2e 20 5f 5f 46 49 4c 45 5f 5f 20 2e 20 22 _exists("phar://"...__FILE__..."
00c0 2f 74 65 73 74 2e 74 78 74 22 29 2c 20 66 69 6c 65 5f 67 65 74 5f 63 6f 6e 74 65 6e 74 73 28 22 /test.txt"),.file_get_contents("
00e0 70 68 61 72 3a 2f 2f 22 20 2e 20 5f 5f 46 49 4c 45 5f 5f 20 2e 20 22 2f 74 65 73 74 2e 74 78 74 phar://"...__FILE__..."/test.txt
0100 22 29 29 3b 0a 65 63 68 6f 20 22 6f 6b 5c 6e 22 3b 0a 5f 5f 48 41 4c 54 5f 43 4f 4d 50 49 4c 45 "));.echo."ok\n";.__HALT_COMPILE
0120 52 28 29 3b 20 3f 3e 0d 0a 39 00 00 00 01 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00 00 00 0b R();.?>..9......................
0140 00 00 00 74 6f 62 65 6d 6f 75 6e 74 65 64 02 00 00 00 a8 8a f2 48 02 00 00 00 ac 2a 93 d8 b6 01 ...tobemounted.......H.....*....
0160 00 00 00 00 00 00 68 69 b2 c2 11 1e a9 18 8e fb 58 b3 d5 c6 50 46 db 2e e1 ff 12 33 02 00 00 00 ......hi........X...PF.....3....
0180 47 42 4d 42 GBMB