Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/ext/spl/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/ext/spl/tests/SplDoublyLinkedList_serialization.phpt |
--TEST-- Check Serialization/unserialization --FILE-- <?php $q = new SplQueue(); $q->enqueue("a"); $q->enqueue("b"); var_dump($q, $ss = serialize($q), unserialize($ss)); $s = new SplStack(); $s->push("a"); $s->push("b"); var_dump($s, $ss = serialize($s), unserialize($ss)); ?> ==END== --EXPECTF-- object(SplQueue)#%d (2) { ["flags":"SplDoublyLinkedList":private]=> int(4) ["dllist":"SplDoublyLinkedList":private]=> array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } } string(42) "C:8:"SplQueue":22:{i:4;:s:1:"a";:s:1:"b";}" object(SplQueue)#%d (2) { ["flags":"SplDoublyLinkedList":private]=> int(4) ["dllist":"SplDoublyLinkedList":private]=> array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } } object(SplStack)#%d (2) { ["flags":"SplDoublyLinkedList":private]=> int(6) ["dllist":"SplDoublyLinkedList":private]=> array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } } string(42) "C:8:"SplStack":22:{i:6;:s:1:"a";:s:1:"b";}" object(SplStack)#%d (2) { ["flags":"SplDoublyLinkedList":private]=> int(6) ["dllist":"SplDoublyLinkedList":private]=> array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } } ==END==
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare