-
Install(安装)
git clone https://github.com/2233466866/lunar.git phpize ./configure make make install vim php.ini extension=lunar.so ESC :wq
-
Usage(使用)
# CLI php -r "echo date_to_lunar(2000,1,1);" # CODE echo date_to_lunar(2000,1,1);
-
PS(说明)
年份参数必须为1970-2100,否则会报error,或者结果计算错误。
-
Notifications
You must be signed in to change notification settings - Fork 0
2233466866/lunar
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|