summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-04-19 12:54:17 +0000
committerWez Furlong <wez@php.net>2003-04-19 12:54:17 +0000
commitff0d6adda4baaf6559f63861687c17896ea7b55e (patch)
tree2707ffe7b775652ddcbd4f56a0e34c0368c8cdd5 /sapi/cli/php_cli.c
parentde7874e11fbaebcfb8cde13d53bc756166b7c71a (diff)
downloadphp-git-ff0d6adda4baaf6559f63861687c17896ea7b55e.tar.gz
Transparently decode binary encoded data.
Add a test-case for that process. When encoding binary data, we mark the string with \x01 as its first character. When returning data via sqlite_fetch_array(), if the first character is \x01, then we decode the encoding. This behaviour can be turned off by the optional last parameter to sqlite_fetch_array(), for compatibility with databases created with other applications.
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions