diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2008-01-20 15:33:24 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2008-01-20 15:33:24 +0000 |
commit | 73d031a390126b012d3d0a73e7241b3aa608b973 (patch) | |
tree | 4eb3e4440478c0dcc1cc439ef69b0f2b8945cdc7 /ext/wddx/php_wddx_api.h | |
parent | 72473f52994c4c02b8a4f3f9a8b4bfb6f2973ada (diff) | |
download | php-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.h | 3 |
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>" |