Annotation of embedaddon/php/ext/phar/tests/zip/files/metadata.phar.inc, revision 1.1

1.1     ! misho       1: <?php
        !             2: @unlink(dirname(__FILE__) . '/metadata.phar.zip');
        !             3: $a = new Phar(dirname(__FILE__) . '/metadata.phar.zip');
        !             4: $a['a'] = 'a';
        !             5: $a['b'] = 'b';
        !             6: $a['b']->setMetadata('hi there');
        !             7: $a['c'] = 'c';
        !             8: $a['c']->setMetadata(array('hi', 'there'));
        !             9: $a['d'] = 'd';
        !            10: $a['d']->setMetadata(array('hi'=>'there','foo'=>'bar'));
        !            11: ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>