Home
last modified time | relevance | path

Searched refs:get_class (Results 1 – 25 of 146) sorted by relevance

123456

/PHP-5.5/ext/standard/tests/class_object/
H A Dget_class_error_001.phpt2 Test get_class() function : error conditions - wrong number of arguments.
5 /* Prototype : proto string get_class([object object])
11 echo "*** Testing get_class() : error conditions ***\n";
13 //Test get_class with one more than the expected number of arguments
14 echo "\n-- Testing get_class() function with more than expected no. of arguments --\n";
17 var_dump( get_class($object, $extra_arg) );
22 *** Testing get_class() : error conditions ***
24 -- Testing get_class() function with more than expected no. of arguments --
26 Warning: get_class() expects at most 1 parameter, 2 given in %s on line 14
H A Dget_class_variation_001.phpt2 Test get_class() function : usage variations - passing unexpected types.
5 /* Prototype : proto string get_class([object object])
11 echo "*** Testing get_class() : usage variations ***\n";
71 var_dump( get_class($value) );
77 *** Testing get_class() : usage variations ***
85 Warning: get_class() expects parameter 1 to be object, integer given in %sget_class_variation_001.p…
105 Warning: get_class() expects parameter 1 to be object, double given in %sget_class_variation_001.ph…
155 Warning: get_class() called without object from outside a class in %sget_class_variation_001.php on…
160 Warning: get_class() called without object from outside a class in %sget_class_variation_001.php on…
205 Warning: get_class() called without object from outside a class in %sget_class_variation_001.php on…
[all …]
H A Dget_class_variation_002.phpt2 Test get_class() function : usage variations - ensure class name case is preserved.
5 /* Prototype : proto string get_class([object object])
12 var_dump(get_class(new casesensitivitytest));
/PHP-5.5/Zend/tests/
H A Dlsb_005.phpt8 echo get_class(new static()) . "\n";
10 echo get_class(new static()) . "\n";
12 echo get_class(new static()) . "\n";
14 echo get_class(new static()) . "\n";
20 echo get_class(new static()) . "\n";
22 echo get_class(new static()) . "\n";
28 echo get_class(new static()) . "\n";
H A D009.phpt2 get_class() tests
8 var_dump(get_class());
24 var_dump(get_class());
25 var_dump(get_class("qwerty"));
27 var_dump(get_class($f1));
28 var_dump(get_class($f2));
41 Warning: get_class() called without object from outside a class in %s on line %d
44 Warning: get_class() expects parameter 1 to be object, string given in %s on line %d
H A Dns_060.phpt10 echo get_class($a)."\n";
11 echo get_class($b)."\n";
16 echo get_class($a)."\n";
17 echo get_class($b)."\n";
H A Dbug32596.phpt11 $c=get_class($this); unset($c);
12 echo get_class($this) ."\n";
14 $c=get_class($this); //memory leak only
H A Dns_062.phpt8 echo get_class(new stdClass)."\n";
9 echo get_class(new A)."\n";
H A Dexception_handler_005.phpt10 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!");
14 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!");
H A Dexception_handler_006.phpt12 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!");
16 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!");
H A Dclass_alias_017.phpt2 Testing alias with get_called_class() and get_class()
11 echo get_class(), "\n";
H A Dlsb_003.phpt17 echo get_class($testClass) . "\n";
18 echo get_class($childClass) . "\n";
H A Dbug46246.phpt9 echo 'Hello from '.get_class($this)."\n";
24 echo 'Overridden hello from '.get_class($this)."\n";
/PHP-5.5/ext/spl/tests/
H A DSplFileInfo_setInfoClass_basic.phpt11 echo get_class($info->getFileInfo()), "\n";
12 echo get_class($info->getPathInfo()), "\n";
15 echo get_class($info->getFileInfo()), "\n";
16 echo get_class($info->getPathInfo()), "\n";
H A DSplFileInfo_setFileClass_basic.phpt11 echo get_class($info->openFile()), "\n";
14 echo get_class($info->openFile()), "\n";
H A Drecursiveiteratoriterator_getsubiterator_variation.phpt14 var_dump(get_class($iterator->getSubIterator()));
17 var_dump(get_class($iterator->getSubIterator()));
H A Dbug54971.phpt24 print_r(array_map('get_class', iterator_to_array($items, false)));
25 print_r(array_map('get_class', iterator_to_array($items, true)));
/PHP-5.5/ext/intl/tests/
H A Dbreakiter_clone_basic.phpt13 var_dump(get_class($bi), get_class($bi_clone));
18 var_dump(get_class($bi), get_class($bi_clone));
H A Dtimezone_createEnumeration_basic.phpt11 var_dump(get_class($tz));
16 var_dump(get_class($tz));
H A Dbreakiter_getPartsIterator_basic.phpt14 var_dump(get_class($pi));
19 var_dump(get_class($pi->getBreakIterator()));
/PHP-5.5/ext/dom/tests/
H A Dregsiter_node_class.phpt21 echo get_class($root), "\n";
24 echo get_class($attr), "\n";
29 echo get_class($attr), "\n";
/PHP-5.5/ext/pdo/tests/
H A Dpdo_026.phpt56 var_dump(get_class($db));
61 var_dump(get_class($stmt));
69 var_dump(get_class($stmt));
70 var_dump(get_class($stmt->dbh));
H A Dpdo_029.phpt62 var_dump(get_class($db));
67 var_dump(get_class($stmt));
77 var_dump(get_class($stmt));
78 var_dump(get_class($stmt->dbh));
H A Dpdo_030.phpt60 var_dump(get_class($db));
65 var_dump(get_class($stmt));
78 var_dump(get_class($stmt));
79 var_dump(get_class($stmt->dbh));
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_init.phpt16 if (is_object($link) && 'mysqli' != get_class($link))
17 printf("[002] Expecting object of type mysqli got object of type %s\n", get_class($link));

Completed in 27 milliseconds

123456