summaryrefslogtreecommitdiff
path: root/ext/phar/tests/phar_create_in_cwd.phpt
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2007-01-28 22:11:28 +0000
committerMarcus Boerger <helly@php.net>2007-01-28 22:11:28 +0000
commit0bc1b90ec354a4a74fbc2b6806a565a5b823fd1a (patch)
treee05a88a5d909edf5c0b15eddcb6e4e496cdbf04d /ext/phar/tests/phar_create_in_cwd.phpt
parentf78dc091f367b912f8f228ce8d9f17943b2c4b61 (diff)
downloadphp-git-0bc1b90ec354a4a74fbc2b6806a565a5b823fd1a.tar.gz
- Split commit into commit and setStub
Diffstat (limited to 'ext/phar/tests/phar_create_in_cwd.phpt')
-rw-r--r--ext/phar/tests/phar_create_in_cwd.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/tests/phar_create_in_cwd.phpt b/ext/phar/tests/phar_create_in_cwd.phpt
index 682bf71fad..aed04c68df 100644
--- a/ext/phar/tests/phar_create_in_cwd.phpt
+++ b/ext/phar/tests/phar_create_in_cwd.phpt
@@ -12,7 +12,7 @@ $p = new Phar('brandnewphar.phar');
$p['file1.txt'] = 'hi';
$p->commit();
var_dump($p->getStub());
-$p->commit("<?php
+$p->setStub("<?php
function __autoload(\$class)
{
include 'phar://' . str_replace('_', '/', \$class);