Back to index

php5  5.3.10
metadata.phar.inc
Go to the documentation of this file.
00001 <?php
00002 @unlink(dirname(__FILE__) . '/metadata.phar.zip');
00003 $a = new Phar(dirname(__FILE__) . '/metadata.phar.zip');
00004 $a['a'] = 'a';
00005 $a['b'] = 'b';
00006 $a['b']->setMetadata('hi there');
00007 $a['c'] = 'c';
00008 $a['c']->setMetadata(array('hi', 'there'));
00009 $a['d'] = 'd';
00010 $a['d']->setMetadata(array('hi'=>'there','foo'=>'bar'));
00011 ?>