On Wed, 26 Feb 2003, David Brown wrote:
Okay. Makes complete sense. I was thinking more along the lines of
wouldn't it be nice if...?. I hadn't quite made it to where would
that belong?. :)
I'll check out the optimizers. I noticed that the new CVS version of APC
seems to have a
Maintain apc, apd and optimizer in PECL
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday, November 30, 2002, at 07:17 PM, Sterling Hughes wrote:
The problem I see with an array approach from an api perspective is
simply when a bucket
is free'd, in order to have efficient memory usage, we'd need a second
level array scan
for every ALLOC_ZVAL().
Perhaps a linked list
So why do the conversion in arithmetic? This seems bizarrely inconsistent to
me:
?
print (int) 0xA + 0; // prints 0
print (int) (0xA + 0); // prints 10
?
I think it's reasonable to expect those expressions to return the same value.
On Tue, 26 Nov 2002, Andi Gutmans wrote:
On Thu, Aug 02, 2001 at 12:24:03PM -0400, George Schlossnagle
wrote:
On a related note, placing null-bytes in the middle of strings
(for example
in the names of the so-called lambda_functions generated from
create_function()) seems like a pretty questionable practice.
why, this
This sort of function should be implemented in PHP. It doesn't say good
things about a language when such trivial functionality needs to be
implemented non-natively. And it doesn't need to be:
function str_rand($len = 8, $class = 'a..zA..Z0..9')
{
if (!preg_match_all('/(.)\.\.(.)/', $class,