summaryrefslogtreecommitdiff
path: root/ext/standard/php_sunfuncs.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2006-01-04 12:57:04 +0000
committerDerick Rethans <derick@php.net>2006-01-04 12:57:04 +0000
commit648e20c1b69ead6b90eaa56c7a433de7123eb6fd (patch)
treecf6eeef0d7eb1396843ce426ab9a56098af1cdc5 /ext/standard/php_sunfuncs.h
parent223aa7294d6c072c84df5d3a350606f3774f58d9 (diff)
downloadphp-git-648e20c1b69ead6b90eaa56c7a433de7123eb6fd.tar.gz
- New implementation of the sunset algorithm. Fixes bugs #33789, #33671, #32820
and #30937. #- Didn't add it to news yet, as we'll merge this to PHP 5.1.x (just need to # wait for Ilia to approve it for 5.1.2).
Diffstat (limited to 'ext/standard/php_sunfuncs.h')
-rw-r--r--ext/standard/php_sunfuncs.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/ext/standard/php_sunfuncs.h b/ext/standard/php_sunfuncs.h
deleted file mode 100644
index f8dcc0254a..0000000000
--- a/ext/standard/php_sunfuncs.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- +----------------------------------------------------------------------+
- | PHP Version 5 |
- +----------------------------------------------------------------------+
- | Copyright (c) 1997-2006 The PHP Group |
- +----------------------------------------------------------------------+
- | This source file is subject to version 3.01 of the PHP license, |
- | that is bundled with this package in the file LICENSE, and is |
- | available through the world-wide-web at the following url: |
- | http://www.php.net/license/3_01.txt |
- | If you did not receive a copy of the PHP license and are unable to |
- | obtain it through the world-wide-web, please send a note to |
- | license@php.net so we can mail you a copy immediately. |
- +----------------------------------------------------------------------+
- | Author: Moshe Doron <mosdoron@netvision.net.il> |
- +----------------------------------------------------------------------+
-*/
-
-/* $Id$ */
-
-#ifndef PHP_SUNFUNCS_H
-#define PHP_SUNFUNCS_H
-
-/* default ini entries: */
-/* Jerusalem one. */
-#define DATE_DEFAULT_LATITUDE "31.7667"
-#define DATE_DEFAULT_LONGITUDE "35.2333"
-
-/* on 90'50; common jewish sunset declaration (start of sun body appear) */
-#define DATE_SUNSET_ZENITH "90.83"
-
-/* on 90'50; common jewish sunrise declaration (sun body disappeared) */
-#define DATE_SUNRISE_ZENITH "90.83"
-
-#define SUNFUNCS_RET_TIMESTAMP 0
-#define SUNFUNCS_RET_STRING 1
-#define SUNFUNCS_RET_DOUBLE 2
-
-PHP_FUNCTION(date_sunrise);
-PHP_FUNCTION(date_sunset);
-
-#endif /* PHP_SUNFUNCS_H */