Re: About SUCCESS/FAILURE
| From: | Johannes Schlüter | Date: | Wed, 24 Dec 2014 13:41:27 +0000 |
| Subject: | Re: About SUCCESS/FAILURE | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79920@lists.php.net to get a copy of this message | ||
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
If a PHP-wide thing is introduced this should be unified.
johannes