#47089 [Opn->Asn]: Shebang is printed under Windows
| From: | pajoye@php.net | Date: | Wed, 14 Jan 2009 20:04:56 +0000 |
| Subject: | #47089 [Opn->Asn]: Shebang is printed under Windows | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132876@lists.php.net to get a copy of this message | ||
ID: 47089
Updated by: pajoye@php.net
Reported By: vrana@php.net
-Status: Open
+Status: Assigned
Bug Type: CGI related
Operating System: win32 only
PHP Version: 5.3.0alpha4-dev
-Assigned To: pierre
+Assigned To: pajoye
New Comment:
I have to check (assigned to me +)
Previous Comments:
------------------------------------------------------------------------
[2009-01-14 19:31:44] iliaa@php.net
Pierre,
Is there a problem with mmap() on windows where it ignores the start
offset?
------------------------------------------------------------------------
[2009-01-14 09:19:47] vrana@php.net
php.exe in Windows distribution is CLI. <?php echo PHP_SAPI; ?> prints
"cli".
------------------------------------------------------------------------
[2009-01-13 18:18:12] iliaa@php.net
What SAPI are you using?
------------------------------------------------------------------------
[2009-01-13 12:44:46] vrana@php.net
Description:
------------
The shebang line (e.g. #!/usr/bin/php) is printed in PHP
5.3.0alpha4-dev by php.exe while it was not printed in earlier versions
(e.g. PHP 5.2.8).
This is a backwards incompatible change which brings platform
difference.
Reproduce code:
---------------
#!/usr/bin/php
<?php
echo PHP_VERSION;
?>
Expected result:
----------------
5.3.0alpha4-dev
Actual result:
--------------
#!/usr/bin/php
5.3.0alpha4-dev
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47089&edit=1