Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86236 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25880 invoked from network); 15 May 2015 17:41:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2015 17:41:47 -0000 Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.213.44 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.213.44 mail-yh0-f44.google.com Received: from [209.85.213.44] ([209.85.213.44:33741] helo=mail-yh0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 77/A4-02151-ADF26555 for ; Fri, 15 May 2015 13:41:47 -0400 Received: by yhcb70 with SMTP id b70so34600545yhc.0 for ; Fri, 15 May 2015 10:41:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7WDkmopico2tjxu5npc7aLGO1gkU+WjOpms3iuf4EyM=; b=DCrs3T1ur4qXcLQeNo+HK3DSvyQElGkDZFDMLpzhBilXBvKcs9CI+IQ+PRQiFPIpYI epw2WiyY8NASHOQUkKlk7xH7fil7ZJuJPpopXoSY0XHIhO78DDPiCtE1VerKKSjVj4Hc yknFZQreWEiV4nzmD2P781OJWMV53Eq6kW9KhOy3+1RC+kK+gebjXRq+upELxPNVArTy MNnRCbjQhakZOJGqX7XRWCUufWgqZxitynw2EN70eGh7F6I2vwU73uO98Du3TXb1b8BK eqClZRplG3Zx9dQFYIdI8H/Hzo9uVy8uHsnoJyAYHmHVIddQfr757IakM5AfBY6ww1Ct j71A== X-Gm-Message-State: ALoCoQmbxumxFbH7QoaXXkVT5VHBWbyz4FqZNxTqXHz6BdpQWnDXr6F1lM4yqVvtdaDIeAepamYR MIME-Version: 1.0 X-Received: by 10.236.53.130 with SMTP id g2mr10634201yhc.23.1431711703840; Fri, 15 May 2015 10:41:43 -0700 (PDT) Received: by 10.129.108.75 with HTTP; Fri, 15 May 2015 10:41:43 -0700 (PDT) X-Originating-IP: [89.242.229.174] In-Reply-To: References: Date: Fri, 15 May 2015 17:41:43 +0000 Message-ID: To: Xinchen Hui Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Bug #69640 Unhandled EngineExceptions thrown from userland do not produce any output From: danack@basereality.com (Dan Ackroyd) On 15 May 2015 at 17:12, Xinchen Hui wrote: >> How would that work when people want to write unit/integration tests >> to test the behaviour of a module when an EngineException is thrown? >> >> If you can't create a certain type of exception, it would mean that >> some code is basically untestable...which seems bad. > You can not creat it directly, but you can trigger the engine to throw one > I don't think having to do something like: eval("