Req #42396 [Com]: Followup to #36711: __halt_compiler() and unicode detection

From: Date: Tue, 30 Nov 2010 05:36:01 +0000
Subject: Req #42396 [Com]: Followup to #36711: __halt_compiler() and unicode detection
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-156565@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=42396&edit=1

 ID:                 42396
 Comment by:         php at group dot apple dot com
 Reported by:        francois at tekwire dot net
 Summary:            Followup to #36711: __halt_compiler() and unicode
                     detection
 Status:             Closed
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   all
 PHP Version:        5.2.3
 Assigned To:        hirokawa
 Block user comment: N
 Private report:     N

 New Comment:

Please see the related bug:
  http://bugs.php.net/bug.php?id=53199

The original patch contained a flaw.


Previous Comments:
------------------------------------------------------------------------
[2010-11-24 07:09:51] dmitry@php.net

It's fixed only in trunk.

------------------------------------------------------------------------
[2010-11-24 07:09:21] dmitry@php.net

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------
[2010-11-18 09:50:07] cataphract@php.net

This bug describes more accurately the problem I attempted to solve with
the patch for bug #53199.

------------------------------------------------------------------------
[2010-06-25 10:11:56] phofstetter at sensational dot ch

somehow, recently, the default value of detect_unicode seems to have
changed. 

With detect_unicode enabled, it's impossible to run any PHAR-file -
neither 
through the CLI or through the web server. IMHO, this should really be
looked 
into.

------------------------------------------------------------------------
[2007-08-27 08:38:58] jani@php.net

IMHO, #42396 is not a bug, but it is the specification.
The normal script doesn't contain a null byte if it is not encoded in
Unicode.

It is understandable the addition of a unique byte seqence
'0xFFFFFFFF' detection to support PHAR/PHK, 
but it is a change to add a new feature.

Rui


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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=42396


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=42396&edit=1


Thread (11 messages)

« previous php.bugs (#156565) next »