1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
helper.php
См. документацию.
1
<?php
2
namespace
Bitrix\Main\Diag;
3
4
class
Helper
5
{
11
public
static
function
getCurrentMicrotime
()
12
{
13
return
microtime(
true
);
14
}
15
26
public
static
function
getBackTrace
($limit = 0,
$options
=
null
, $skip = 1)
27
{
28
if
(!defined(
"DEBUG_BACKTRACE_PROVIDE_OBJECT"
))
29
{
30
define(
"DEBUG_BACKTRACE_PROVIDE_OBJECT"
, 1);
31
}
32
33
if
(
$options
===
null
)
34
{
35
$options
= ~DEBUG_BACKTRACE_PROVIDE_OBJECT;
36
}
37
38
$trace = debug_backtrace(
$options
, ($limit > 0? $limit + $skip : 0));
39
40
if
($limit > 0)
41
{
42
return
array_slice($trace, $skip, $limit);
43
}
44
45
return
array_slice($trace, $skip);
46
}
47
}
Bitrix\Main\Diag\Helper
Определения
helper.php:5
Bitrix\Main\Diag\Helper\getCurrentMicrotime
static getCurrentMicrotime()
Определения
helper.php:11
Bitrix\Main\Diag\Helper\getBackTrace
static getBackTrace($limit=0, $options=null, $skip=1)
Определения
helper.php:26
$options
$options
Определения
commerceml2.php:49
bitrix
modules
main
lib
diag
helper.php
Создано системой
1.14.0