Skip to content

Commit 62660e6

Browse files
committed
[ci skip] Fix missing deprecation in output
1 parent d1c730c commit 62660e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/standard/tests/serialize/gh19701.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ $data = [clone $baseProduct, $baseProduct];
2626
echo serialize($data), "\n";
2727

2828
?>
29-
--EXPECT--
29+
--EXPECTF--
30+
Deprecated: The __sleep() serialization magic method has been deprecated. Implement __serialize() instead (or in addition, if support for old PHP versions is necessary) in %s on line %d
3031
a:2:{i:0;O:4:"Item":2:{s:8:"children";a:1:{i:0;O:4:"Item":2:{s:8:"children";a:0:{}s:6:"parent";O:4:"Item":2:{s:8:"children";a:1:{i:0;r:4;}s:6:"parent";N;}}}s:6:"parent";N;}i:1;r:6;}

0 commit comments

Comments
 (0)