$value) { $array[$key] = relocate_value($value); } return $array; } $input = file_get_contents($file); # Special case for /etc/pear.conf. if (strncmp($input, "#PEAR_Config 0.9\n", 17) == 0) { echo substr($input, 0, 17); $s = substr($input, 17); } else { $s = $input; } echo serialize(relocate_value(unserialize($s))); ?>