File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Bug #53437 DateInterval unserialize bad data, 32 bit
4
4
<?php if (PHP_INT_SIZE != 4 ) { die ('skip 32 bit only ' ); } ?>
5
5
--FILE--
6
6
<?php
7
- $ s = 'O:12:"DateInterval":15 :{s:1:"y";s:1:"2";s:1:"m";s:1:"0";s:1:"d";s:3:"bla";s:1:"h";s:1:"6";s:1:"i";s:1:"8";s:1:"s";s:1:"0";s:7:"weekday";i:10;s:16:"weekday_behavior";i:10;s:17:"first_last_day_of";i:0;s: 6:"invert";i:0;s:4:"days";s:4:"aoeu";s:12:"special_type";i:0;s:14:"special_amount";s:21:"234523452345234532455";s:21:"have_weekday_relative";i:21474836489;s:21:"have_special_relative";s:3:"bla ";} ' ;
7
+ $ s = 'O:12:"DateInterval":8 :{s:1:"y";s:1:"2";s:1:"m";s:1:"0";s:1:"d";s:3:"bla";s:1:"h";s:1:"6";s:1:"i";s:1:"8";s:1:"s";s:1:"0";s:6:"invert";i:0;s:4:"days";s:4:"aoeu";} ' ;
8
8
9
9
$ di = unserialize ($ s );
10
10
var_dump ($ di );
You can’t perform that action at this time.
0 commit comments