Home
last modified time | relevance | path

Searched refs:getName (Results 1 – 25 of 119) sorted by relevance

12345

/PHP-7.2/ext/date/tests/
H A DDateTimeZone_getName_error.phpt2 Test DateTimeZone::getName() function : error conditions
5 /* Prototype : public string DateTimeZone::getName ( void )
16 echo "*** Testing DateTimeZone::getName() : error conditions ***\n";
18 echo "\n-- Testing DateTimeZone::getName() function with more than expected no. of arguments --\n";
20 var_dump( $tz->getName($extra_arg) );
25 *** Testing DateTimeZone::getName() : error conditions ***
27 -- Testing DateTimeZone::getName() function with more than expected no. of arguments --
29 Warning: DateTimeZone::getName() expects exactly 0 parameters, 1 given in %s on line %d
H A DDateTimeZone_getName_basic1.phpt2 Test DateTimeZone::getName() function : basic functionality
5 /* Prototype : public string DateTimeZone::getName ( void )
11 echo "*** Testing DateTimeZone::getName() : basic functionality ***\n";
17 var_dump( $tz1->getName() );
20 var_dump( $tz2->getName() );
23 var_dump( $tz3->getName() );
28 *** Testing DateTimeZone::getName() : basic functionality ***
H A D015.phpt8 var_dump($tzold->getName());
10 var_dump($tzold->getName());
11 var_dump($dto->getTimezone()->getName());
13 var_dump($tzold->getName());
H A Dbug43003.phpt8 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
11 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
14 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
17 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
20 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
H A Dbug42910.phpt9 …print $foo->format(DateTime::ISO8601) . ' - ' . $foo->getTimezone()->getName() . ' - ' . $foo->fo…
10 …print $bar->format(DateTime::ISO8601) . ' - ' . $bar->getTimezone()->getName() . ' - ' . $bar->fo…
15 …print $foo->format(DateTime::ISO8601) . ' - ' . $foo->getTimezone()->getName() . ' - ' . $foo->fo…
16 …print $bar->format(DateTime::ISO8601) . ' - ' . $bar->getTimezone()->getName() . ' - ' . $bar->fo…
H A DDateTime_getTimeZone_basic1.phpt15 var_dump( $object->getTimeZone()->getName() );
20 var_dump( $object->getTimeZone()->getName() );
24 var_dump( $object->getTimeZone()->getName() );
/PHP-7.2/ext/reflection/tests/
H A DReflectionObject_getName_error.phpt11 var_dump($r3->getName(null));
12 var_dump($r3->getName('x','y'));
13 var_dump($r3->getName(0));
16 Warning: ReflectionClass::getName() expects exactly 0 parameters, 1 given in %s on line %d
19 Warning: ReflectionClass::getName() expects exactly 0 parameters, 2 given in %s on line %d
22 Warning: ReflectionClass::getName() expects exactly 0 parameters, 1 given in %s on line %d
H A DReflectionClass_getName_error.phpt2 ReflectionClass::getName() - invalid params
8 var_dump($r1->getName('X'));
9 var_dump($r1->getName('X', true));
12 Warning: ReflectionClass::getName() expects exactly 0 parameters, 1 given in %s on line %d
15 Warning: ReflectionClass::getName() expects exactly 0 parameters, 2 given in %s on line %d
H A DReflectionMethod_basic3.phpt2 ReflectionMethod class getName(), isInternal() and isUserDefined() methods
11 var_dump($methodInfo->getName());
60 getName():
74 getName():
88 getName():
102 getName():
116 getName():
130 getName():
144 getName():
158 getName():
H A DReflectionObject_getName_basic.phpt2 ReflectionObject::getName() - basic function test
6 var_dump($r0->getName());
9 var_dump($r1->getName());
14 var_dump($r2->getName());
17 var_dump($r3->getName());
H A Dbug45139.phpt24 var_dump($rp->getDeclaringClass()->getName()); // c
28 var_dump($rp->getDeclaringClass()->getName()); // A
32 var_dump($rp->getDeclaringClass()->getName()); // B
36 var_dump($rp->getDeclaringClass()->getName()); // B
40 var_dump($rp->getDeclaringClass()->getName()); // C
44 var_dump($rp->getDeclaringClass()->getName()); // B
48 var_dump($rp->getDeclaringClass()->getName()); // C
H A DReflectionClass_getName_basic.phpt2 ReflectionClass::getName()
19 var_dump($r1->getName(), $r2->getName(), $r3->getName());
H A DReflectionNamedType.phpt2 ReflectionNamedType::getName() and ReflectionNamedType::__toString()
18 var_dump($type->getName());
20 var_dump($return->getName());
27 var_dump($type->getName());
29 var_dump($return->getName());
H A Dparameters_002.phpt80 getName: string(3) "nix"
89 getName: string(2) "ar"
98 getName: string(3) "ref"
107 getName: string(3) "std"
116 getName: string(2) "na"
125 getName: string(3) "opt"
135 getName: string(3) "def"
146 getName: string(3) "nix"
155 getName: string(2) "ar"
164 getName: string(3) "ref"
[all …]
H A Dbug38465.phpt26 …echo $method->getDeclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), '…
39 …echo $method->getDeclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), '…
H A DReflectionClass_getName_error1.phpt2 ReflectionClass::getName - forbid static invocation
5 ReflectionClass::getName();
8 Fatal error: Uncaught Error: Non-static method ReflectionClass::getName() cannot be called statical…
H A DReflectionObject_getName_error1.phpt2 ReflectionObject::getName - forbid static invocation
5 ReflectionObject::getName();
8 Fatal error: Uncaught Error: Non-static method ReflectionClass::getName() cannot be called statical…
H A Dbug39067.phpt19 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
22 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
25 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
36 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
H A DReflectionProperty_basic1.phpt2 Test usage of ReflectionProperty methods __toString(), export(), getName(), isPublic(), isPrivate()…
16 echo "getName():\n";
17 var_dump($propInfo->getName());
64 getName():
93 getName():
122 getName():
147 getName():
/PHP-7.2/ext/simplexml/tests/
H A Dbug41867.phpt2 Bug #41867 (getName is broken)
9 echo $a->getName()."\n";
10 echo $a->b->getName()."\n";
11 echo $a->b->c->getName()."\n";
/PHP-7.2/scripts/dev/generate-phpt/src/
H A DgtFunction.php30 $this->optionalArgumentNames[] = $param->getName();
32 $this->mandatoryArgumentNames[] = $param->getName();
43 public function getName() { function in gtFunction
H A DgtMethod.php37 $this->constructorArgumentNames[] = $param->getName();
54 $this->optionalArgumentNames[] = $param->getName();
56 $this->mandatoryArgumentNames[] = $param->getName();
77 public function getName() { function in gtMethod
/PHP-7.2/scripts/dev/generate-phpt/src/testcase/
H A DgtErrorTestCaseFunction.php41 …$this->testCase[] = "Test function ".$this->subject->getName()."() by calling it more than or less…
48 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
52 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtErrorTestCaseMethod.php43 … "Test class ".$this->subject->getClassName()." method ".$this->subject->getName()."() by calling …
51 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
55 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
/PHP-7.2/tests/lang/
H A Dbug21961.phpt20 function getName()
35 function getName()
47 return eval("return ".$who.'::getName();');

Completed in 21 milliseconds

12345