Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70473 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4243 invoked from network); 2 Dec 2013 20:21:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2013 20:21:14 -0000 Authentication-Results: pb1.pair.com header.from=php@marc-bennewitz.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@marc-bennewitz.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain marc-bennewitz.de from 80.237.132.171 cause and error) X-PHP-List-Original-Sender: php@marc-bennewitz.de X-Host-Fingerprint: 80.237.132.171 wp164.webpack.hosteurope.de Received: from [80.237.132.171] ([80.237.132.171:48573] helo=wp164.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/64-11395-6BBEC925 for ; Mon, 02 Dec 2013 15:21:13 -0500 Received: from dslb-088-072-001-058.pools.arcor-ip.net ([88.72.1.58] helo=[192.168.178.27]); authenticated by wp164.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1VnZzP-0003Sd-Dq; Mon, 02 Dec 2013 21:21:07 +0100 Message-ID: <529CEBB1.9060805@marc-bennewitz.de> Date: Mon, 02 Dec 2013 21:21:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: PHP Internals Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;php@marc-bennewitz.de;1386015672;69800b51; Subject: Zend API comparison From: php@marc-bennewitz.de (Marc Bennewitz) 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