Home
last modified time | relevance | path

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

1234567

/PHP-8.2/ext/date/tests/
H A Dgh11281.phpt2 GH-11281 (DateTimeZone::getName() does not include seconds in offset)
6 echo $tz->getName(), "\n";
8 echo $tz->getName(), "\n";
10 echo $tz->getName(), "\n";
12 echo $tz->getName(), "\n";
14 echo $tz->getName(), "\n";
16 echo $tz->getName(), "\n";
18 echo $tz->getName(), "\n";
20 echo $tz->getName(), "\n";
22 echo $tz->getName(), "\n";
H A DDateTimeZone_getName_basic1.phpt2 Test DateTimeZone::getName() function : basic functionality
5 echo "*** Testing DateTimeZone::getName() : basic functionality ***\n";
11 var_dump( $tz1->getName() );
14 var_dump( $tz2->getName() );
17 var_dump( $tz3->getName() );
21 *** 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.phpt9 var_dump( $object->getTimeZone()->getName() );
14 var_dump( $object->getTimeZone()->getName() );
18 var_dump( $object->getTimeZone()->getName() );
/PHP-8.2/Zend/tests/attributes/
H A D011_inheritance.phpt25 print_r(array_map(fn ($a) => $a->getName(), $ref->getAttributes()));
26 print_r(array_map(fn ($a) => $a->getName(), $ref->getMethod('foo')->getAttributes()));
29 print_r(array_map(fn ($a) => $a->getName(), $ref->getAttributes()));
30 print_r(array_map(fn ($a) => $a->getName(), $ref->getMethod('foo')->getAttributes()));
33 print_r(array_map(fn ($a) => $a->getName(), $ref->getAttributes()));
34 print_r(array_map(fn ($a) => $a->getName(), $ref->getMethod('foo')->getAttributes()));
57 print_r(array_map(fn ($a) => $a->getName(), $ref->getProperty('a')->getAttributes()));
60 print_r(array_map(fn ($a) => $a->getName(), $ref->getProperty('a')->getAttributes()));
63 print_r(array_map(fn ($a) => $a->getName(), $ref->getProperty('a')->getAttributes()));
H A D006_filter.phpt14 var_dump(count($attr), $attr[0]->getName());
19 var_dump(count($attr), $attr[0]->getName(), $attr[1]->getName());
31 print_r(array_map(fn ($a) => $a->getName(), $attr));
36 print_r(array_map(fn ($a) => $a->getName(), $attr));
41 print_r(array_map(fn ($a) => $a->getName(), $attr));
46 print_r(array_map(fn ($a) => $a->getName(), $attr));
51 print_r(array_map(fn ($a) => $a->getName(), $attr));
/PHP-8.2/ext/reflection/tests/
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 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 DReflectionObject_getName_basic.phpt2 ReflectionObject::getName() - basic function test
7 var_dump($r1->getName());
12 var_dump($r2->getName());
15 var_dump($r3->getName());
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 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(), getName(), isPublic(), isPrivate(), isProtec…
12 echo "getName():\n";
13 var_dump($propInfo->getName());
53 getName():
75 getName():
97 getName():
115 getName():
H A Diterable_Reflection.phpt11 var_dump($paramType->getName());
19 var_dump($returnType->getName());
36 var_dump($iterableType->getName());
43 var_dump($nullableIterableType->getName());
50 var_dump($controlType->getName());
57 var_dump($nullableControlType->getName());
H A DReflectionClassConstant_basic1.phpt2 Test usage of ReflectionClassConstant methods __toString(), getName(), getValue(), isPublic(), isPr…
13 echo "getName():\n";
14 var_dump($constInfo->getName());
58 getName():
87 getName():
116 getName():
145 getName():
174 getName():
/PHP-8.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-8.2/Zend/tests/object_types/
H A Dreturn_type_reflection.phpt17 var_dump($returnTypeOne->isBuiltin(), $returnTypeOne->getName());
20 var_dump($returnTypeTwo->isBuiltin(), $returnTypeTwo->getName());
23 var_dump($returnTypea->isBuiltin(), $returnTypea->getName());
H A Dtype_hint_reflection.phpt17 var_dump($typeHintOne->isBuiltin(), $typeHintOne->getName());
20 var_dump($typeHintTwo->isBuiltin(), $typeHintTwo->getName());
23 var_dump($typeHinta->isBuiltin(), $typeHinta->getName());
/PHP-8.2/ext/reflection/tests/types/
H A Dmixed_type.phpt17 var_dump($object->getProperty("a")->getType()->getName());
18 var_dump($method->getParameters()[0]->getType()->getName());
19 var_dump($method->getReturnType()->getName());
/PHP-8.2/tests/lang/
H A Dbug21961.phpt20 function getName()
35 function getName()
47 return eval("return ".$who.'::getName();');

Completed in 18 milliseconds

1234567