Re: DOM XML compatible PHP4 & PHP5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 12 September 2005 02:08 pm, Florent Monnier wrote:
> Hi,
>
> Is there a way to make dom xml applications compatible PHP4 and PHP5?
>
> Thanks

You can use the PHP_VERSION predefined constant or the function_exists(string)

http://us2.php.net/manual/en/function.function-exists.php

What I did was created a Document Object. right now it only works with PHP5
I might add PHP4 support to it later tho when I have more time using this 
approach unless anyone can think of a better idea.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux