2 /* Prototype : proto string serialize(mixed variable)
3 * Description: Returns a string representation of variable (which can later be unserialized)
4 * Source code: ext/standard/var.c
7 /* Prototype : proto mixed unserialize(string variable_representation)
8 * Description: Takes a string representation of variable and recreates it
9 * Source code: ext/standard/var.c
18 $b = unserialize($ser);
28 echo "\n\n--- 1 refs container:\n";
35 echo "\n\n--- 1,2 ref container:\n";
42 echo "\n\n--- 1,2,3 ref container:\n";