profilerstub.php

来自「php 开发的内容管理系统」· PHP 代码 · 共 27 行

PHP
27
字号
<?php# Stub profiling functions$haveProctitle=function_exists("setproctitle");function wfProfileIn( $fn = '' ) {	global $hackwhere, $wgDBname, $haveProctitle;	if ($haveProctitle) {		$hackwhere[] = $fn;		setproctitle($fn . " [$wgDBname]");	}}function wfProfileOut( $fn = '' ) {	global $hackwhere, $wgDBname, $haveProctitle;	if (!$haveProctitle)		return;	if (count($hackwhere))		array_pop($hackwhere);	if (count($hackwhere))		setproctitle($hackwhere[count($hackwhere)-1] . " [$wgDBname]");}function wfGetProfilingOutput( $s, $e ) {}function wfProfileClose() {}function wfLogProfilingData() {}?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?