* PHP-7.0:
Fixed bug #68893 Stackoverflow in datefmt_create
Added missing newline.
Changed to check for error with the new function that returns null if error is set
Added function to check error and return null if error is set.
Added tests for bug 70451 and 70452