forked from facebook/hhvm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make locale_lookup 4th parameter optional
Summary: Closes : facebook#6598 Closes facebook#6605 Reviewed By: sgolemon, JoelMarcey Differential Revision: D2700468 Pulled By: JoelMarcey fb-gh-sync-id: dd0bf39e8f2e8bd7f9ef7d5e3e4ed27bbb600bee
- Loading branch information
Showing
3 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
$arr = array( | ||
'de-DEVA', | ||
'de-DE-1996', | ||
'de', | ||
'de-De' | ||
); | ||
echo locale_lookup($arr, 'de-DE-1996-x-prv1-prv2'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
de-DE-1996 |