Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22562 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89465 invoked by uid 1010); 23 Mar 2006 14:24:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89448 invoked from network); 23 Mar 2006 14:24:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2006 14:24:06 -0000 X-Host-Fingerprint: 69.56.217.178 unknown Linux 2.4/2.6 Received: from ([69.56.217.178:47879] helo=coggeshall.org) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id D2/A7-11806-58FA2244 for ; Thu, 23 Mar 2006 09:24:05 -0500 Received: from [192.168.1.234] (69-162-207-15.bflony.adelphia.net [69.162.207.15]) (authenticated bits=0) by coggeshall.org (8.12.8/8.12.8) with ESMTP id k2NDvuuV003587 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 23 Mar 2006 07:57:57 -0600 To: Markus Fischer Cc: Antony Dovgal , Jani Taskinen , Andi Gutmans , internals@lists.php.net, iliaa@php.net In-Reply-To: <442283A0.5090706@fischer.name> 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> Content-Type: text/plain Date: Thu, 23 Mar 2006 09:20:15 -0500 Message-ID: <1143123615.31424.13.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-6) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [Patch] tidy node and getParent From: john@coggeshall.org (John Coggeshall) Committed to HEAD.. I'll let the RM decide where this belongs for PHP 5.1+ before PHP 6 (5.2 probably) Sorry I misspelled your name in the commit ;) John On Thu, 2006-03-23 at 12:16 +0100, 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----- >