Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51851 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8723 invoked from network); 9 Apr 2011 16:52:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Apr 2011 16:52:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=hermanradtke@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hermanradtke@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hermanradtke@gmail.com X-Host-Fingerprint: 209.85.215.170 mail-ey0-f170.google.com Received: from [209.85.215.170] ([209.85.215.170:33718] helo=mail-ey0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/A2-29179-4DE80AD4 for ; Sat, 09 Apr 2011 12:52:36 -0400 Received: by eyf5 with SMTP id 5so1363428eyf.29 for ; Sat, 09 Apr 2011 09:52:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=/18YIAHfQ4ZJrJfinFWvCqb8AcDaoYGbOYJSBrfM66k=; b=HsWiMXXT/hSMEMH971l69ho5w08P9dWZHldegpVlLw5kzXE5cpWn47eju9Tsv5TMcA grab+RqGzrJWVW62iSnFJRf8cyzB3hBX9ATf6elxoZl2JrE49tf687/26DuANkL6ED2E 8s/N75qQZGCpSSPfWJubO+1l1L144e3/V8rDM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=aQ+pNJqj1kZ7v8X+aqp5rWT5TAr4rMV+dTtD0C2evhjl5wmvjS7frIKdBqlXHigpvo VWtU+GDjROQ5VMoWN18E+ifgKHlRLJDrbo54mdbxEvBYMSw8qZocXu3UvcWgjjJTTbfm w6lFPrKsOh54PVD11HJneOIC408ajfF/fbtVk= MIME-Version: 1.0 Received: by 10.14.22.70 with SMTP id s46mr1567782ees.145.1302367952998; Sat, 09 Apr 2011 09:52:32 -0700 (PDT) Received: by 10.14.45.6 with HTTP; Sat, 9 Apr 2011 09:52:32 -0700 (PDT) In-Reply-To: References: Date: Sat, 9 Apr 2011 09:52:32 -0700 Message-ID: To: Gustavo Lopes Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Why does zend_call_function return SUCCESS if an exception is thrown From: hermanradtke@gmail.com (Herman Radtke) > Because what "success" means in this context is that the function could be > executed. If you see the implementation of zend_call_function, you'll notice > the conditions that return FAILURE are those where the execution of the > target function doesn't even begin. > > You can check for exceptions via EG(exception). Perfect, thank you. -- Herman Radtke hermanradtke@gmail.com | http://hermanradtke.com