Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 133b0b3d9e
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (25 sloc) 0.928 kB
--TEST--
void CLD\Detector::setIncludeExtendedLanguages(bool true) / bool CLD\Detector::getIncludeExtendedLanguages()
--FILE--
<?php
$detector = new CLD\Detector();
var_dump($detector->getIncludeExtendedLanguages());
var_dump($detector->setIncludeExtendedLanguages(false));
var_dump($detector->getIncludeExtendedLanguages());
var_dump($detector->setIncludeExtendedLanguages(true));
var_dump($detector->getIncludeExtendedLanguages());
var_dump($detector->setIncludeExtendedLanguages());
var_dump($detector->getIncludeExtendedLanguages(1, 2));
?>
==DONE==
--EXPECTF--
bool(true)
NULL
bool(false)
NULL
bool(true)
Warning: CLD\Detector::setIncludeExtendedLanguages() expects exactly 1 parameter, 0 given in %scld-detector-includeExtendedLanguages.php on line %d
NULL
Warning: CLD\Detector::getIncludeExtendedLanguages() expects exactly 0 parameters, 2 given in %scld-detector-includeExtendedLanguages.php on line %d
NULL
==DONE==
Jump to Line
Something went wrong with that request. Please try again.