Cache_Lite::raiseError() – Trigger a PEAR error


require_once 'Cache/Lite.php';

void Cache_Lite::raiseError ( string $msg , int $code )


include dynamically the PEAR.php file and trigger a PEAR error

To improve performances, the PEAR.php file is included dynamically. The file is so included only when an error is triggered. So, in most cases, the file isn't included and perfs are much better.


string $msg

error message

integer $code

error code


This function can not be called statically.

Return the cache last modification time (Previous) Extend the life of a valid cache file (Next)
Last updated: Sun, 19 Dec 2010 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.