From 07a5e3fb9cb37efc5f618b01333bf5c47f159a24 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Wed, 25 Apr 2001 20:14:29 +0000 Subject: * Made ENT_* defines availabe to other functions. * The key/variable names in WDDX are now html escaped to not break XML. @- Fixed WDDX serialization to HTML-escape key/variable names so as not to @ break the XML packet. (Andrei) --- ext/standard/html.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/standard/html.h') diff --git a/ext/standard/html.h b/ext/standard/html.h index 442c6de435..ae0f5e8d65 100644 --- a/ext/standard/html.h +++ b/ext/standard/html.h @@ -21,6 +21,10 @@ #ifndef HTML_H #define HTML_H +#define ENT_COMPAT 1 +#define ENT_QUOTES 2 +#define ENT_NOQUOTES 4 + void register_html_constants(INIT_FUNC_ARGS); PHP_FUNCTION(htmlspecialchars); -- cgit v1.2.1