[PHP-DEV] Trouble with zend_language_parser.y

2012-04-25 Thread Clint Priest
I'm having some trouble setting up the re2c to allow the isset/unset. Here are the definitions, I've added the two T_ISSET statements: accessors: accessor_function accesso

[PHP-DEV] ob_start callback not fired with ob_get_clean()

2012-04-25 Thread Dmitri Snytkine
I am wondering why the call to ob_get_clean and ob_get_contents does not trigger the callback function registered with ob_start('mycallback') I don't want to dump buffer to the browser but instead need to just store results in a variable, thus using ob_get_clean() but why it's my callback being ex

Re: [PHP-DEV] Re: internals Digest 24 Apr 2012 22:20:08 -0000 Issue 2675

2012-04-25 Thread Gustavo Lopes
On Wed, 25 Apr 2012 16:17:10 +0200, Rasmus Schultz wrote: On Tue, Apr 24, 2012 at 10:10 PM, Anthony Ferrara wrote: Well, it's redundant for a single class. It's not redundant with inheritance. Otherwise a child class could define a writer for that property, which may be undesirable... Th

Re: [PHP-DEV] Re: internals Digest 24 Apr 2012 22:20:08 -0000 Issue 2675

2012-04-25 Thread Rasmus Schultz
On Tue, Apr 24, 2012 at 10:10 PM, Anthony Ferrara wrote: > There's already an __isset() magic method that does exactly this: > http://us2.php.net/manual/en/language.oop5.overloading.php#object.isset I know. In my opinion, that was a mistake, and if I catch anyone on my team using that, I will ha