diff options
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r-- | ext/standard/file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index c14a0d7f97..f8c3e98108 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -634,7 +634,8 @@ PHP_FUNCTION(file_put_contents) case IS_NULL: case IS_LONG: case IS_DOUBLE: - case IS_BOOL: + case IS_FALSE: + case IS_TRUE: convert_to_string_ex(data); case IS_STRING: |