Skip to content

Commit 6ac8b0a

Browse files
committed
1 parent 877ce69 commit 6ac8b0a

37 files changed

+114
-34
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,7 @@ PHP NEWS
9292
- Tidy:
9393
. Added TIDY_TAG_* constants for HTML5 elements. (cmb)
9494

95+
- WDDX:
96+
. Deprecated the WDDX extension. (cmb)
97+
9598
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ PHP 7.4 UPGRADE NOTES
241241
possible, but unserialization yielded unusable objects.
242242
. The @param notation can now also be used to denote SQL query parameters.
243243

244+
- WDDX:
245+
. The WDDX extension has been deprecated.
246+
244247
- Zip:
245248
. The bundled libzip library has been removed. A system libzip >= 0.11 is now
246249
necessary to build the extension.

ext/wddx/tests/001-64bit.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ precision=14
1010
$path = dirname(__FILE__);
1111
var_dump(wddx_deserialize(file_get_contents("{$path}/wddx.xml")));
1212
?>
13-
--EXPECT--
13+
--EXPECTF--
14+
Deprecated: Function wddx_deserialize() is deprecated in %s on line %d
1415
array(11) {
1516
["aNull"]=>
1617
NULL

ext/wddx/tests/001.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ precision=14
1010
$path = dirname(__FILE__);
1111
var_dump(wddx_deserialize(file_get_contents("{$path}/wddx.xml")));
1212
?>
13-
--EXPECT--
13+
--EXPECTF--
14+
Deprecated: Function wddx_deserialize() is deprecated in %s on line %d
1415
array(11) {
1516
["aNull"]=>
1617
NULL

ext/wddx/tests/002.phpt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,10 @@ precision=14
1717
wddx_add_vars($pkt, 'var1', 'var2', array('var3', 'var4'));
1818
echo wddx_packet_end($pkt);
1919
?>
20-
--EXPECT--
20+
--EXPECTF--
21+
Deprecated: Function wddx_packet_start() is deprecated in %s on line %d
22+
23+
Deprecated: Function wddx_add_vars() is deprecated in %s on line %d
24+
25+
Deprecated: Function wddx_packet_end() is deprecated in %s on line %d
2126
<wddxPacket version='1.0'><header><comment>TEST comment</comment></header><data><struct><var name='var1'><null/></var><var name='var2'><string>some string</string></var><var name='var3'><number>756</number></var><var name='var4'><boolean value='true'/></var></struct></data></wddxPacket>

ext/wddx/tests/003.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ precision=14
1313
var_dump(wddx_deserialize($fp));
1414
fclose($fp);
1515
?>
16-
--EXPECT--
16+
--EXPECTF--
17+
Deprecated: Function wddx_deserialize() is deprecated in %s on line %d
1718
array(4) {
1819
["var1"]=>
1920
NULL

ext/wddx/tests/bug27287.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ Bug #27287 (segfault with deserializing object data)
1616
echo "OK\n";
1717

1818
?>
19-
--EXPECT--
19+
--EXPECTF--
20+
Deprecated: Function wddx_serialize_value() is deprecated in %s on line %d
21+
22+
Deprecated: Function wddx_deserialize() is deprecated in %s on line %d
2023
OK

ext/wddx/tests/bug34306.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ $buf = wddx_serialize_value($var, 'name');
1010
echo "OK\n";
1111

1212
?>
13-
--EXPECT--
13+
--EXPECTF--
14+
Deprecated: Function wddx_serialize_value() is deprecated in %s on line %d
1415
OK

ext/wddx/tests/bug35410.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ WDX;
5050

5151
var_dump(wddx_deserialize($wddx));
5252
?>
53-
--EXPECT--
53+
--EXPECTF--
54+
Deprecated: Function wddx_deserialize() is deprecated in %s on line %d
5455
array(1) {
5556
["content_queries"]=>
5657
array(1) {

ext/wddx/tests/bug35410_64bit.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ WDX;
5050

5151
var_dump(wddx_deserialize($wddx));
5252
?>
53-
--EXPECT--
53+
--EXPECTF--
54+
Deprecated: Function wddx_deserialize() is deprecated in %s on line %d
5455
array(1) {
5556
["content_queries"]=>
5657
array(1) {

0 commit comments

Comments
 (0)