summaryrefslogtreecommitdiff
path: root/ext/phar/tests/bug69720.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/bug69720.phpt')
-rw-r--r--ext/phar/tests/bug69720.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/phar/tests/bug69720.phpt b/ext/phar/tests/bug69720.phpt
index c0f76c7a0e..cdb4741ff8 100644
--- a/ext/phar/tests/bug69720.phpt
+++ b/ext/phar/tests/bug69720.phpt
@@ -8,13 +8,13 @@ try {
// open an existing phar
$p = new Phar(__DIR__."/bug69720.phar",0);
// Phar extends SPL's DirectoryIterator class
- echo $p->getMetadata();
+ echo $p->getMetadata();
foreach (new RecursiveIteratorIterator($p) as $file) {
// $file is a PharFileInfo class, and inherits from SplFileInfo
- $temp="";
+ $temp="";
$temp= $file->getFileName() . "\n";
$temp.=file_get_contents($file->getPathName()) . "\n"; // display contents
- var_dump($file->getMetadata());
+ var_dump($file->getMetadata());
}
}
catch (Exception $e) {
@@ -24,7 +24,7 @@ try {
--EXPECTF--
MY_METADATA_NULL
-Warning: file_get_contents(phar://%s): failed to open stream: phar error: "test.php" is not a file in phar "%s.phar" in %s.php on line %d
+Warning: file_get_contents(phar://%s): Failed to open stream: phar error: "test.php" is not a file in phar "%s.phar" in %s.php on line %d
array(1) {
["whatever"]=>
int(123)