Zend Framework  3.0
Public Member Functions | List of all members
Float Class Reference

Stub class for backwards compatibility. More...

Public Member Functions

 __construct ($name, $digits=null, $decimal=null, $nullable=false, $default=null, array $options=[])
 
 

Additional Inherited Members

- Public Attributes inherited from ExpressionInterface
const TYPE_IDENTIFIER = 'identifier'
 
const TYPE_VALUE = 'value'
 
const TYPE_LITERAL = 'literal'
 
const TYPE_SELECT = 'select'
 
- Protected Member Functions inherited from AbstractPrecisionColumn
 getLengthExpression ()
 
 
- Protected Attributes inherited from Floating
 $type = 'FLOAT'
 

Detailed Description

Stub class for backwards compatibility.

Since PHP 7 adds "float" as a reserved keyword, we can no longer have a class named that and retain PHP 7 compatibility. The original class has been renamed to "Floating", and this class is now an extension of it. It raises an E_USER_DEPRECATED to warn users to migrate.

Deprecated:

Constructor & Destructor Documentation

__construct (   $name,
  $digits = null,
  $decimal = null,
  $nullable = false,
  $default = null,
array  $options = [] 
)

Raises a deprecation notice.