Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21683 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62284 invoked by uid 1010); 25 Jan 2006 14:22:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62269 invoked from network); 25 Jan 2006 14:22:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2006 14:22:43 -0000 X-Host-Fingerprint: 213.46.255.27 viefep11-int.chello.at Solaris 8 (1) Received: from ([213.46.255.27:16821] helo=viefep19-int.chello.at) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A1/3F-06819-1B987D34 for ; Wed, 25 Jan 2006 09:22:42 -0500 Received: from genuine ([80.108.128.16]) by viefep19-int.chello.at (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20060125142238.GWFY834.viefep19-int.chello.at@genuine>; Wed, 25 Jan 2006 15:22:38 +0100 Received: from [213.164.23.137] (helo=[10.15.10.17]) by genuine with esmtpa (Exim 4.50) id 1F1lXJ-0008Dy-0S; Wed, 25 Jan 2006 15:22:17 +0100 Message-ID: <43D789A5.6060402@fischer.name> Date: Wed, 25 Jan 2006 15:22:29 +0100 User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Antony Dovgal CC: Jani Taskinen , John Coggeshall , Andi Gutmans , internals@lists.php.net, iliaa@php.net References: <42D78B4A.7080208@fischer.name> <42D78B4A.7080208@fischer.name> <5.1.0.14.2.20050715120049.02739670@localhost> <431602E7.5050500@fischer.name> <43A00874.8000706@fischer.name> <43D77A82.7030901@fischer.name> <43D77CDE.3060602@zend.com> In-Reply-To: <43D77CDE.3060602@zend.com> Content-Type: multipart/mixed; boundary="------------080705030207000601050000" X-Spam-Score: 0 X-Spam-Level: / X-Spam-Report: Spam detection software, running on the system "genuine", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, Antony Dovgal wrote: > On 25.01.2006 16:17, Markus Fischer wrote: >> the patch is in the bug report ( http://bugs.php.net/bug.php?id=34023 >> ) or do you meant something else? > > Jani meant that it would be better to put this patch as a downloadable > file (applying copy-pasted patches causes some problems with > tabs/whitespaces). [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- Subject: Re: [PHP-DEV] [Patch] tidy node and getParent From: markus@fischer.name (Markus Fischer) --------------080705030207000601050000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Antony Dovgal wrote: > On 25.01.2006 16:17, Markus Fischer wrote: >> the patch is in the bug report ( http://bugs.php.net/bug.php?id=34023 >> ) or do you meant something else? > > Jani meant that it would be better to put this patch as a downloadable > file (applying copy-pasted patches causes some problems with > tabs/whitespaces). As written in the other email, the path is online at http://www.zend.com/zend/week/pat/pat52.txt . > Also, some .phpt tests testing new method would be great. Thanks, I've attached a simple test to this email. - Markus --------------080705030207000601050000 Content-Type: text/plain; name="tidy_019.phpt.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="tidy_019.phpt.txt" --TEST-- Test getParent() --SKIPIF-- --FILE--
Content
"); var_dump($x->body()->child[0]->getParent()->name); ?> --EXPECT-- string(4) "body" --------------080705030207000601050000--