On Dec 24, 2014 8:41 PM, "Johannes Schlüter" <johan...@schlueters.de> wrote:
>
> On Wed, 2014-12-24 at 05:06 +0000, Andrea Faulds wrote:
> > typedef enum _zend_success {
> >     FAILURE = 0,
> >     SUCCESS = 1
> > } zend_success;
>
> mysqlnd uses a enum for that already. See
> http://lxr.php.net/xref/PHP_TRUNK/ext/mysqlnd/mysqlnd_enum_n_def.h#139

Very good example of double definition for nothing :)

> If a PHP-wide thing is introduced this should be unified.

Indeed, see my previous reply

> johannes
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Reply via email to