summaryrefslogtreecommitdiff
path: root/ext/phar/tests/withphar.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/withphar.phpt')
-rw-r--r--ext/phar/tests/withphar.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/phar/tests/withphar.phpt b/ext/phar/tests/withphar.phpt
new file mode 100644
index 0000000..c422fa9
--- /dev/null
+++ b/ext/phar/tests/withphar.phpt
@@ -0,0 +1,14 @@
+--TEST--
+Phar: phar run with pecl/phar with default stub
+--SKIPIF--
+<?php if (!extension_loaded("phar")) die("skip"); ?>
+--FILE--
+<?php
+include dirname(__FILE__) . '/files/nophar.phar';
+?>
+===DONE===
+--EXPECT--
+in b
+<?php include "b/c.php";
+in d
+===DONE===