|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23185 DomDocument->dump_file
Submitted: 2003-04-13 08:43 UTC Modified: 2003-08-13 04:33 UTC
From: yannl at istop dot com Assigned:
Status: No Feedback Package: DOM XML related
PHP Version: 4.3.2 OS: Linux Suse 8.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: yannl at istop dot com
New email:
PHP Version: OS:


 [2003-04-13 08:43 UTC] yannl at istop dot com
Hi, i noticed that domdocument->dump_file returns nothing when you dont
have write access with php 4.3.1

According to me,it should return  an error like fwrite does.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-18 21:26 UTC]
Please try using this CVS snapshot:
For Windows:

Works fine in latest CVS.
 [2003-04-23 23:23 UTC] yannl at istop dot com
It now returns 1 when it fails to write.
 [2003-04-23 23:35 UTC] yannl at istop dot com
Acutally sorry my bad. It still does not return anything when  falling to create / write to the file. 

This was tested on php4-STABLE-200304190330
 [2003-08-13 04:33 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 21:01:28 2024 UTC