Warning: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' (this will throw an Error in a future version of PHP) in /home/vhosts/podolsk.xp3.biz/1.php on line 1

Warning: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' (this will throw an Error in a future version of PHP) in /home/vhosts/podolsk.xp3.biz/0.php on line 1
PHP. Руководство по PHP. 2005 (создание и продвижение сайта)
создание и продвижение сайта (вбиваю в ТОП-10, как гвозди)Настройка и сопровождение платной рекламы яндекс.директ

PHP. Руководство по PHP. 2005

Booleans

Пред.

Глава 53. Creating Variables

След.

Booleans

Booleans are created just like longs, but have the

type IS_BOOL. Allowed values in

lval are 0 and 1:

zval *new_bool;

MAKE_STD_ZVAL(new_bool);

new_bool->type = IS_BOOL;

new_bool->value.lval = 1;

The corresponding macros for this type

are ZVAL_BOOL (allowing specification of the value) as well

as ZVAL_TRUE and ZVAL_FALSE (which

explicitly set the value to TRUE and FALSE,

respectively).

Пред.

Начало

След.

Strings

Уровень выше

Arrays

Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.

Ваше письмо×
Free Web Hosting