Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100751 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36329 invoked from network); 22 Sep 2017 14:40:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Sep 2017 14:40:48 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 84.19.169.162 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 84.19.169.162 mail.experimentalworks.net Received: from [84.19.169.162] ([84.19.169.162:50030] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/8C-62331-DE025C95 for ; Fri, 22 Sep 2017 10:40:46 -0400 Received: from kuechenschabe.fritz.box (ppp-46-244-162-160.dynamic.mnet-online.de [46.244.162.160]) by mail.experimentalworks.net (Postfix) with ESMTPSA id E67516572A; Fri, 22 Sep 2017 16:40:41 +0200 (CEST) Message-ID: <1506091241.2415.7.camel@schlueters.de> To: O'Neil Delpratt , PHP internals Date: Fri, 22 Sep 2017 16:40:41 +0200 In-Reply-To: <4DE419BB-2630-44B8-B4E7-98E17BEBE749@saxonica.com> References: <4DE419BB-2630-44B8-B4E7-98E17BEBE749@saxonica.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] PHP extension - Saxon/C From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Fr, 2017-09-22 at 12:01 +0100, O'Neil Delpratt wrote: >  > [Fri Sep 22 08:56:42 2017]  Script:  '/home/ond1/work/svn/latest9.8- > saxonc/hec/samples/php/xqueryExamples.php' > /home/ond1/work/svn/latest9.8- > saxonc/hec/Saxon.C.API/php7_saxon.cpp(3250) :  Freeing  [...] > See full code of PHP extension: > > https://dev.saxonica.com/repos/archive/opensource/latest9.8/hec/Saxon > .C.API/php7_saxon.cpp > n.C.API/php7_saxon.cpp> could you point out which line  3250 is? In the linked file line 3250 refers to this line: PHP_METHOD(XdmNode, __construct) {    /* <------------------------------------ 3250 */ php_error(E_WARNING,"XdmNode constructor");     XdmNode *xdmNode = NULL; which makes little sense :-) johannes