|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
26 + 23 = ?
Subscribe to this entry?

 [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-2023 The PHP Group
All rights reserved.
Last updated: Tue Sep 26 20:01:27 2023 UTC