/PHP-7.1/ext/date/tests/ |
H A D | DateTimeZone_getName_error.phpt | 2 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 D | DateTimeZone_getName_basic1.phpt | 2 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 D | 015.phpt | 8 var_dump($tzold->getName()); 10 var_dump($tzold->getName()); 11 var_dump($dto->getTimezone()->getName()); 13 var_dump($tzold->getName());
|
H A D | bug43003.phpt | 8 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 D | bug42910.phpt | 9 …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 D | DateTime_getTimeZone_basic1.phpt | 15 var_dump( $object->getTimeZone()->getName() ); 20 var_dump( $object->getTimeZone()->getName() ); 24 var_dump( $object->getTimeZone()->getName() );
|
/PHP-7.1/ext/reflection/tests/ |
H A D | ReflectionObject_getName_error.phpt | 11 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 D | ReflectionClass_getName_error.phpt | 2 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 D | ReflectionMethod_basic3.phpt | 2 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 D | ReflectionObject_getName_basic.phpt | 2 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 D | bug45139.phpt | 24 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 D | ReflectionClass_getName_basic.phpt | 2 ReflectionClass::getName() 19 var_dump($r1->getName(), $r2->getName(), $r3->getName());
|
H A D | ReflectionNamedType.phpt | 2 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 D | parameters_002.phpt | 80 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 D | bug38465.phpt | 26 …echo $method->getDeclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), '… 39 …echo $method->getDeclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), '…
|
H A D | ReflectionClass_getName_error1.phpt | 2 ReflectionClass::getName - forbid static invocation 5 ReflectionClass::getName(); 8 Fatal error: Uncaught Error: Non-static method ReflectionClass::getName() cannot be called statical…
|
H A D | ReflectionObject_getName_error1.phpt | 2 ReflectionObject::getName - forbid static invocation 5 ReflectionObject::getName(); 8 Fatal error: Uncaught Error: Non-static method ReflectionClass::getName() cannot be called statical…
|
H A D | bug39067.phpt | 19 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 D | ReflectionProperty_basic1.phpt | 2 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.1/ext/simplexml/tests/ |
H A D | bug41867.phpt | 2 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.1/scripts/dev/generate-phpt/src/ |
H A D | gtFunction.php | 30 $this->optionalArgumentNames[] = $param->getName(); 32 $this->mandatoryArgumentNames[] = $param->getName(); 43 public function getName() { function in gtFunction
|
H A D | gtMethod.php | 37 $this->constructorArgumentNames[] = $param->getName(); 54 $this->optionalArgumentNames[] = $param->getName(); 56 $this->mandatoryArgumentNames[] = $param->getName(); 77 public function getName() { function in gtMethod
|
/PHP-7.1/scripts/dev/generate-phpt/src/testcase/ |
H A D | gtErrorTestCaseFunction.php | 41 …$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 D | gtErrorTestCaseMethod.php | 43 … "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.1/tests/lang/ |
H A D | bug21961.phpt | 22 function getName() 37 function getName() 49 return eval("return ".$who.'::getName();');
|