summaryrefslogtreecommitdiff
path: root/ext/phar/tests/phar_oo_getcontents.phpt
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2008-04-10 13:41:29 +0000
committerGreg Beaver <cellog@php.net>2008-04-10 13:41:29 +0000
commitf0ff6fb10932ab94949a4f1d741e64f219277571 (patch)
treeacbea368a06e522a9c4bff45f34ff6c69dacc7f4 /ext/phar/tests/phar_oo_getcontents.phpt
parent61b5fc48e33d8c42ec4b03561670d0d3245e5b13 (diff)
downloadphp-git-f0ff6fb10932ab94949a4f1d741e64f219277571.tar.gz
s/getContents/getContent/
Diffstat (limited to 'ext/phar/tests/phar_oo_getcontents.phpt')
-rw-r--r--ext/phar/tests/phar_oo_getcontents.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/phar_oo_getcontents.phpt b/ext/phar/tests/phar_oo_getcontents.phpt
index 3f093adb31..76b3e64713 100644
--- a/ext/phar/tests/phar_oo_getcontents.phpt
+++ b/ext/phar/tests/phar_oo_getcontents.phpt
@@ -1,5 +1,5 @@
--TEST--
-Phar object: getContents()
+Phar object: getContent()
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?>
@@ -12,7 +12,7 @@ $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';
$phar = new Phar($fname);
$phar['a'] = 'file contents
this works';
-echo $phar['a']->getContents() . "\n";
+echo $phar['a']->getContent() . "\n";
?>
===DONE===
--CLEAN--