tekrat

PHP Mysql Types

This patch provides additional mysql_t_* functions that mirror existing PHP mysql functions but that have return values cast to their corresponding mysql database types. (ie: integer, etc). This is useful for decreasing memory storage requirements for serialized data when inserting into APC or Memcache for example (this would require a binary serialization rather than the string serialization in native PHP). Please read the patch for notes on usage, and beware that I’m not liable for any corruption this could cause with your data.

Download: php_mysql_t.patch (Facebook mirror)


Leave a reply