public function InlineTest::getTestsForParsePhpConstants in Database Sanitize 7
File
- vendor/
symfony/ yaml/ Tests/ InlineTest.php, line 54
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function getTestsForParsePhpConstants() {
return array(
array(
'!php/const Symfony\\Component\\Yaml\\Yaml::PARSE_CONSTANT',
Yaml::PARSE_CONSTANT,
),
array(
'!php/const PHP_INT_MAX',
PHP_INT_MAX,
),
array(
'[!php/const PHP_INT_MAX]',
array(
PHP_INT_MAX,
),
),
array(
'{ foo: !php/const PHP_INT_MAX }',
array(
'foo' => PHP_INT_MAX,
),
),
array(
'!php/const NULL',
null,
),
);
}