3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function pgettext($context, $msgid) { $contextString = "{$context}\004{$msgid}"; $translation = gettext($contextString); if ($translation == $contextString) { return $msgid; } return $translation; } $firstWordExamples = array( pgettext('dng', 'Super'), pgettext('dng', 'Really'), pgettext('dng', 'Very'), pgettext('dng', 'Totally'), pgettext('dng', 'Extremely'), pgettext('dng', 'Rather'), pgettext('dng', 'Remarkably'), pgettext('dng', 'Frankly'), pgettext('dng', 'Dreadfully'), pgettext('dng', 'Awfully'), pgettext('dng', 'Quite'), pgettext('dng', 'Wicked'), pgettext('dng', 'Incredibly'), pgettext('dng', 'Monstrously'), pgettext('dng', 'Truly'), pgettext('dng', 'Completely'), pgettext('dng', 'Absolutely'), pgettext('dng', 'Cheerfully'), pgettext('dng', 'Excitedly'), pgettext('dng', 'Sweetly'), pgettext('dng', 'Gently'), pgettext('dng', 'Crazy'), pgettext('dng', 'Loudly'), pgettext('dng', 'Obviously'), pgettext('dng', 'Covertly'), pgettext('dng', 'Secretly'), pgettext('dng', 'Boldly'), pgettext('dng', 'Perfectly'), pgettext('dng', 'So'), pgettext('dng', 'Merrily'), pgettext('dng', 'Certainly'), pgettext('dng', 'Creatively'), pgettext('dng', 'Royally'), pgettext('dng', 'Passionately'), pgettext('dng', 'Simply'), pgettext('dng', 'Beautifully'), pgettext('dng', 'Happily'), pgettext('dng', 'Shamelessly'), pgettext('dng', 'Definitely'), pgettext('dng', 'Significantly'), pgettext('dng', 'Casually'), pgettext('dng', 'Positively'), pgettext('dng', 'Benevolently'), pgettext('dng', 'Surprisingly') ); $sexEnum = true; $secondWordExamples = array( $sexEnum === true ? pgettext('dng,male', 'Cool') : pgettext('dng,female', 'Cool'), $sexEnum === true ? pgettext('dng,male', 'Energetic') : pgettext('dng,female', 'Energetic'), $sexEnum === true ? pgettext('dng,male', 'Smart') : pgettext('dng,female', 'Smart'), $sexEnum === true ? pgettext('dng,male', 'Nice') : pgettext('dng,female', 'Nice'), $sexEnum === true ? pgettext('dng,male', 'Clever') : pgettext('dng,female', 'Clever'), $sexEnum === true ? pgettext('dng,male', 'Brave') : pgettext('dng,female', 'Brave'), $sexEnum === true ? pgettext('dng,male', 'Handsome') : pgettext('dng,female', 'Beautiful'), $sexEnum === true ? pgettext('dng,male', 'Sweet') : pgettext('dng,female', 'Sweet'), $sexEnum === true ? pgettext('dng,male', 'Magical') : pgettext('dng,female', 'Magical'), $sexEnum === true ? pgettext('dng,male', 'Chill') : pgettext('dng,female', 'Chill'), $sexEnum === true ? pgettext('dng,male', 'Fierce') : pgettext('dng,female', 'Fierce'), $sexEnum === true ? pgettext('dng,male', 'Real') : pgettext('dng,female', 'Real'), $sexEnum === true ? pgettext('dng,male', 'Tough') : pgettext('dng,female', 'Tough'), $sexEnum === true ? pgettext('dng,male', 'Wild') : pgettext('dng,female', 'Wild'), $sexEnum === true ? pgettext('dng,male', 'Nerdy') : pgettext('dng,female', 'Nerdy'), $sexEnum === true ? pgettext('dng,male', 'Funny') : pgettext('dng,female', 'Funny'), $sexEnum === true ? pgettext('dng,male', 'Sporty') : pgettext('dng,female', 'Sporty'), $sexEnum === true ? pgettext('dng,male', 'Flirty') : pgettext('dng,female', 'Flirty'), $sexEnum === true ? pgettext('dng,male', 'Happy') : pgettext('dng,female', 'Happy'), $sexEnum === true ? pgettext('dng,male', 'Artsy') : pgettext('dng,female', 'Artsy'), $sexEnum === true ? pgettext('dng,male', 'Crazy') : pgettext('dng,female', 'Crazy'), $sexEnum === true ? pgettext('dng,male', 'Sassy') : pgettext('dng,female', 'Sassy'), $sexEnum === true ? pgettext('dng,male', 'Classy') : pgettext('dng,female', 'Classy'), $sexEnum === true ? pgettext('dng,male', 'Cuddly') : pgettext('dng,female', 'Cuddly'), $sexEnum === true ? pgettext('dng,male', 'Fancy') : pgettext('dng,female', 'Fancy'), $sexEnum === true ? pgettext('dng,male', 'Friendly') : pgettext('dng,female', 'Friendly'), $sexEnum === true ? pgettext('dng,male', 'Fabulous') : pgettext('dng,female', 'Fabulous'), $sexEnum === true ? pgettext('dng,male', 'Kind') : pgettext('dng,female', 'Kind'), $sexEnum === true ? pgettext('dng,male', 'Loyal') : pgettext('dng,female', 'Loyal'), $sexEnum === true ? pgettext('dng,male', 'Genuine') : pgettext('dng,female', 'Genuine'), $sexEnum === true ? pgettext('dng,male', 'Adventurous'): pgettext('dng,female', 'Adventurous'), $sexEnum === true ? pgettext('dng,male', 'Silly') : pgettext('dng,female', 'Silly'), $sexEnum === true ? pgettext('dng,male', 'Caring') : pgettext('dng,female', 'Caring'), $sexEnum === true ? pgettext('dng,male', 'Smooth') : pgettext('dng,female', 'Smooth'), $sexEnum === true ? pgettext('dng,male', 'Outdoorsy') : pgettext('dng,female', 'Outdoorsy'), $sexEnum === true ? pgettext('dng,male', 'Huggable') : pgettext('dng,female', 'Huggable'), $sexEnum === true ? pgettext('dng,male', 'Active') : pgettext('dng,female', 'Active'), $sexEnum === true ? pgettext('dng,male', 'Romantic') : pgettext('dng,female', 'Romantic'), $sexEnum === true ? pgettext('dng,male', 'Witty') : pgettext('dng,female', 'Witty'), $sexEnum === true ? pgettext('dng,male', 'Easygoing') : pgettext('dng,female', 'Easygoing'), ); $randFirsts = array_rand($firstWordExamples, 3); $randSeconds = array_rand($secondWordExamples, 3); $nicenameExamples = array(); $nicenameExamples[] = sprintf(pgettext('dng', '%1$s%2$s'), $firstWordExamples[$randFirsts[0]], $secondWordExamples[$randSeconds[0]]); $nicenameExamples[] = sprintf(pgettext('dng', '%1$s%2$s'), $firstWordExamples[$randFirsts[1]], $secondWordExamples[$randSeconds[1]]); $nicenameExamples[] = sprintf(pgettext('dng', '%1$s%2$s'), $firstWordExamples[$randFirsts[2]], $secondWordExamples[$randSeconds[2]]); print_r($nicenameExamples);
based on eqZoT
Output for 7.1.0
Array ( [0] => CheerfullyEnergetic [1] => SweetlyChill [2] => CasuallyFancy )
Output for 7.0.14
Array ( [0] => RatherMagical [1] => BoldlyNerdy [2] => RoyallyFancy )
Output for 7.0.10
Array ( [0] => SuperSmart [1] => TrulySassy [2] => BenevolentlyCaring )
Output for 7.0.9
Array ( [0] => ReallyBrave [1] => AbsolutelyArtsy [2] => BenevolentlyGenuine )
Output for 7.0.8
Array ( [0] => WickedMagical [1] => SimplyFlirty [2] => PositivelySassy )
Output for 7.0.7
Array ( [0] => IncrediblyCool [1] => CertainlyFriendly [2] => ShamelesslyWitty )
Output for 7.0.6
Array ( [0] => PassionatelyCrazy [1] => HappilyFriendly [2] => ShamelesslyOutdoorsy )
Output for 7.0.5
Array ( [0] => RatherMagical [1] => CrazyLoyal [2] => HappilyActive )
Output for 7.0.4
Array ( [0] => ExtremelyReal [1] => ObviouslyFriendly [2] => SimplyKind )
Output for 7.0.3
Array ( [0] => FranklyMagical [1] => WickedFabulous [2] => CertainlyGenuine )
Output for 7.0.2
Array ( [0] => TotallySmart [1] => HappilyChill [2] => CasuallyFabulous )
Output for 7.0.1
Array ( [0] => CovertlySweet [1] => PerfectlyArtsy [2] => SimplyKind )
Output for 7.0.0
Array ( [0] => CheerfullyArtsy [1] => CreativelyGenuine [2] => CasuallyOutdoorsy )
Output for 5.6.28
Array ( [0] => ReallyTough [1] => AwfullySilly [2] => CertainlyActive )
Output for 5.6.25
Array ( [0] => SweetlyNice [1] => SimplyActive [2] => SurprisinglyWitty )
Output for 5.6.24
Array ( [0] => DreadfullyWild [1] => PerfectlyArtsy [2] => SimplyHuggable )
Output for 5.6.23
Array ( [0] => TotallyFabulous [1] => CreativelySilly [2] => BenevolentlyHuggable )
Output for 5.6.22
Array ( [0] => DreadfullyReal [1] => ObviouslyFlirty [2] => CreativelyKind )
Output for 5.6.21
Array ( [0] => RatherSweet [1] => BoldlyTough [2] => CasuallyKind )
Output for 5.6.20
Array ( [0] => SecretlyClever [1] => BeautifullyBrave [2] => DefinitelyFriendly )
Output for 5.6.19
Array ( [0] => SuperNice [1] => AwfullySporty [2] => CheerfullyHuggable )
Output for 5.6.18
Array ( [0] => RatherFierce [1] => CheerfullySilly [2] => GentlyActive )
Output for 5.6.17
Array ( [0] => DreadfullyFunny [1] => SimplySassy [2] => SignificantlyHuggable )
Output for 5.6.16
Array ( [0] => RatherCrazy [1] => RemarkablyClassy [2] => SweetlyActive )
Output for 5.6.15
Array ( [0] => TotallyNice [1] => ExtremelySassy [2] => CasuallyCuddly )
Output for 5.6.14
Array ( [0] => IncrediblySporty [1] => BeautifullyClassy [2] => BenevolentlyAdventurous )
Output for 5.6.13
Array ( [0] => QuiteHandsome [1] => SimplyFancy [2] => SurprisinglyGenuine )
Output for 5.6.12
Array ( [0] => RemarkablySmart [1] => SweetlyFierce [2] => SimplyRomantic )
Output for 5.6.11
Array ( [0] => CovertlyFriendly [1] => SimplyLoyal [2] => BenevolentlyOutdoorsy )
Output for 5.6.10
Array ( [0] => AwfullyNice [1] => MerrilyWitty [2] => SurprisinglyEasygoing )
Output for 5.6.9
Array ( [0] => SweetlyFierce [1] => ObviouslyHappy [2] => SimplyRomantic )
Output for 5.6.8
Array ( [0] => IncrediblyHandsome [1] => ObviouslyLoyal [2] => SurprisinglyOutdoorsy )
Output for 5.6.7
Array ( [0] => QuiteNice [1] => CrazyReal [2] => SecretlyHuggable )
Output for 5.6.6
Array ( [0] => AwfullyReal [1] => SecretlyFabulous [2] => SurprisinglySmooth )
Output for 5.6.5
Array ( [0] => ExtremelyClever [1] => WickedFierce [2] => MonstrouslyOutdoorsy )
Output for 5.6.4
Array ( [0] => ExtremelyCool [1] => AbsolutelyClever [2] => MerrilyFierce )
Output for 5.6.3
Array ( [0] => CompletelyClever [1] => RoyallyFriendly [2] => SignificantlySilly )
Output for 5.6.2
Array ( [0] => SuperNerdy [1] => VeryArtsy [2] => SurprisinglySmooth )
Output for 5.6.1
Array ( [0] => ReallyFierce [1] => TrulyFriendly [2] => SoKind )
Output for 5.6.0
Array ( [0] => AwfullyBrave [1] => ExcitedlyFlirty [2] => DefinitelyHappy )
Output for 5.5.38
Array ( [0] => TotallyMagical [1] => WickedTough [2] => CheerfullyCrazy )
Output for 5.5.37
Array ( [0] => VeryNerdy [1] => GentlySporty [2] => MerrilyFabulous )
Output for 5.5.36
Array ( [0] => TotallyNice [1] => AbsolutelyReal [2] => SoSporty )
Output for 5.5.35
Array ( [0] => TrulyFierce [1] => ObviouslyWild [2] => CasuallyArtsy )
Output for 5.5.34
Array ( [0] => TotallyReal [1] => RatherFabulous [2] => GentlyAdventurous )
Output for 5.5.33
Array ( [0] => MonstrouslyHappy [1] => ExcitedlyLoyal [2] => SurprisinglyEasygoing )
Output for 5.5.32
Array ( [0] => IncrediblyChill [1] => SecretlyOutdoorsy [2] => PerfectlyEasygoing )
Output for 5.5.31
Array ( [0] => ReallyCool [1] => PerfectlySweet [2] => CertainlyLoyal )
Output for 5.5.30
Array ( [0] => DreadfullyFierce [1] => ExcitedlyWild [2] => CasuallyFunny )
Output for 5.5.29
Array ( [0] => MonstrouslyNerdy [1] => CompletelyFabulous [2] => SecretlyHuggable )
Output for 5.5.28
Array ( [0] => RatherFunny [1] => CheerfullyFancy [2] => LoudlyGenuine )
Output for 5.5.27
Array ( [0] => SecretlyBrave [1] => CertainlyChill [2] => BenevolentlyFriendly )
Output for 5.5.26
Array ( [0] => CheerfullyCuddly [1] => CertainlyFriendly [2] => SignificantlyGenuine )
Output for 5.5.25
Array ( [0] => SweetlyClassy [1] => GentlyFancy [2] => CertainlySmooth )
Output for 5.5.24
Array ( [0] => ReallyCrazy [1] => WickedCuddly [2] => DefinitelyKind )
Output for 5.5.23
Array ( [0] => SuperNice [1] => QuiteHandsome [2] => SweetlyWild )
Output for 5.5.22
Array ( [0] => CrazySweet [1] => SoChill [2] => BeautifullyCaring )
Output for 5.5.21
Array ( [0] => ReallyFabulous [1] => MonstrouslyKind [2] => SweetlyAdventurous )
Output for 5.5.20
Array ( [0] => IncrediblyNice [1] => GentlySassy [2] => PositivelyLoyal )
Output for 5.5.19
Array ( [0] => RatherFierce [1] => DreadfullySilly [2] => IncrediblyOutdoorsy )
Output for 5.5.18
Array ( [0] => WickedChill [1] => ExcitedlyOutdoorsy [2] => CertainlyActive )
Output for 5.5.16
Array ( [0] => ExtremelyNice [1] => TrulyFlirty [2] => SweetlyFriendly )
Output for 5.5.15
Array ( [0] => ObviouslyArtsy [1] => BeautifullyCuddly [2] => CasuallyLoyal )
Output for 5.5.14
Array ( [0] => IncrediblyChill [1] => BoldlyReal [2] => RoyallyRomantic )
Output for 5.5.13
Array ( [0] => TotallyClassy [1] => PerfectlyAdventurous [2] => ShamelesslyWitty )
Output for 5.5.12
Array ( [0] => WickedSmart [1] => CheerfullyChill [2] => ObviouslyTough )
Output for 5.5.11
Array ( [0] => CertainlyReal [1] => CreativelyWild [2] => SurprisinglyClassy )
Output for 5.5.10
Array ( [0] => QuiteCrazy [1] => SoLoyal [2] => CasuallyGenuine )
Output for 5.5.9
Array ( [0] => BoldlyNice [1] => CasuallyArtsy [2] => SurprisinglyClassy )
Output for 5.5.8
Array ( [0] => WickedFancy [1] => MerrilySilly [2] => PositivelyCaring )
Output for 5.5.7
Array ( [0] => SecretlyReal [1] => PassionatelyHappy [2] => DefinitelyOutdoorsy )
Output for 5.5.6
Array ( [0] => AwfullyNice [1] => MonstrouslyClever [2] => TrulyChill )
Output for 5.5.5
Array ( [0] => VeryFierce [1] => MonstrouslyFriendly [2] => BeautifullyEasygoing )
Output for 5.5.4
Array ( [0] => WickedSweet [1] => PerfectlyGenuine [2] => PassionatelyOutdoorsy )
Output for 5.5.3
Array ( [0] => RemarkablySmart [1] => LoudlyHuggable [2] => SecretlyActive )
Output for 5.5.2
Array ( [0] => TotallyClassy [1] => BeautifullyAdventurous [2] => PositivelyRomantic )
Output for 5.5.1
Array ( [0] => IncrediblyClever [1] => BoldlySilly [2] => HappilyHuggable )
Output for 5.5.0
Array ( [0] => SweetlyReal [1] => CreativelyClassy [2] => SurprisinglyActive )
Output for 5.4.45
Array ( [0] => CompletelyFunny [1] => ExcitedlyAdventurous [2] => BeautifullyRomantic )
Output for 5.4.44
Array ( [0] => QuiteBrave [1] => SoArtsy [2] => SurprisinglyCuddly )
Output for 5.4.43
Array ( [0] => SuperMagical [1] => PassionatelySporty [2] => BenevolentlySassy )
Output for 5.4.42
Array ( [0] => SweetlyEnergetic [1] => PassionatelyHappy [2] => BenevolentlyAdventurous )
Output for 5.4.41
Array ( [0] => MonstrouslyTough [1] => BeautifullyCuddly [2] => SignificantlyCaring )
Output for 5.4.40
Array ( [0] => PerfectlyChill [1] => SoFunny [2] => DefinitelyEasygoing )
Output for 5.4.39
Array ( [0] => CompletelyFunny [1] => SecretlyHappy [2] => PassionatelyFriendly )
Output for 5.4.38
Array ( [0] => SuperSmart [1] => PassionatelyKind [2] => ShamelesslyActive )
Output for 5.4.37
Array ( [0] => LoudlyWild [1] => BoldlySassy [2] => DefinitelySilly )
Output for 5.4.36
Array ( [0] => CertainlyEnergetic [1] => CreativelyArtsy [2] => HappilyRomantic )
Output for 5.4.35
Array ( [0] => PerfectlySweet [1] => PassionatelySporty [2] => HappilyFriendly )
Output for 5.4.34
Array ( [0] => TotallyFlirty [1] => RemarkablyGenuine [2] => ExcitedlyCaring )
Output for 5.4.32
Array ( [0] => MerrilyEnergetic [1] => CertainlySilly [2] => BeautifullyRomantic )
Output for 5.4.31
Array ( [0] => TrulyEnergetic [1] => RoyallyBrave [2] => SignificantlyActive )
Output for 5.4.30
Array ( [0] => MonstrouslyNerdy [1] => CreativelyFunny [2] => BeautifullyFabulous )
Output for 5.4.29
Array ( [0] => SuperNice [1] => RatherCrazy [2] => SimplyKind )
Output for 5.4.28
Array ( [0] => TotallyCool [1] => CovertlySmart [2] => ShamelesslyActive )
Output for 5.4.27
Array ( [0] => CovertlyHappy [1] => BeautifullyOutdoorsy [2] => BenevolentlyRomantic )
Output for 5.4.26
Array ( [0] => SuperNice [1] => SoSweet [2] => PositivelyCuddly )
Output for 5.4.25
Array ( [0] => MonstrouslyFierce [1] => ExcitedlyReal [2] => SweetlyHappy )
Output for 5.4.24
Array ( [0] => MonstrouslySmart [1] => SoFancy [2] => DefinitelyOutdoorsy )
Output for 5.4.23
Array ( [0] => RemarkablyNerdy [1] => SoFriendly [2] => SimplyKind )
Output for 5.4.22
Array ( [0] => TrulyMagical [1] => CrazySilly [2] => MerrilyEasygoing )
Output for 5.4.21
Array ( [0] => VeryEnergetic [1] => SecretlyClassy [2] => PassionatelyAdventurous )
Output for 5.4.20
Array ( [0] => SuperNice [1] => RatherFriendly [2] => MonstrouslyFabulous )
Output for 5.4.19
Array ( [0] => FranklyCuddly [1] => CrazyGenuine [2] => PerfectlyActive )
Output for 5.4.18
Array ( [0] => TrulyFunny [1] => RoyallyCaring [2] => SimplyHuggable )
Output for 5.4.17
Array ( [0] => WickedFlirty [1] => PassionatelyCrazy [2] => SurprisinglyClassy )
Output for 5.4.16
Array ( [0] => ExtremelySmart [1] => CovertlySweet [2] => SimplySporty )
Output for 5.4.15
Array ( [0] => AbsolutelyNice [1] => MerrilyFunny [2] => CertainlyKind )
Output for 5.4.14
Array ( [0] => LoudlySweet [1] => ObviouslyWild [2] => MerrilyKind )
Output for 5.4.13
Array ( [0] => RatherEnergetic [1] => RemarkablyHandsome [2] => LoudlyWitty )
Output for 5.4.12
Array ( [0] => RatherNice [1] => CreativelySmooth [2] => PositivelyRomantic )
Output for 5.4.11
Array ( [0] => ReallyMagical [1] => ExtremelyReal [2] => GentlyWild )
Output for 5.4.10
Array ( [0] => IncrediblySmart [1] => HappilyHappy [2] => SurprisinglyArtsy )
Output for 5.4.9
Array ( [0] => VeryTough [1] => TrulyFancy [2] => BeautifullyRomantic )
Output for 5.4.8
Array ( [0] => ReallyCool [1] => BeautifullyCaring [2] => CasuallyOutdoorsy )
Output for 5.4.7
Array ( [0] => TotallyBrave [1] => WickedSporty [2] => ExcitedlyRomantic )
Output for 5.4.6
Array ( [0] => LoudlyNice [1] => SecretlySweet [2] => BenevolentlyFierce )
Output for 5.4.5
Array ( [0] => SuperSmart [1] => VeryNice [2] => BenevolentlyHuggable )
Output for 5.4.4
Array ( [0] => AwfullyNice [1] => TrulyOutdoorsy [2] => SimplyWitty )
Output for 5.4.3
Array ( [0] => GentlyEnergetic [1] => SecretlyArtsy [2] => CreativelyFriendly )
Output for 5.4.2
Array ( [0] => TotallyAdventurous [1] => DefinitelyRomantic [2] => SurprisinglyWitty )
Output for 5.4.1
Array ( [0] => SuperChill [1] => CompletelyNerdy [2] => SignificantlySassy )
Output for 5.4.0
Array ( [0] => VeryEnergetic [1] => MerrilyFunny [2] => CasuallyLoyal )