Re: [PHP] Object Function-call handling in PHP5

2005-09-28 Thread Ondrej Ivanič
Dmitry committed a path for improved __toString() support. However, im not sure if it will be PHP6 only... I know about this patch. I think, it will be PHP6 only. -- Ondrej Ivanic ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] Object Function-call handling in PHP5

2005-09-28 Thread Ondrej Ivanič
Thorsten Suckow-Homberg wrote: In your case the __toString() method would be valuable... Beware! This bugs are related to __toString() method: 31766 Open printf and __toString 34286 Assigned __toString() behavior is inconsistent -- Ondrej Ivanič ([EMAIL PROTECTED]) -- PHP General

Re: [PHP] is_dir paths

2005-09-26 Thread Ondrej Ivanič
Mark Rees wrote: That outputs (paths trimmed) string(56) "C:\...\htdocs\lists\admin" string(61) "C:\...\htdocs\lists\admin\temp" bool(false) var_dump (realpath("../../lists/admin/temp")); this outputs the same as var_dump (realpath('temp')); > I am trying to check whether /lists/admin/t

Re: [PHP] is_dir paths

2005-09-26 Thread Ondrej Ivanič
Jochem Maas wrote: what does the following output: var_dump (getcwd()); I have better question: what does the following output: var_dump (realpath(getcwd())); var_dump (realpath('temp')); var_dump (realpath("/lists/admin/temp")); -- Ondrej Ivanic ([EMAIL PROTECTED]) -- PHP General Mailing

Re: [PHP] Intelligent "session_destroy()"

2005-09-22 Thread Ondrej Ivanič
Ken Tozier wrote: I'm writing a bunch of scripts that will all use a common session and am a bit confused about when to manually destroy sessions and/or when php automatically destroys them for me. For example: If a user starts a session, leaves their computer on and goes home for the week