mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
be023d6f62
don't use php_parse_url() at all, and always unixify paths on copied strings. our modification was modifying the zval original string, so a user would pass in phar://c:\path\to\blah.phar and their string would change to phar://c:/path/to/blah.phar - bad. Now using include 'phar://' . __FILE__ . '/index.php'; works on both unix and windows seamlessly, as well as $a = new Phar(__FILE__) for use in the loader stub