Hazaar\File::write() seems to do nothing! #107

Closed
opened 2017-11-22 03:51:22 +00:00 by jamie · 5 comments
jamie commented 2017-11-22 03:51:22 +00:00 (Migrated from git.hazaar.io)

I think this is because fwrite is one of those PHP functions that that doesn't have a default argument value. So if the argument it sent, even if it is NULL, it gets used. The only way to deal with these ones is to check the wrapper functions arguments and if the argument is NULL call the function one way and if it is not null, call it another.

I think this is because fwrite is one of those PHP functions that that doesn't have a default argument value. So if the argument it sent, even if it is NULL, it gets used. The only way to deal with these ones is to check the wrapper functions arguments and if the argument is NULL call the function one way and if it is not null, call it another.
jamie commented 2017-11-22 03:51:25 +00:00 (Migrated from git.hazaar.io)
created branch [`107-hazaar-file-write-seems-to-do-nothing`](https://git.hazaarlabs.com/hazaar/hazaar-mvc/compare/master...107-hazaar-file-write-seems-to-do-nothing)
jamie commented 2017-11-22 03:51:29 +00:00 (Migrated from git.hazaar.io)

mentioned in merge request !22

mentioned in merge request !22
jamie commented 2017-11-22 04:05:49 +00:00 (Migrated from git.hazaar.io)

closed via commit 3c74320b91

closed via commit 3c74320b91ee249d2c98dd1eafb8257e57aaefed
jamie commented 2017-11-22 04:05:51 +00:00 (Migrated from git.hazaar.io)

closed via merge request !22

closed via merge request !22
jamie commented 2018-06-29 02:25:35 +00:00 (Migrated from git.hazaar.io)

changed milestone to %4

changed milestone to %4
jamie self-assigned this 2025-09-04 01:15:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/framework#107
No description provided.