Voting

: max(three, six)?
(Example: nine)

The Note You're Voting On

w dot laurencine at teknoa dot net
16 years ago
When dealing with a string which contain "\r", it seems that the length is not evaluated correctly. The following solves the problem for me :

<?php
// remove the \r caracters from the $unserialized string
$unserialized = str_replace("\r","",$unserialized);

// and then unserialize()
unserialize($unserialized);
?>

<< Back to user notes page

To Top