RE: [PHP4BETA] include file problems
| From: | Samuel Liddicott | Date: | Wed, 11 Aug 1999 13:38:48 +0000 |
| Subject: | RE: [PHP4BETA] include file problems | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3338@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: rich@mailrelay4.sni.net [mailto:rich@mailrelay4.sni.net]On Behalf
> Of rfeather
> Sent: 11 August 1999 02:35 PM
> To: Stewart Morgan
> Cc: php4beta@lists.php.net
> Subject: Re: [PHP4BETA] include file problems
>
>
> Yes, so it's equivalent to
>
> print("first thing".print("something")."next thing");
>
> Again, it's nothing major; it just seems unintuitive for it not to work...
It seems unintuitive to want to do it like that. Of course the middle print
will be executed first, it can't be any other way. Make setFont return a
value instead, its more useful like that, then it will work the intuitive
way you want.
Sam