<?php
$arr = array("something here", "foo" => "something else", "bar" => array( "nested" => "temp", 5232), 3434);
$s = serialize($arr);
for( $i = 1; $i <= 100; $i++ )
{
$s2 = serialize($arr);
if( $s2 != $s )
{
echo "They are not always the same";
break;
}
if($i == 100)
{
echo "They are always the same";
}
}
?>