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
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
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
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
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
5 matches
Mail list logo