DeanWhitehouse Posted October 7, 2008 Share Posted October 7, 2008 This is no longer working in php 5, is there an alternative to it? Link to comment https://forums.phpfreaks.com/topic/127437-domxml_new_doc10-php-5-alternative/ Share on other sites More sharing options...
DeanWhitehouse Posted October 7, 2008 Author Share Posted October 7, 2008 Is there no alternative? Link to comment https://forums.phpfreaks.com/topic/127437-domxml_new_doc10-php-5-alternative/#findComment-659363 Share on other sites More sharing options...
DarkWater Posted October 7, 2008 Share Posted October 7, 2008 $dom = new DOMDocument('1.0'); Please read the manual. =/ Link to comment https://forums.phpfreaks.com/topic/127437-domxml_new_doc10-php-5-alternative/#findComment-659367 Share on other sites More sharing options...
DeanWhitehouse Posted October 7, 2008 Author Share Posted October 7, 2008 I did, i looked in the PHP 4 to PHP 5 section and under domxml_new_doc() function, couldnt see it. Link to comment https://forums.phpfreaks.com/topic/127437-domxml_new_doc10-php-5-alternative/#findComment-659369 Share on other sites More sharing options...
DarkWater Posted October 7, 2008 Share Posted October 7, 2008 It says that domxml_new_doc() returns a DOMDocument. I clicked the DOMDocument link and read the class structure, then clicked on DOMDocument::_construct to see the function syntax. =P Link to comment https://forums.phpfreaks.com/topic/127437-domxml_new_doc10-php-5-alternative/#findComment-659371 Share on other sites More sharing options...
DeanWhitehouse Posted October 7, 2008 Author Share Posted October 7, 2008 I didn't read much, more skimmed Link to comment https://forums.phpfreaks.com/topic/127437-domxml_new_doc10-php-5-alternative/#findComment-659373 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.