3v4l.org

run code in 300+ PHP versions simultaneously
<?php $locale = 'en_US'; $string = " {gender, select, female { {count, plural, offset:1 =0 {{from} does not give a party.} =1 {{from} invites {to} to her party.} =2 {{from} invites {to} and one other person to her party.} other {{from} invites {to} as one of the # people invited to her party.} } } male { {count, plural, offset:1 =0 {{from} does not give a party.} =1 {{from} invites {to} to his party.} =2 {{from} invites {to} and one other person to his party.} other {{from} invites {to} as one of the # other people invited to his party.} } } other { {count, plural, offset:1 =0 {{from} does not give a party.} =1 {{from} invites {to} to their party.} =2 {{from} invites {to} and one other person to their party.} other {{from} invites {to} as one of the # other people invited to their party.} } } }"; $formatter = new MessageFormatter($locale, $string);
Output for git.master, git.master_jit, rfc.property-hooks

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
67.09 ms | 401 KiB | 8 Q