ID:               47089
 Updated by:       paj...@php.net
 Reported By:      vr...@php.net
-Status:           Assigned
+Status:           Feedback
 Bug Type:         CGI related
 Operating System: win32 only
 PHP Version:      5.3.0alpha4-dev
 Assigned To:      pajoye
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

Works with all 5.3.0 snaps, VC9&VC6 TS and NTS:

C:\Users\..\php53snap>php \php-sdk\php53\vc9\x86\PHP_5_3\shebang.php
5.3.0alpha4-dev

Can you try again using a recent snapshot please?




Previous Comments:
------------------------------------------------------------------------

[2009-01-14 20:04:56] paj...@php.net

I have to check (assigned to me +)

------------------------------------------------------------------------

[2009-01-14 19:31:44] il...@php.net

Pierre,

Is there a problem with mmap() on windows where it ignores the start 
offset?

------------------------------------------------------------------------

[2009-01-14 09:19:47] vr...@php.net

php.exe in Windows distribution is CLI. <?php echo PHP_SAPI; ?> prints
"cli".

------------------------------------------------------------------------

[2009-01-13 18:18:12] il...@php.net

What SAPI are you using?

------------------------------------------------------------------------

[2009-01-13 12:44:46] vr...@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

Reply via email to