add a snippet to implement overflow for long type in PHP