php-src/Zend/tests/typehints
Nikita Popov d659ee24ab Fix VERIFY_RETURN separation
a) The SAME_FAKE_TYPE check should always occur on the dereferenced
value, otherwise we'll end up separating large referenced arrays.
b) For by-val return with an rc=1 reference, the SEPARATE_ZVAL
wouldn't do anything. Add a ZVAL_UNREF for this case.

I don't like this fix - there must be some better way to express
this.
2015-03-24 10:51:28 +01:00
..
add_return_type.phpt Allow adding return type during inheritance 2015-03-22 18:56:14 +01:00
default_boolean_hint_values.phpt Fix default values for booleans, thanks to virtual types 2015-02-18 16:34:43 -05:00
explicit_weak_include_strict.phpt Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages 2015-03-18 15:22:21 -04:00
internal_function_strict_mode.phpt Fix severity issues with callbacks, start work porting ZEND_STRLEN opcode to work with strict mode, more refactoring to come 2015-03-19 12:26:34 -04:00
return_separation.phpt Fix VERIFY_RETURN separation 2015-03-24 10:51:28 +01:00
scalar_basic.phpt Fixed white spaces 2015-03-20 11:10:29 +03:00
scalar_constant_defaults_error.phpt Add error case with invalid type declaration default value 2015-03-18 16:53:45 -04:00
scalar_constant_defaults.phpt Add support and tests for null constant default values. Refactor complex conditionals into an extracted function for clarity and code-reuse 2015-03-19 13:51:24 -04:00
scalar_none.phpt Fixed white spaces 2015-03-20 11:10:29 +03:00
scalar_null.phpt Fixed white spaces 2015-03-20 11:10:29 +03:00
scalar_relative_typehint_disallowed.phpt Disallow relative namespace type declarations 2015-03-19 14:07:03 -04:00
scalar_reserved2_class_alias.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved2_use.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved2.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved3_class_alias.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved3_use.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved3.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved4_class_alias.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved4_use.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved4.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved6_class_alias.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved6_use.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved6.phpt Forbid scalar type hint names for use, class_alias 2015-02-10 15:48:05 +00:00
scalar_reserved7.phpt Add test to ensure namespaced code can't use scalar types as class names 2015-03-19 14:11:48 -04:00
scalar_return_basic_64bit.phpt Fixed tests 2015-03-20 17:56:32 +03:00
scalar_return_basic.phpt Changed SKIPIF messages 2015-03-20 23:19:51 +03:00
scalar_strict_64bit.phpt Fixed tests 2015-03-20 17:56:32 +03:00
scalar_strict_basic.phpt Fixed white spaces 2015-03-20 11:10:29 +03:00
scalar_strict_declaration_placement_001.phpt Improve detection of strict_types declaration being first in the file 2015-02-18 11:40:52 -05:00
scalar_strict_declaration_placement_002.phpt Improve detection of strict_types declaration being first in the file 2015-02-18 11:40:52 -05:00
scalar_strict_declaration_placement_003.phpt Improve detection of strict_types declaration being first in the file 2015-02-18 11:40:52 -05:00
scalar_strict_declaration_placement_004.phpt Improve detection of strict_types declaration being first in the file 2015-02-18 11:40:52 -05:00
scalar_strict_declaration_placement_005.phpt Improve detection of strict_types declaration being first in the file 2015-02-18 11:40:52 -05:00
scalar_strict_declaration_placement_006.phpt Refactor declare placement detection, allow encoding declares before type declares 2015-02-20 15:56:58 -05:00
scalar_strict_declaration_placement_007.phpt Skip the tests if multibyte isn't loaded to prevent them from being fragile based on encoding availability 2015-02-18 12:00:18 -05:00
scalar_strict_declaration_placement_008.phpt Refactor declare placement detection, allow encoding declares before type declares 2015-02-20 15:56:58 -05:00
scalar_strict.phpt Changed SKIPIF messages 2015-03-20 23:19:51 +03:00
scalar_weak_reference.phpt Test behaviour of weak type hints with references 2015-02-10 15:48:08 +00:00
strict_call_weak_2.inc Test strict code calling weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_call_weak_explicit_2.inc Test strict code calling weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_call_weak_explicit.phpt Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages 2015-03-18 15:22:21 -04:00
strict_call_weak.phpt Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages 2015-03-18 15:22:21 -04:00
strict_include_explicit_weak_2.inc Test strict code including weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_include_explicit_weak.phpt Test strict code including weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_include_weak_2.inc Test strict code including weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_include_weak.phpt Test strict code including weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_nested.phpt Move declare() to the top of the file only, and allow int->float generalization 2015-02-18 10:26:29 -05:00
weak_call_strict_2.inc Test strict code calling weak code and vice-versa 2015-02-10 15:48:07 +00:00
weak_call_strict.phpt Test strict code calling weak code and vice-versa 2015-02-10 15:48:07 +00:00
weak_explicit_call_strict.phpt Test strict code calling weak code and vice-versa 2015-02-10 15:48:07 +00:00
weak_include_strict_2.inc Test strict code including weak code and vice-versa 2015-02-10 15:48:07 +00:00
weak_include_strict.phpt Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages 2015-03-18 15:22:21 -04:00