MediaWiki  1.23.8
CdbPHP.php File Reference

This is a port of D.J. More...

Go to the source code of this file.

Classes

class  CdbFunctions
 Common functions for readers and writers. More...
 
class  CdbReaderPHP
 CDB reader class. More...
 
class  CdbWriterPHP
 CDB writer class. More...
 

Detailed Description

This is a port of D.J.

Bernstein's CDB to PHP. It's based on the copy that appears in PHP 5.3. Changes are:

  • Error returns replaced with exceptions
  • Exception thrown if sizes or offsets are between 2GB and 4GB
  • Some variables renamed

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file CdbPHP.php.