
---- EXPECTED OUTPUT
bool(true)
bool(true)
int(4)
bool(true)

Warning: DOMDocument::save(): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (.) in %s on line %d

Warning: DOMDocument::save(%s): failed to open stream: Operation not permitted in %s on line %d
bool(false)
---- ACTUAL OUTPUT
bool(true)
bool(true)
int(4)
bool(true)
int(28)
---- FAILED
