Erm... I've seen there're some aspects to perform... it fails because
the name of the members is changed during conversion to the array. It
puts the class name using '\0' (0 is a zero, not a caps 'o') character
as separator before member name in private and an '*' in protected.
It's not an unaff
Ok, I've write a function that emulates the Perl's bless one. It works
pretty well.
The idea comes to me when Rob suggest to parse the serialized data. I
think this is better -or at least faster- than parsing all serialized
data to modify object values: Just convert the object to an array,
mod
2 matches
Mail list logo