I wish to fawk there was a PHP mailing list.
-----Original Message-----
From: ilug-bounces at linux.ie [mailto:ilug-bounces at linux.ie] On Behalf Of John
P. Looney
Sent: 20 January 2004 08:41
To: ILUG (Request)
Subject: Re: [ILUG] PHP/mysql content management system
On Mon, Jan 19, 2004 at 05:22:11PM +0000, Dave O Connor mentioned:
> In my experience, perl is a lot easier to modularise, a lot clearer for
some
> things (i.e. calling $object->munge() instead of
> doCertainProccessPHPHooray($object)).
Er, you can do $object->munge() in PHP, if you write the class etc.
That said, I love it's class definitions. You can just make a class with
a nice strict class definition...and later it'll accept any typos and the
like in your code:
class service {
var $name;
var $host;
var $port;
}
$object=new service;
$object->name="eric";
$object->host="localhost";
$object->poooort="29";
and it'll work with no warnings. Wonderful. Anyone know if this will be
fixed in PHP5 ?
John
--
Irish Linux Users' Group
http://www.linux.ie/mailman/listinfo/ilug/
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!