5 May
2011
5 May
'11
9:09 a.m.
On 05/04/2011 05:56 PM, Nikolay Sivov wrote:
You don't need a separate helper for that. doparse() should do fine with "UTF-8" encoding parameter to force encoding. This is to avoid calling domdoc_loadXML() from domdoc_load(). When we need almost identical behavior from 2 separate interface functions having a common internal function they both call makes sense to me... Also will it preserve existing document or will really create empty one on error is a question. Yes, that's something we should add tests for in the future.