Login   Register  
PHP Classes

File: error.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cesar D. Rodas  >  Binary serialization  >  error.php  >  Download  
File: error.php
Role: Auxiliary script
Content type: text/plain
Description: Human readable error texts
Class: Binary serialization
Serialize and unserialize values in binary format
Author: By
Last change:
Date: 5 years ago
Size: 1,830 bytes


Class file image Download
 * Copyright (c) 2009, PHPServer
 * All rights reserved.
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer in the
 *       documentation and/or other materials provided with the distribution.
 *     * Neither the name of the Cesar Rodas nor the
 *       names of its contributors may be used to endorse or promote products
 *       derived from this software without specific prior written permission.

define("STR_LEN","[Encoding error] String has an invalid length flag");
define("ARR_LEN","[Encoding error] Array has an invalid length flag");
define("OBJ_LEN","[Encoding error] Object has an invalid length flag");
define("UNKNOWN_TYPE","Don't know how to serialize/unserialize %s");