Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22566 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98640 invoked by uid 1010); 23 Mar 2006 22:47:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98625 invoked from network); 23 Mar 2006 22:47:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2006 22:47:06 -0000 X-Host-Fingerprint: 84.160.230.117 p54A0E675.dip.t-dialin.net Linux 2.5 (sometimes 2.4) (4) Received: from ([84.160.230.117:55817] helo=andrey.hristov.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 84/E2-11806-86523244 for ; Thu, 23 Mar 2006 17:47:05 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) by andrey.hristov.com (Postfix) with ESMTP id 4484C1D26C; Thu, 23 Mar 2006 23:46:16 +0100 (CET) Message-ID: <44232537.7020306@hristov.com> Date: Thu, 23 Mar 2006 23:46:15 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050219 MIME-Version: 1.0 To: Andi Gutmans CC: Markus Fischer , Antony Dovgal , Jani Taskinen , John Coggeshall , 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> <442283A0.5090706@fischer.name> <7.0.1.0.2.20060323103030.04acf550@zend.com> In-Reply-To: <7.0.1.0.2.20060323103030.04acf550@zend.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [Patch] tidy node and getParent From: php@hristov.com (Andrey Hristov) Send a bottle of Stolichnaya, this could solve your issue :) Andrey Andi Gutmans wrote: > Ilia, but don't worry, he's a good looking guy :) hehe > > At 03:16 AM 3/23/2006, Markus Fischer wrote: > >> -----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----- > >