Re: About SUCCESS/FAILURE

From: Date: Wed, 24 Dec 2014 15:39:00 +0000
Subject: Re: About SUCCESS/FAILURE
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-79921@lists.php.net to get a copy of this message
On Dec 24, 2014 8:41 PM, "Johannes Schlüter" <johannes@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 >

« previous php.internals (#79921) next »