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


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

Reply via email to