note 129647 added to phar.isvalidpharfilename
| From: | kevin.sours@internetbrands.com | Date: | Wed, 10 Jul 2024 20:05:12 +0000 |
| Subject: | note 129647 added to phar.isvalidpharfilename | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221418@lists.php.net to get a copy of this message | ||
This appears to return true for the running phar file regardless of the file extension. This is
undocumented (as is the fact that PHP will run phar files perfectly fine with a php extension).
This allows, for instance, reading the metadata for the running phar.
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.84.18 (proxied: 142.129.54.149)
----
Manual Page -- https://php.net/manual/en/phar.isvalidpharfilename.php
Edit -- https://main.php.net/note/edit/129647
Del: integrated -- https://main.php.net/note/delete/129647/integrated
Del: useless -- https://main.php.net/note/delete/129647/useless
Del: bad code -- https://main.php.net/note/delete/129647/bad+code
Del: spam -- https://main.php.net/note/delete/129647/spam
Del: non-english -- https://main.php.net/note/delete/129647/non-english
Del: in docs -- https://main.php.net/note/delete/129647/in+docs
Del: other reasons-- https://main.php.net/note/delete/129647
Reject -- https://main.php.net/note/reject/129647
Search -- https://main.php.net/manage/user-notes.php