Skip to content

Commit

Permalink
Merge pull request #31 from kiddivouchers/prep-1.6.0
Browse files Browse the repository at this point in the history
Prepare 1.6.0
  • Loading branch information
cs278 authored Feb 9, 2024
2 parents 50622d8 + d26b552 commit 03a1ad3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
Empty file removed EXPERIMENTAL
Empty file.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2012-2017 Yoshio HANAWA
Copyright (c) 2019-2024 Wider Plan Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
22 changes: 7 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# php-timecop [![Travis CI build status](https://travis-ci.org/kiddivouchers/php-timecop.svg?branch=master)](https://travis-ci.org/kiddivouchers/php-timecop)
# Timecop for PHP

## FORK

Expand All @@ -25,22 +25,10 @@ After install, add these lines to your `php.ini` .
extension=timecop.so
```

## INSTALL (on Windows, experimental)

You can download the extension DLL from [PECL :: Package :: timecop](https://pecl.php.net/package/timecop)

To install the extension, extract zip and copy `php_timecop.dll` to the extension directory.

After install, add these lines to your `php.ini` .

```ini
extension=php_timecop.dll
```

## SYSTEM REQUIREMENTS

- OS: Windows(experimental), Linux, macOS
- PHP: 5.6.x - 8.1.x
- OS: Linux, macOS
- PHP: 5.6.x - 8.3.x
- SAPI: Apache, CLI
- Other SAPIs are not tested, but there is no SAPI-dependent code.
- non-ZTS(recommended), ZTS
Expand Down Expand Up @@ -118,6 +106,9 @@ var_dump((new DateTime())->format("c")); // string(25) "2017-01-01T00:00:05+00:0

## CHANGELOG

### version 1.6.0, 2024/02/09
- Support PHP 8.3

### version 1.5.0, 2022/12/29
- Support PHP 8.2

Expand Down Expand Up @@ -236,6 +227,7 @@ var_dump((new DateTime())->format("c")); // string(25) "2017-01-01T00:00:05+00:0
The MIT License

Copyright (c) 2012-2017 Yoshio HANAWA
Copyright (c) 2019-2024 Wider Plan Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
2 changes: 1 addition & 1 deletion php_timecop.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
#ifndef PHP_TIMECOP_H
#define PHP_TIMECOP_H

#define PHP_TIMECOP_VERSION "1.5.0"
#define PHP_TIMECOP_VERSION "1.6.0"

extern zend_module_entry timecop_module_entry;
#define phpext_timecop_ptr &timecop_module_entry
Expand Down

0 comments on commit 03a1ad3

Please sign in to comment.