From 7370947122c7198bd1fd20c087afffd6b2f8ad30 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 27 Feb 2015 23:06:12 +0100 Subject: [PATCH 1/1] --- makephar.php | 10 ++++++++++ test-include.php | 3 +++ z-output.txt | 1 + 3 files changed, 14 insertions(+) create mode 100644 makephar.php create mode 100644 test-include.php create mode 100644 z-output.txt diff --git a/makephar.php b/makephar.php new file mode 100644 index 0000000..6890b44 --- /dev/null +++ b/makephar.php @@ -0,0 +1,10 @@ +addFromString( + 'path/to/foo.php', + '' +); +?> diff --git a/test-include.php b/test-include.php new file mode 100644 index 0000000..de0f0d2 --- /dev/null +++ b/test-include.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/z-output.txt b/z-output.txt new file mode 100644 index 0000000..a2a167a --- /dev/null +++ b/z-output.txt @@ -0,0 +1 @@ +__FILE__ is: phar:///home/cweiske/Dev/test/phar/test.phar/path/to/foo.php -- 2.30.2