[PHP] Re: String formatting function - First char Upper, rest lower

2003-09-06 Thread Thomas Hebinck
Hi, >Does anyone know of a function or script that will capitalize the first char >and lowercase the remaining chars of each word in a string? from the documentation: $bar = ucwords(strtolower($bar)); http://de.php.net/manual/en/function.ucwords.php Bye, Thomas. -- PHP General Mailing List (

[PHP] PHP5 - self referencing classes

2003-08-28 Thread Thomas Hebinck
Hi all, I have a class which creates a new object and caches this object (see source at the bottom). The new object holds a link on the creator class. The __descructor function of both classes are never called - because the classes are destroyed (killed), when the script terminates. Is there a wa