Return to frontcontroller.phar.inc CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / phar / tests / files |
1.1 misho 1: <?php 2: @unlink(dirname(__FILE__) . '/frontcontroller.phar'); 3: $a = new Phar(dirname(__FILE__) . '/frontcontroller.phar'); 4: $a['a.php'] = 'hio'; 5: $a['a.jpg'] = 'hio'; 6: $a['a.phps'] = '<?php function hio(){}'; 7: $a['index.php'] = 'here is my index'; 8: $a->setStub('<?php 9: Phar::webPhar(); 10: echo "oops did not run\n"; 11: var_dump($_ENV, $_SERVER); 12: __HALT_COMPILER();'); 13: ?>