3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (array('en_US', 'fr_FR') as $locale) { $formatter = new IntlDateFormatter($locale, IntlDateFormatter::NONE, IntlDateFormatter::NONE, null, null, 'e'); foreach (array(1, 7) as $dow) { echo "${locale}(${dow}): " . date('l', $formatter->parse($dow)) . "\n"; } }
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /in/bO80c on line 7 Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /in/bO80c on line 7 en_US(1): Sunday en_US(7): Saturday fr_FR(1): Monday fr_FR(7): Sunday

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:
34.28 ms | 402 KiB | 8 Q