summaryrefslogtreecommitdiff
path: root/ext/wddx/php_wddx_api.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2008-01-20 15:33:24 +0000
committerIlia Alshanetsky <iliaa@php.net>2008-01-20 15:33:24 +0000
commit73d031a390126b012d3d0a73e7241b3aa608b973 (patch)
tree4eb3e4440478c0dcc1cc439ef69b0f2b8945cdc7 /ext/wddx/php_wddx_api.h
parent72473f52994c4c02b8a4f3f9a8b4bfb6f2973ada (diff)
downloadphp-git-73d031a390126b012d3d0a73e7241b3aa608b973.tar.gz
Optimize wddx boolean encoding
Diffstat (limited to 'ext/wddx/php_wddx_api.h')
-rw-r--r--ext/wddx/php_wddx_api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/wddx/php_wddx_api.h b/ext/wddx/php_wddx_api.h
index 6a884f7189..c639480e68 100644
--- a/ext/wddx/php_wddx_api.h
+++ b/ext/wddx/php_wddx_api.h
@@ -27,7 +27,8 @@
#define WDDX_ARRAY_E "</array>"
#define WDDX_BINARY_S "<binary>"
#define WDDX_BINARY_E "</binary>"
-#define WDDX_BOOLEAN "<boolean value='%s'/>"
+#define WDDX_BOOLEAN_TRUE "<boolean value='true'/>"
+#define WDDX_BOOLEAN_FALSE "<boolean value='false'/>"
#define WDDX_CHAR "<char code='%02X'/>"
#define WDDX_COMMENT_S "<comment>"
#define WDDX_COMMENT_E "</comment>"