note 20518 added to zend.api-macros
| From: | k at ailis dot de | Date: | Sat, 06 Apr 2002 08:33:54 +0000 |
| Subject: | note 20518 added to zend.api-macros | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28693@lists.php.net to get a copy of this message | ||
These macros can be used to access the boolean value of a zval. Yes, you can use Z_LVAL* for
booleans, too, but these macros also do a type cast to zend_bool:
Z_BVAL(zval)
Z_BVAL_P(zval)
Z_BVAL_PP(zval)
--
http://www.php.net/manual/en/zend.api-macros.php
http://master.php.net/manage/user-notes.php?action=edit+20518
http://master.php.net/manage/user-notes.php?action=delete+20518
http://master.php.net/manage/user-notes.php?action=reject+20518