[PHP] Re: wierd function behavior within classes.. Bug?

2002-01-24 Thread Mike Eheler
PHP doesn't support that. Dunno if it plans to, either. There are workarounds.. can't remember exactly how it's done, but I think I saw it on phpbuilder.com in a tutorial somewhere. Mike Marc Swanson wrote: I'm not sure if this is a known feature in php.. but the following code will

[PHP] Re: wierd function behavior within classes.. Bug?

2002-01-24 Thread Mike Frazer
Remember, You *can* make certain values in a function optional. Place them on the right side of the arg list and give them a default value, like: function myFunction(arg1, arg2, arg3 = foo, arg4 = bar) { ... function guts ... } Hope that helps. Mike Frazer Mike Eheler [EMAIL PROTECTED]