Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84356 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2686 invoked from network); 5 Mar 2015 21:03:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Mar 2015 21:03:16 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rquadling@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.181 as permitted sender) X-PHP-List-Original-Sender: rquadling@gmail.com X-Host-Fingerprint: 209.85.212.181 mail-wi0-f181.google.com Received: from [209.85.212.181] ([209.85.212.181:43743] helo=mail-wi0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/EA-40418-294C8F45 for ; Thu, 05 Mar 2015 16:03:15 -0500 Received: by wibhm9 with SMTP id hm9so18343501wib.2 for ; Thu, 05 Mar 2015 13:03:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; bh=sDqi0oM1xvN8KK3lpfRn0BGhPGYfsbzqP+S24HIpH/w=; b=dLOyYkoprYkukk1tfibTpEVEQsAL1Gd1clF+8psLdwIz6jKo/gNoKTzrHENR0q6eLE vzImWH8xqu2FcKm9FJwHxG92NiMKFk7ouRu2L4zbsNcNBZ73b/9YIlhLP0h+aLnwLp0T aNyPSoQaN0PExTHQjyuijYjse3ebcJcg+Un92WRqshg84glQtk+7dIMz7HJkAhwVIc5y QLf41bwUovzC8ef8yctj7LEtdiG8p53Ki00jlzx5hhhCYgpB55yfb2Tonk/djUBt//Dc OeEjaxYiNqtGP7zEG59kgloTM4rAYNiQH/Q3LqilC3TTN0kf728+WQDzxOrFOcBqpNKU x9YQ== X-Received: by 10.194.94.164 with SMTP id dd4mr23223765wjb.56.1425589392263; Thu, 05 Mar 2015 13:03:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.27.56.20 with HTTP; Thu, 5 Mar 2015 13:02:52 -0800 (PST) Reply-To: RQuadling@gmail.com Date: Thu, 5 Mar 2015 21:02:52 +0000 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=047d7bb0410252504d051090e58f Subject: How do I detect a script failure in an extension's PHP_RSHUTDOWN_FUNCTION callback? From: rquadling@gmail.com (Richard Quadling) --047d7bb0410252504d051090e58f Content-Type: text/plain; charset=UTF-8 Hi. There is a bug report for the win32service pecl extension ( https://bugs.php.net/bug.php?id=69170). As a past contributor to this extension, I want to offer some help, even though I'm not on Windows any more (nor have access to a license). What I would like to provide is the ability to detect the nature of the scripts termination (for example, but not limited to, fatal error, unhandled exception, parse error - maybe, exit(n), etc.) Is this possible? If so, some suggestions would be nice. Thanks. Richard. -- Richard Quadling Twitter : @RQuadling --047d7bb0410252504d051090e58f--