summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2014-07-07 14:30:28 -0700
committerSara Golemon <pollita@php.net>2014-07-07 14:30:28 -0700
commit6e9bc95f6726f4d397d6f78e778f512b92b1b54b (patch)
treecda71efa5ce34b58ce75a4c4f467c640b6ed97fd /ext
parent1a43eac259eb851341afc4fbaece700f986a8b06 (diff)
downloadphp-git-6e9bc95f6726f4d397d6f78e778f512b92b1b54b.tar.gz
Fix still broken session test. Only return true/false.
Diffstat (limited to 'ext')
-rw-r--r--ext/session/tests/session_set_save_handler_class_017.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/tests/session_set_save_handler_class_017.phpt b/ext/session/tests/session_set_save_handler_class_017.phpt
index 756dc55d03..6f42d7809a 100644
--- a/ext/session/tests/session_set_save_handler_class_017.phpt
+++ b/ext/session/tests/session_set_save_handler_class_017.phpt
@@ -38,7 +38,7 @@ class MySession2 extends SessionHandler {
}
public function write($id, $data) {
- return file_put_contents($this->path . $id, $data);
+ return (bool)file_put_contents($this->path . $id, $data);
}
public function destroy($id) {