PHP: ZEND_TRUTH - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ZEND_U_CONVERTER ZEND_STRS

Last updated: Sat, 27 Jan 2007

view this page in

# ZEND_TRUTH

ZEND_TRUTH -- Cast a value to zend_bool

## Описание

#include <zend.h>

zend_bool ZEND_TRUTH ( mixed x )

A simple conversion macro, actually defined as `((x) ? 1 : 0)`

## Список параметров

`x`

  Value to cast

## Возвращаемые значения

1 if `x` was considered `TRUE`, else 0

add a note User Contributed Notes
ZEND_TRUTH
There are no user contributed notes for this page.
ZEND_U_CONVERTER ZEND_STRS

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST