hiphop-php /hphp/test/zend/good/ext/intl/tests/calendar_clear_variation1.php

Language PHP Lines 18
MD5 Hash a0c8966ba26d9b1c3ff50c3b0e027a42 Estimated Cost $237 (why?)
Repository git://github.com/facebook/hiphop-php.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<?php
ini_set("intl.error_level", E_WARNING);
ini_set("intl.default_locale", "nl");

$intlcal = IntlCalendar::createInstance('UTC');
$intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
//print_R($intlcal);
var_dump($intlcal->isSet(IntlCalendar::FIELD_MONTH));
var_dump($intlcal->clear(IntlCalendar::FIELD_MONTH));
var_dump($intlcal->isSet(IntlCalendar::FIELD_MONTH));
//print_R($intlcal);
var_dump(
	$intlcal->getTime(),
	strtotime('2012-01-29 05:06:07 +0000') * 1000.
);
?>
==DONE==
Back to Top