1--TEST--
2Object serialization / unserialization: Strict format
3--FILE--
4<?php
5class A {public $a;}
6
7var_dump(unserialize('O:1:"A":1x{s:1:"a";N;}'));
8                    //0123456789012345678901
9var_dump(unserialize('O:1:"A":1:xs:1:"a";N;}'));
10                    //0123456789012345678901
11?>
12--EXPECTF--
13Notice: unserialize(): Error at offset 9 of 22 bytes in %s on line %d
14bool(false)
15
16Notice: unserialize(): Error at offset 10 of 22 bytes in %s on line %d
17bool(false)
18