array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.runkit7-zval-inspect.php', 1 => 'runkit7_zval_inspect', 2 => 'Returns information about the passed in value with data types, reference counts, etc', ), 'up' => array ( 0 => 'ref.runkit7.php', 1 => 'runkit7 İşlevleri', ), 'prev' => array ( 0 => 'function.runkit7-superglobals.php', 1 => 'runkit7_superglobals', ), 'next' => array ( 0 => 'book.uopz.php', 1 => 'uopz', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/runkit7/functions/runkit7-zval-inspect.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL runkit7 >= Unknown)
runkit7_zval_inspect — Returns information about the passed in value with data types, reference counts, etc
valueThe value to return the representation of
The array returned by this function contains the following elements:
addressrefcount (optional)is_ref (optional)type
Örnek 1 runkit7_zval_inspect() example
<?php
$var = new DateTime();
var_dump(runkit7_zval_inspect($var));
$var = 1;
var_dump(runkit7_zval_inspect($var));
?>Yukarıdaki örneğin çıktısı:
array(4) {
["address"]=>
string(14) "0x7f45ab21b1e0"
["refcount"]=>
int(2)
["is_ref"]=>
bool(false)
["type"]=>
int(8)
}
array(2) {
["address"]=>
string(14) "0x7f45ab21b1e0"
["type"]=>
int(4)
}