Re: Proposal: Introduce a new macro:php_error_docref_ex()

From: Date: Wed, 11 Feb 2015 18:35:07 +0000
Subject: Re: Proposal: Introduce a new macro:php_error_docref_ex()
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-82487@lists.php.net to get a copy of this message
Hi all, On Wed, Feb 11, 2015 at 8:15 PM, Dmitry Stogov <dmitry@zend.com> wrote: > I don't think it'll improve something, and may complicate merging from > PHP5 (this is not a big issue, because merging is already not simple). > > In any case, the names should be swapped, to be used as: > > php_error_docref(E_WARNING, "recursion detected"); > > or > > php_error_docref_ex(NULL, E_WARNING, "recursion detected"); > > > also macros with __VA_ARGS__ may be not portable, s it should be > implemented differently. It's even better. +1 Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#82487) next »