Update Toml.php

Fix for int value = 0, and throw exception for null values.