public function CacheTest::falseCastedValuesProvider in Plug 7
The following values get converted to FALSE if you cast them to a boolean.
See also
http://php.net/manual/en/types.comparisons.php
File
- lib/
doctrine/ cache/ tests/ Doctrine/ Tests/ Common/ Cache/ CacheTest.php, line 296
Class
Namespace
Doctrine\Tests\Common\CacheCode
public function falseCastedValuesProvider() {
return array(
array(
false,
),
array(
null,
),
array(
array(),
),
array(
'0',
),
array(
0,
),
array(
0.0,
),
array(
'',
),
);
}