-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
70 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,23 +22,20 @@ | |
<email>[email protected]</email> | ||
<active>yes</active> | ||
</lead> | ||
<date>2023-06-02</date> | ||
<date>2024-08-30</date> | ||
<version> | ||
<release>2.2.0</release> | ||
<api>2.2.0</api> | ||
<release>3.0.0</release> | ||
<api>3.0.0</api> | ||
</version> | ||
<stability> | ||
<release>stable</release> | ||
<api>stable</api> | ||
</stability> | ||
<license filesource="LICENSE">3-Clause-BSD</license> | ||
<notes><![CDATA[ | ||
No changes from RC2. | ||
* RC2: | ||
* Fix PHP-8.2 compatibility (see gh issue #165) | ||
* RC1: | ||
* Fix PHP-8.1 compatibility (see gh issues #161, #157, and #156) | ||
* Add support for ZEND_ACC_NOT_SERIALIZABLE and magic __{,un}serialize | ||
* Add support for PHP-8.1 Enums | ||
* merges #173 | ||
* fixes #171 | ||
]]></notes> | ||
<contents> | ||
<dir name="/"> | ||
|
@@ -191,6 +188,7 @@ No changes from RC2. | |
<file name="bug011.phpt" role="test" /> | ||
<file name="bug012.phpt" role="test" /> | ||
<file name="bug013.phpt" role="test" /> | ||
<file name="enum001.phpt" role="test" /> | ||
<file name="issue023.phpt" role="test" /> | ||
<file name="issue067.phpt" role="test" /> | ||
<file name="issue067_32bit.phpt" role="test" /> | ||
|
@@ -205,6 +203,7 @@ No changes from RC2. | |
<file name="issue139.phpt" role="test" /> | ||
<file name="issue149.phpt" role="test" /> | ||
<file name="issue149.ser.txt" role="test" /> | ||
<file name="issue171.phpt" role="test" /> | ||
</dir> | ||
</dir> | ||
</contents> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--TEST-- | ||
Enums | ||
--FILE-- | ||
<?php | ||
echo "Test\n"; | ||
enum Enum { | ||
case A; | ||
case B; | ||
case C; | ||
} | ||
$a = [Enum::A,Enum::B,Enum::C]; | ||
$b = msgpack_unpack(msgpack_pack([Enum::A,Enum::B,Enum::C])); | ||
var_dump($a == $b); | ||
?> | ||
DONE | ||
--EXPECT-- | ||
Test | ||
bool(true) | ||
DONE |