[ create a new paste ] login | about

Link: http://codepad.org/fHW6h7Eh    [ raw code | output | fork ]

PHP, pasted on Apr 26:
1
2
3
4
5
<?php

$s = new SimpleXmlElement('<foo>bar</foo>');
$ss = serialize($s);
$su = unserialize($ss);


Output:
1
2

Warning: unserialize(): Node no longer exists on line 5


Create a new paste based on this one


Comments: