Annotation of embedaddon/php/ext/standard/tests/serialize/006.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: serialize()/unserialize() with exotic letters
3: --FILE--
4: <?php
5: $εδφΕΔΦ = array('εδφΕΔΦ' => 'εδφΕΔΦ');
6:
7: class άberKφφliδε
8: {
9: public $εδφΕΔΦόάber = 'εδφΕΔΦ';
10: }
11:
12: $foo = new άberkφφliδε();
13:
14: var_dump(serialize($foo));
15: var_dump(unserialize(serialize($foo)));
16: var_dump(serialize($εδφΕΔΦ));
17: var_dump(unserialize(serialize($εδφΕΔΦ)));
18: ?>
19: --EXPECT--
20: string(55) "O:11:"άberKφφliδε":1:{s:11:"εδφΕΔΦόάber";s:6:"εδφΕΔΦ";}"
21: object(άberKφφliδε)#2 (1) {
22: ["εδφΕΔΦόάber"]=>
23: string(6) "εδφΕΔΦ"
24: }
25: string(32) "a:1:{s:6:"εδφΕΔΦ";s:6:"εδφΕΔΦ";}"
26: array(1) {
27: ["εδφΕΔΦ"]=>
28: string(6) "εδφΕΔΦ"
29: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>