php.net |  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:
MUST BE VALID
Solve the problem:
1 + 2 = ?
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-18 21:26 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

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] sniper@php.net
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: Fri Apr 26 08:01:30 2024 UTC