Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
ZEND_TRUTH

ZEND_TRUTH

ZEND_TRUTH -- Cast a value to zend_bool

Description

#include <zend.h>

zend_bool ZEND_TRUTH ( mixed x )

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

Parameters

x

Value to cast

Return Values

1 if x was considered TRUE, else 0