For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > April 2007 > Re: [PHP-DOC] cvs: phpdoc /en/reference/misc/functions define.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DOC] cvs: phpdoc /en/reference/misc/functions define.xml
Hannes Magnusson

2007-04-27, 6:59 pm

On 4/27/07, M.Sokolewicz <tularis@php.net> wrote:
> hmm, I guess we should make a note of it. Though the __toString() method
> will only work in php 5.2.0+ (I've just tested it on 4.4.6 (which
> obviously didn't work... d'oh...) and 5.1.3 (which returned an error)).


Right. __toString() simply didn't work before PHP5.2.0 - and I think
define() didn't use __toString() untill 5.2.1 (I'll have to look it up
though, not 100% sure).

-Hannes

>
> - tul
>
> Etienne Kneuss wrote:
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com