colap Posted July 5, 2011 Share Posted July 5, 2011 $this->val = $xmldoc->dump_mem(true, "ISO-8859-1"); What's the equivalent function of dump_mem in php5? Quote Link to comment https://forums.phpfreaks.com/topic/241116-is-there-any-equivalent-function-of-dump_mem-in-php5/ Share on other sites More sharing options...
trq Posted July 5, 2011 Share Posted July 5, 2011 What exactly is the $xmldoc object? Quote Link to comment https://forums.phpfreaks.com/topic/241116-is-there-any-equivalent-function-of-dump_mem-in-php5/#findComment-1238464 Share on other sites More sharing options...
TeNDoLLA Posted July 5, 2011 Share Posted July 5, 2011 Think it is this http://php.net/manual/en/function.domdocument-dump-mem.php but I got no idea what and why there would be an equivalent in php for this. This is php? Quote Link to comment https://forums.phpfreaks.com/topic/241116-is-there-any-equivalent-function-of-dump_mem-in-php5/#findComment-1238465 Share on other sites More sharing options...
colap Posted July 5, 2011 Author Share Posted July 5, 2011 What exactly is the $xmldoc object? $xmldoc= domxml_new_doc("1.0"); Quote Link to comment https://forums.phpfreaks.com/topic/241116-is-there-any-equivalent-function-of-dump_mem-in-php5/#findComment-1238475 Share on other sites More sharing options...
salathe Posted July 5, 2011 Share Posted July 5, 2011 The "equivalent function" will vary depending on which XML-related classes/functions you want to use in place of the PHP 4 DOMXML. You will have to change far more than that one line of code. Options include: DOM SimpleXML XMLWriter Quote Link to comment https://forums.phpfreaks.com/topic/241116-is-there-any-equivalent-function-of-dump_mem-in-php5/#findComment-1238483 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.