Edit report at https://bugs.php.net/bug.php?id=61437&edit=1
ID: 61437 Updated by: il...@php.net Reported by: nison dot mael at gmail dot com Summary: Illegal stub for phar -Status: Open +Status: Not a bug Type: Bug Package: PHAR related Operating System: Archlinux PHP Version: 5.3.10 Block user comment: N Private report: N New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2012-03-19 15:50:14] nison dot mael at gmail dot com Description: ------------ It's not possible to add spaces in the __halt_compiler argument list. Test script: --------------- <?php $phar->setStub( "<?php __HALT_COMPILER( );" ); Expected result: ---------------- Works Actual result: -------------- Fatal error: Uncaught exception 'PharException' with message 'illegal stub for phar "/tmp/foo.phar"' in /tmp/compile.php:21 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61437&edit=1