diff --git a/reference/phar/Phar/running.xml b/reference/phar/Phar/running.xml index 00c22feea6..5aaba9b3c5 100644 --- a/reference/phar/Phar/running.xml +++ b/reference/phar/Phar/running.xml @@ -1,5 +1,5 @@ - + Phar::running @@ -18,6 +18,11 @@ like the __FILE__ magic constant, and only has effect inside an executing phar archive. + + Inside the stub of an archive, Phar::running returns + "". Simply use __FILE__ + to access the current running phar inside a stub. +