public function CacheTest::falseCastedValuesProvider in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/CacheTest.php \Doctrine\Tests\Common\Cache\CacheTest::falseCastedValuesProvider()
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
- vendor/
doctrine/ cache/ tests/ Doctrine/ Tests/ Common/ Cache/ CacheTest.php, line 298
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(
'',
),
);
}