Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 15533 программиста и 1666 роботов. Сейчас ищут 965 программистов ...
Cache_Lite::raiseError
Вернуться к: Cache_Lite
Cache_Lite::raiseError
Cache_Lite::raiseError() – Trigger a PEAR error
Synopsis
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.
Parameter
- string $msg
-
error message
- integer $code
-
error code
Note
This function can not be called statically.
Вернуться к: Cache_Lite