1--TEST-- 2Phar object: ArrayAccess and isset 3--SKIPIF-- 4<?php if (!extension_loaded('phar')) die('skip'); ?> 5--INI-- 6phar.require_hash=0 7--FILE-- 8<?php 9 10$pharconfig = 0; 11 12require_once 'files/phar_oo_test.inc'; 13 14$phar = new Phar($fname); 15 16var_dump(isset($phar['a.php'])); 17var_dump(isset($phar['b.php'])); 18var_dump(isset($phar['b/c.php'])); 19var_dump(isset($phar['b/d.php'])); 20var_dump(isset($phar['e.php'])); 21 22?> 23===DIR=== 24<?php 25var_dump(isset($phar['b'])); 26?> 27===NA=== 28<?php 29var_dump(isset($phar['a'])); 30var_dump(isset($phar['b/c'])); 31var_dump(isset($phar[12])); 32var_dump(isset($phar['b'])); 33 34?> 35===DONE=== 36--CLEAN-- 37<?php 38unlink(dirname(__FILE__) . '/files/phar_oo_010.phar.php'); 39__halt_compiler(); 40?> 41--EXPECT-- 42bool(true) 43bool(true) 44bool(true) 45bool(true) 46bool(true) 47===DIR=== 48bool(true) 49===NA=== 50bool(false) 51bool(false) 52bool(false) 53bool(true) 54===DONE=== 55