summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-11-30 15:06:40 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-11-30 15:06:40 +0100
commit39c59e084c8f5fc9b0ce379fbf62dbdf547e400b (patch)
tree76c28f69d342cfaeabcd45c329ba7ded7c2048aa /main/php_streams.h
parenta3d0752a0a44c3e51656cdba4bad8035175312f0 (diff)
parent24a19cc232668b5b839932a120d663b903729777 (diff)
downloadphp-git-39c59e084c8f5fc9b0ce379fbf62dbdf547e400b.tar.gz
Merge branch 'PHP-8.0'
* PHP-8.0: Suppress stream errors in mysqlnd
Diffstat (limited to 'main/php_streams.h')
-rw-r--r--main/php_streams.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index 1bd6668607..60be0a79eb 100644
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -181,6 +181,10 @@ struct _php_stream_wrapper {
#define PHP_STREAM_FLAG_NO_FCLOSE 0x80
+/* Suppress generation of PHP warnings on stream read/write errors.
+ * Currently for internal use only. */
+#define PHP_STREAM_FLAG_SUPPRESS_ERRORS 0x100
+
#define PHP_STREAM_FLAG_WAS_WRITTEN 0x80000000
struct _php_stream {