Zend API comparison
| From: | Marc Bennewitz | Date: | Mon, 02 Dec 2013 20:21:05 +0000 |
| Subject: | Zend API comparison | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-70473@lists.php.net to get a copy of this message | ||
Hi internals,
I'm currently experimenting with simple type comparison but I'm not very
familiar with the zend api.
I thought it would be enough to manipulate the compare functions of
"Zend/zend_operators.c" but I ran into two issues:
1. Can't find out how ">" / ">=" will be handled
2. I ran into a straight behavior if a FAILURE will be returned. I
thought it means no comparable - all expect of "!=" the result will be
FALSE.
3. It looks like on comparing resources the function "compare_function"
will be called without any of the "is_[not]_equal_function"
It would be very great if someone could help me out a little bit.
I'm new to the list so if this isn't the right list to ask please direct
me to the right list.
Greetings
Marc