1--TEST-- 2Phar object: unset file 3--EXTENSIONS-- 4phar 5--INI-- 6phar.readonly=0 7phar.require_hash=0 8--FILE-- 9<?php 10 11$pharconfig = 0; 12 13require_once 'files/phar_oo_test.inc'; 14 15$phar = new Phar($fname); 16$phar->setInfoClass('SplFileObject'); 17 18$phar['f.php'] = 'hi'; 19var_dump(isset($phar['f.php'])); 20echo $phar['f.php']; 21echo "\n"; 22unset($phar['f.php']); 23var_dump(isset($phar['f.php'])); 24 25?> 26--CLEAN-- 27<?php 28unlink(__DIR__ . '/files/phar_oo_012.phar.php'); 29__halt_compiler(); 30?> 31--EXPECT-- 32bool(true) 33hi 34bool(false) 35