Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 25697 программистов и 854 робота. Сейчас ищут 1098 программистов ...
SAMConnection::setDebug - Turn on or off additional debugging output.
Вернуться к: SAM Функции
SAMConnection::setDebug
(PECL sam >= 1.1.0)
SAMConnection::setDebug — Turn on or off additional debugging output.
Описание
The "setdebug" method is used to turn on or off additional debugging output. The SAM framework will provide method/function entry and exit trace data plus additional information. Protocol specific implementations also provide extra output.
void SAMConnection::setDebug
( bool
$switch
)Список параметров
-
switch -
If this parameter is set to
TRUEadditional debugging output will be provided. If the value is set toFALSEoutput of additional information will be stopped.
Возвращаемые значения
Эта функция не возвращает значения после выполнения.
Примеры
Пример #1 Turn on debugging output
<?php
$conn->setdebug(TRUE);
?>
Пример #2 Turn off debugging output
<?php
$conn->setdebug(FALSE);
?>
Вернуться к: SAM Функции