Re: [Zend Engine 2] Heredoc-Syntax

From: Date: Wed, 30 Jan 2002 11:20:21 +0000
Subject: Re: [Zend Engine 2] Heredoc-Syntax
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78539@lists.php.net to get a copy of this message
On Wed, 2002-01-30 at 04:04, derick@php.net wrote: > On Wed, 30 Jan 2002, Yasuo Ohgaki wrote: > > > > therefore i wrote 'on its own line'. i suppose heredoc is handled by > > > the scanner, so this should not be a problem. > > It's handled by the scanner indeed > > > > > > > yohgaki: you were talking about reasons and mentioned only one that > > > isn't a reason for me. any other reasons ? > > > > As I mentioned, feel free to write and submit patch :) > > > > PS: You are better to search archive, there were discussion > > regarding heredoc patch. It's not directly related to > > this change, but it may help. The last patch was rejected, > > IIRC. > > It's fairly easy to patch, the question is if we want it. Andi, what's > your statement on this? I don't see why the heredoc label should be on the > first column anyways. I talked to group@php.net about this quite some time ago. IIRC, we agreed that <<- heredoc syntax was an acceptable way to handle this. The <<- syntax would work like the same way as <<- in bash. Of course, I never got around to implementing it... :) -- For technical support contracts, goto https://order.mysql.com/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Zak Greant <zak@mysql.com> / /|_/ / // /\ \/ /_/ / /__ MySQL AB /_/ /_/\_, /___/\___\_\___/ Calgary, Canada <___/ www.mysql.com

« previous php.dev (#78539) next »