Home
last modified time | relevance | path

Searched refs:instance (Results 51 – 75 of 764) sorted by relevance

12345678910>>...31

/PHP-7.2/tests/lang/
H A Dcatchable_error_002.phpt28 Argument 1 passed to blah() must be an instance of Foo, instance of stdClass given, called in %scat…
H A Dtype_hints_001.phpt23 …ught TypeError: Argument 1 passed to type_hint_foo() must be an instance of Foo, instance of Bar g…
H A Dcatchable_error_001.phpt22 Fatal error: Uncaught TypeError: Argument 1 passed to blah() must be an instance of Foo, instance o…
/PHP-7.2/ext/reflection/tests/
H A Dbug72174.phpt28 $instance = new Foo();
31 var_dump($reflectionBar->getValue($instance));
H A DReflectionObject_isInstance_error.phpt6 $instance = new X;
10 var_dump($ro->isInstance($instance, $instance));
H A DReflectionClass_isInstance_error.phpt8 $instance = new X;
11 var_dump($rc->isInstance($instance, $instance));
/PHP-7.2/ext/intl/tests/
H A Dcalendar_isEquivalentTo_error.phpt52 error: 0, Argument 1 passed to IntlCalendar::isEquivalentTo() must be an instance of IntlCalendar, …
57 error: 0, Argument 1 passed to IntlCalendar::isEquivalentTo() must be an instance of IntlCalendar, …
62 error: 0, Argument 2 passed to intlcal_is_equivalent_to() must be an instance of IntlCalendar, inte…
64 error: 0, Argument 1 passed to intlcal_is_equivalent_to() must be an instance of IntlCalendar, inte…
/PHP-7.2/tests/classes/
H A Dconstants_basic_004.phpt7 // Static and instance array using class constants
17 // Static and instance array using class constants with self
24 // Static and instance array using class constants with parent
28 // Static and instance array using class constants with self (constants should be inherited)
H A Dtype_hinting_002.phpt14 …ncaught TypeError: Argument 1 passed to Foo::a() must be an instance of NonExisting, instance of F…
H A Dautoload_009.phpt16 …or: Uncaught TypeError: Argument 1 passed to f() must be an instance of UndefClass, instance of st…
H A Dconstants_basic_002.phpt13 echo "\nFail to read class constant from instance.\n";
24 Fail to read class constant from instance.
/PHP-7.2/Zend/tests/return_types/
H A D005.phpt16 Fatal error: Uncaught TypeError: Return value of qux::foo() must be an instance of foo, instance of…
/PHP-7.2/ext/standard/tests/class_object/
H A Dget_class_methods_basic_001.phpt6 * Description: Returns an array of method names for class or class instance.
25 echo "Argument is class instance:\n";
49 Argument is class instance:
H A Dget_declared_traits_variation1.phpt18 echo "\n-- before instance is declared --\n";
35 -- before instance is declared --
/PHP-7.2/ext/standard/tests/array/
H A Darray_multisort_variation9.phpt30 'instance of classWithToString' => new classWithToString(),
31 'instance of classWithoutToString' => new classWithoutToString(),
69 ["instance of classWithToString"]=>
72 ["instance of classWithoutToString"]=>
/PHP-7.2/ext/spl/tests/
H A DarrayObject___construct_basic2.phpt13 echo "--> Access prop on instance of ArrayObject:\n";
18 echo "\n--> Access prop on instance of MyArrayObject:\n";
50 --> Access prop on instance of ArrayObject:
78 --> Access prop on instance of MyArrayObject:
H A DarrayObject___construct_basic3.phpt13 echo "\n--> Access prop on instance of ArrayObject with ArrayObject::STD_PROP_LIST:\n";
18 echo "\n--> Access prop on instance of MyArrayObject with ArrayObject::STD_PROP_LIST:\n";
50 --> Access prop on instance of ArrayObject with ArrayObject::STD_PROP_LIST:
78 --> Access prop on instance of MyArrayObject with ArrayObject::STD_PROP_LIST:
/PHP-7.2/ext/date/tests/
H A DDateTimeZone_extends_basic1.phpt19 echo "\n-- Create an instance of DateTimeZoneExt --\n";
30 -- Create an instance of DateTimeZoneExt --
/PHP-7.2/Zend/tests/
H A Dbug39003.phpt23 …ncaught TypeError: Argument 1 passed to test() must be an instance of OtherClassName, instance of …
H A Dbug43332_1.phpt15 …ypeError: Argument 1 passed to foobar\foo::bar() must be an instance of foobar\foo, instance of st…
H A Dbug32596.phpt7 static function instance() {return new BUG();}
20 BUG::instance()->error;
/PHP-7.2/ext/standard/tests/general_functions/
H A Dgetservbyname_variation13.phpt24 'instance of classWithToString' => new classWithToString(),
25 'instance of classWithoutToString' => new classWithoutToString(),
H A Dgetservbyname_variation6.phpt24 'instance of classWithToString' => new classWithToString(),
25 'instance of classWithoutToString' => new classWithoutToString(),
H A Dget_cfg_var_variation6.phpt30 'instance of classWithToString' => new classWithToString(),
31 'instance of classWithoutToString' => new classWithoutToString(),
/PHP-7.2/ext/opcache/tests/
H A Dssa_bug_003.phpt40 Error: Return value of test2() must be an instance of Foo, instance of stdClass returned

Completed in 33 milliseconds

12345678910>>...31