Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22561 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10382 invoked by uid 1010); 23 Mar 2006 11:16:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 10367 invoked from network); 23 Mar 2006 11:16:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2006 11:16:58 -0000 X-Host-Fingerprint: 213.46.255.14 viefep14-int.chello.at Solaris 8 (1) Received: from ([213.46.255.14:14817] helo=viefep18-int.chello.at) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DD/DD-11806-8A382244 for ; Thu, 23 Mar 2006 06:16:56 -0500 Received: from genuine ([80.108.128.16]) by viefep18-int.chello.at (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20060323111651.KUA270.viefep18-int.chello.at@genuine>; Thu, 23 Mar 2006 12:16:51 +0100 Received: from [213.164.23.137] (helo=[10.15.10.15]) by genuine with esmtpa (Exim 4.50) id 1FMNmY-0003t3-4f; Thu, 23 Mar 2006 12:15:13 +0100 Message-ID: <442283A0.5090706@fischer.name> Date: Thu, 23 Mar 2006 12:16:48 +0100 User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Markus Fischer CC: Antony Dovgal , 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> <43D789A5.6060402@fischer.name> In-Reply-To: <43D789A5.6060402@fischer.name> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, okay, so with whom I've to sleep to get this patch in? :) [...] 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) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, okay, so with whom I've to sleep to get this patch in? :) cheers, - - Markus Markus Fischer wrote: > 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 > > > ------------------------------------------------------------------------ > > --TEST-- > Test getParent() > --SKIPIF-- > > --FILE-- > $x = tidy_parse_string("
Content
"); > var_dump($x->body()->child[0]->getParent()->name); > ?> > --EXPECT-- > string(4) "body" > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEIoOg1nS0RcInK9ARAiQoAKCTDFX2S96rE9jj8dfplaaSWBbZDQCbBEwU xkG9JkMubeZN33BCrWh/Deg= =1niF -----END PGP SIGNATURE-----