summaryrefslogtreecommitdiff
path: root/ext/phar/tests/cache_list/files/write18.phar
blob: 3fc9fe14014b5d97a4ea7623fd9cfc2bb41ffdfd (plain)
ofshex dumpascii
0000 3c 3f 70 68 70 0a 24 70 20 3d 20 6e 65 77 20 50 68 61 72 28 5f 5f 46 49 4c 45 5f 5f 29 3b 0a 65 <?php.$p.=.new.Phar(__FILE__);.e
0020 63 68 6f 20 64 65 63 6f 63 74 28 66 69 6c 65 70 65 72 6d 73 28 22 70 68 61 72 3a 2f 2f 22 20 2e cho.decoct(fileperms("phar://"..
0040 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 2c 22 5c 6e 22 3b 0a .__FILE__..."/test.txt")),"\n";.
0060 24 70 5b 22 74 65 73 74 2e 74 78 74 22 5d 2d 3e 63 68 6d 6f 64 28 30 34 34 34 29 3b 0a 65 63 68 $p["test.txt"]->chmod(0444);.ech
0080 6f 20 64 65 63 6f 63 74 28 66 69 6c 65 70 65 72 6d 73 28 22 70 68 61 72 3a 2f 2f 22 20 2e 20 5f o.decoct(fileperms("phar://"..._
00a0 5f 46 49 4c 45 5f 5f 20 2e 20 22 2f 74 65 73 74 2e 74 78 74 22 29 29 2c 22 5c 6e 22 3b 0a 65 63 _FILE__..."/test.txt")),"\n";.ec
00c0 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 52 28 29 3b 20 3f 3e ho."ok\n";.__HALT_COMPILER();.?>
00e0 0d 0a 36 00 00 00 01 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00 00 00 08 00 00 00 74 65 73 74 ..6.........................test
0100 2e 74 78 74 18 00 00 00 b4 c9 f2 48 18 00 00 00 a9 c0 8f 45 b6 01 00 00 00 00 00 00 3c 3f 70 68 .txt.......H.......E........<?ph
0120 70 20 5f 5f 48 41 4c 54 5f 43 4f 4d 50 49 4c 45 52 28 29 3b d4 c6 24 6f ca a7 cf a0 de 50 e9 17 p.__HALT_COMPILER();..$o.....P..
0140 40 db cb e9 b8 eb 09 d8 02 00 00 00 47 42 4d 42 @...........GBMB