Annotation of embedaddon/php/ext/standard/tests/serialize/unserializeS.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug MOPB-29 (wrong length calculation for S)
                      3: --INI--
                      4: error_reporting=0
                      5: --FILE--
                      6: <?php
                      7: $str = 'S:'.(100*3).':"'.str_repeat('\61', 100).'"';
                      8: $arr = array(str_repeat('"', 200)."1"=>1,str_repeat('"', 200)."2"=>1);
                      9: 
                     10: $data = unserialize($str);
                     11: var_dump($data);
                     12: 
                     13: --EXPECT--
                     14: bool(false)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>