[PHP-DEV] [Patch] Allow __sleep to return NULL

2007-11-06 Thread Andrew Minerd
I've attached a patch (both for HEAD and the PHP_5_3 branch) that allows the magic __sleep() method to return NULL to continue the normal serialization process (all members are serialized). This allows the __sleep() method to do meaningful cleanup without having to resort to Reflection overhead.

Re: [PHP-DEV] Question about Namespace patch

2007-07-24 Thread Andrew Minerd
t > clear to me yet which one. > > w/ snapshot from yesterday: [EMAIL PROTECTED] /usr/local/src/php6.0-200707232030 $ cat ./namespace3.php [EMAIL PROTECTED] /usr/local/src/php6.0-200707232030 $ ./sapi/cli/php ./namespace3.php Test Andrew Minerd Software Architect The Selling

Re: [PHP-DEV] Question about Namespace patch

2007-07-23 Thread Andrew Minerd
s could still exist, so that argument is pointless. Andrew Minerd Software Architect The Selling Source, Inc. On Mon, 23 Jul 2007 20:40:19 +0200 Markus Fischer <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Andrew, > > Andrew Minerd wrote: &

Re: [PHP-DEV] Question about Namespace patch

2007-07-23 Thread Andrew Minerd
x27;d be somewhat confusing, but, at the very least, address the proper issue. > That's only one problem with blanket imports. So. What are the others? Andrew Minerd Software Architect The Selling Source, Inc. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Question about Namespace patch

2007-07-23 Thread Andrew Minerd
anguage's responsibility ends. If there are technical reasons (i.e., compile-time name resolution, as you mentioned in passing), I think it'd be beneficial to see a discussion of those. A programming language is a tool: a hammer doesn't tell you where to put the nail. -- Andrew

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-12 Thread Andrew Minerd
utoloader alltogether.) Similarly, allowing multiple namespaces per file does not limit the developer in any way. Not allowing them does. I always thought a language should be designed to empower it's developers, not get in their way. -- Andrew Minerd Software Architect The Selling Source,

[PHP-DEV] Re: Exception thrown without a stack frame

2007-06-28 Thread Andrew Minerd
> I sometimes get the following error > >> Fatal error: Exception thrown without a stack frame in > >> Unknown on line 0 > > What does this mean? When we see these, they're typically from our custom session handler. -- Andrew Minerd Software Architect The S