[PHP-DEV] Re: [midgard-dev] Re: [PHP-DEV] PHP4 and Midgard, was Re: [midgard- dev] PHP 4.0.0 final From: Henri Bergius (Henri.Bergius <email protected>)
Date: 05/22/00

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 <email protected>

/Bergie

-- 
-- Henri Bergius -- +358 40 525 1334 -- Henri.Bergius <email protected> --
               http://www.iki.fi/Henri.Bergius

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>