|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-04-30 00:44 UTC] felipe@php.net
-Status: Open
+Status: Verified
[2010-05-03 16:41 UTC] iliaa@php.net
[2010-05-03 16:41 UTC] iliaa@php.net
-Status: Verified
+Status: Closed
-Assigned To:
+Assigned To: iliaa
[2010-05-03 16:41 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 19:00:01 2025 UTC |
Description: ------------ Functions in PHP are case-insensitive. This is valid also for __HALT_COMPILER(). Phar::setStub however looks for case-sensitive variant. Test script: --------------- $phar = new Phar("resource.phar"); try { $phar->setStub("<?php __halt_compiler();"); } catch (Exception $e) { echo get_class($e) . ": " . $e->getMessage() . "\n"; } Expected result: ---------------- Nothing Actual result: -------------- PharException: illegal stub for phar "C:/Download/resource.phar"