mirror of
https://github.com/php/php-src.git
synced 2026-03-30 12:13:02 +02:00
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.