Re: [midgard-dev] Re: [PHP-DEV] PHP4 and Midgard, was Re: [midgard- dev] PHP 4.0.0 final
| From: | Henri Bergius | Date: | Mon, 22 May 2000 20:35:37 +0000 |
| Subject: | Re: [midgard-dev] Re: [PHP-DEV] PHP4 and Midgard, was Re: [midgard- dev] PHP 4.0.0 final | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19248@lists.php.net to get a copy of this message | ||
On 22 May, Stanislav Malyshev wrote:
> Actually, PHP has <?=$variable ?>, which is almost the same. BTW, is
> &(variable); compatible with &-entities?
OK, I didn't know that. If PHP already has a similar
functionality, it shouldn't be difficult to support
our version as well, as an alternative syntax.
However, the &(variable); version has another interesting
point: the formatting modifiers. For example, if I want
the variable to be passed URLencoded, I type &(variable:u);,
or if I want to passed through the PHP parser, then
&(variable:p);
See http://www.midgard-project.org/manual/basicdevel.php.html#BASICDEVEL.PHP.SYNTAX-ADDITIONS
for more information.
> Is there a place where one can read about this (including all the details,
> if possible)? Now www.midgard-project.org (was there) but actual
> document(s)?
You'll find some material from the Midgard manual
in http://www.midgard-project.org/manual/, but
most
of the internals is still undocumented.
> Stanislav Malyshev stas@zend.com
/Bergie
--
-- Henri Bergius -- +358 40 525 1334 -- Henri.Bergius@iki.fi --
http://www.iki.fi/Henri.Bergius