SearchThe type systemEverything is a Type, Class types, Hierarchy, Primitives, Wrapper types. Type-safe enumerationsFurther reading. Type duplication in xpcli injections. RFC #0148: Bytes typefriebe Scope of Change
A new type wrapper class lang.types.Bytes will be added. RFC #0100: IllegalArgumentException for Type hintsfriebe Scope of Change
Methods declared with type hints will throw an IllegalArgumentException when type mismatches occur. Type hinting discussion and contractsfriebe In the recently ongoing type-hints discussion on the PHP internals mailinglist (see also the PHP Wiki), an interesting proposal was made. 5.6.5-RELEASE: Type castingfriebe This release implements functionality suggested long ago in RFC #0010 - type casting. Simplifying sourcecode by using type hintsfriebe With the implementation of RFC #0100 (IllegalArgumentException for Type hints) I started migrating code which was manually checking arguments being instances of a certain class to type hints:
For example, this piece of sourcecode from the xml.Node class:
RFC #0038: Type wrappersfriebe Scope of Change
Wrapper types for all primitive types will be created and added to the new package lang.type. RFC #0106: Array access / iteration / type boxing / genericsfriebe Scope of Change
The lang.types.ArrayList class and the relevant classes from util.collections will be changed to support array access (read/write) and foreach() iteration. | ResultsFound 38 items in 0.017 seconds. |