PHP debug_zval_dump() 函数
PHP 教程
· 2019-01-31 14:26:37
debug_zval_dump 函数用于查看一个变量在zend引擎中的引用计数、类型信息。
版本要求:PHP 4 >= 4.2.0, PHP 5, PHP 7
语法
void debug_zval_dump ( mixed $variable [, mixed $... ] )
参数说明:
- $variable:要查看的变量。
返回值
没有返回值。
实例
实例
$a = 'codercto';
debug_zval_dump($a);
// 多个参数
$b = 'google';
debug_zval_dump($a, $b);
执行结果如下所示:
string(6) "codercto" refcount(1) string(6) "codercto" refcount(1) string(6) "google" refcount(1)
点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html
Bad Blood
John Carreyrou / Knopf / 2018-5-21 / USD 27.95
The full inside story of the breathtaking rise and shocking collapse of Theranos, the multibillion-dollar biotech startup, by the prize-winning journalist who first broke the story and pursued it to t......一起来看看 《Bad Blood》 这本书的介绍吧!