On Wednesday 30 January 2008 20:52:40 Stanislav Malyshev wrote: > > I don't think the 'FOO' syntax is very obvious either, but I can't think > > of a better one and if there isn't a commonly known syntax we can steal > > from another language, then making up our own, no matter what it is, is > > We can steal from perl, which has exactly 'FOO' ;) > -- > Stanislav Malyshev, Zend Software Architect > [EMAIL PROTECTED] http://www.zend.com/ > (408)253-8829 MSN: [EMAIL PROTECTED]
Ruby has, too (stolen from perl ;)) [EMAIL PROTECTED]:~/programming/ruby> cat test.rb #!/usr/bin/env ruby var = "ls *.rb" puts <<"EOT" #{var} EOT puts <<EOT #{var} EOT puts <<'EOT' #{var} EOT puts <<`EOT` #{var} EOT [EMAIL PROTECTED]:~/programming/ruby> ruby test.rb ls *.rb ls *.rb #{var} test.rb Regards, Stefan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php