xref: /PHP-7.3/ext/wddx/tests/bug75055.phpt (revision a7815e63)
1--TEST--
2Bug #75055 Out-Of-Bounds Read in timelib_meridian()
3--SKIPIF--
4<?php if (!extension_loaded("wddx")) print "skip"; ?>
5--FILE--
6<?php
7
8$file_str = dirname(__FILE__) . "/bug75055.wddx";
9
10$wddx_str = file_get_contents($file_str);
11print strlen($wddx_str) . " bytes read.\n";
12
13var_dump(wddx_deserialize($wddx_str));
14?>
15--EXPECT--
16323 bytes read.
17array(1) {
18  ["aDateTime"]=>
19  string(12) "frONt of 0 0"
20}
21