Arquivos
hhvm/hphp/test/quick/debugger/info1.php.expectf
T
Herman Venter 7b75527b3d Replicate debugger info tests in test/quick/debugger
Ongoing migration of tests to the new infrastructure. The old tests stay in place until we have another way to test the client API.
2013-06-27 10:38:22 -07:00

48 linhas
942 B
Plaintext

Program %s/info1.php loaded. Type '[r]un' or '[c]ontinue' to go.
%S@
info array_key_exists
/**
* ( excerpt from http://php.net/manual/en/function.array_key_exists.php )
* array_key_exists() returns TRUE if the given key is set in the array. key can be any value possible for an array index.
*
* @key mixed Value to check.
* @search mixed An array with keys to check.
*
* @return bool Returns TRUE on success or FALSE on failure.
*/
function array_key_exists($key, $search);
info stdClass
// defined on line %d to %d of %s/systemlib.php
class stdClass {
}
run
Program %s/info1.php exited normally.
@
info myfunc
// defined on line 3 to 5 of %s/info1.php
function myfunc($a, $b);
info MyClass
// defined on line 7 to 11 of %s/info1.php
class MyClass {
// properties
public $pub;
protected $pro;
private $pri;
}
info MyClass::pub
public $pub;
info MyClass::pro
protected $pro;
info MyClass::pri
private $pri;
quit