Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31604 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79534 invoked by uid 1010); 16 Aug 2007 00:05:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79514 invoked from network); 16 Aug 2007 00:05:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Aug 2007 00:05:45 -0000 Authentication-Results: pb1.pair.com header.from=gwynne@wanderingknights.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=gwynne@wanderingknights.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wanderingknights.org from 208.97.132.5 cause and error) X-PHP-List-Original-Sender: gwynne@wanderingknights.org X-Host-Fingerprint: 208.97.132.5 mailbigip.dreamhost.com Linux 2.4/2.6 Received: from [208.97.132.5] ([208.97.132.5:41248] helo=postalmail-a6.g.dreamhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 60/00-13846-7D493C64 for ; Wed, 15 Aug 2007 20:05:44 -0400 Received: from [192.168.2.192] (c-24-61-79-221.hsd1.ma.comcast.net [24.61.79.221]) by postalmail-a6.g.dreamhost.com (Postfix) with ESMTP id B30748890D; Wed, 15 Aug 2007 17:05:14 -0700 (PDT) In-Reply-To: <46C33F52.6040202@oracle.com> References: <3B3E836C-A029-4877-97EB-D935E5853C9A@wanderingknights.org> <46C33F52.6040202@oracle.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Cc: PHP Developers Mailing List Content-Transfer-Encoding: 7bit Date: Wed, 15 Aug 2007 20:05:04 -0400 To: Christopher Jones X-Mailer: Apple Mail (2.752.3) Subject: Re: [PHP-DEV] Nowdocs revised From: gwynne@wanderingknights.org (Gwynne Raskind) On Aug 15, 2007, at 2:00 PM, Christopher Jones wrote: > Did you get any further with merging this? It would help users of > the XQuery language. > > If I understand your intent, I would be able to change the code > fragment > below to use a nowdoc, and not have to escape the XQuery $i variables. > > Chris > > > > $c = oci_connect("hr", "hrpwd", "localhost/orcl"); > > $xq = << select column_value > from xmltable('for \$i in ora:view("locations") return \$i') > END; > > $s = oci_parse($c, $xq); > oci_execute($s); > while ($row = oci_fetch_row($s)) > var_dump($row); > ?> I didn't get any further, no :(. The decision of whether to merge the nowdocs patch is out of my hands now, since I don't have source karma. However, since the main thing standing in the way of its implementation was concern over the usefulness, your comment is very helpful, and I'd like to open the topic for discussion again on the list, if no one out there has any objection :) -- Gwynne, Daughter of the Code "This whole world is an asylum for the incurable."