Re: [VOTE] 64 bit platform improvements for string length and integer

From: Date: Fri, 31 Jan 2014 11:30:55 +0000
Subject: Re: [VOTE] 64 bit platform improvements for string length and integer
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Thu, 30 Jan 2014, Hannes Magnusson wrote:

> Now remember the fact I wanted everyone to realize and understand:

> >> I need people do also understand this little fact: This is how you 
> >> will create an extension 2years from now. That compat.h header is 
> >> as important as #include <php.h> Your extension is useless without 
> >> it.
> 
> Just because 5.6 is the "base versions" the extension support, you 
> will still be using that compat header and workarounds because you, or 
> anyone else, is not stupid enough to change all these lines of code 
> for absolutely no gain.
> 
> (PHP_NEED_STRSIZE_COMPAT ? "Os|al" : "OS|ai") is the way you will be 
> passing arguments to zpp from now on.

Yes, and that is a whole lot worse than including a Unicode string 
type—which introdcution would at least have given us real functionality.

cheers,
Derick

-- 
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
Posted with an email client that doesn't mangle email: alpine


Thread (132 messages)

« previous php.internals (#71850) next »