Updated example file

Updated example.php file to not crash while intl extension is not
available.