3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-Type: text/html; charset=utf-8'); echo "<pre>"; setlocale(LC_ALL, 'cs_CZ.UTF-8', 'Czech'); echo "Nastaveny locale: ". setlocale(LC_ALL, 0) . "\n"; $countries = array( 'Bulharsko', 'Česko', 'Polsko', 'Čína' ); sort($countries, SORT_LOCALE_STRING); print_r($countries);
Output for git.master, git.master_jit, rfc.property-hooks
<pre>Nastaveny locale: cs_CZ.UTF-8 Array ( [0] => Bulharsko [1] => Česko [2] => Čína [3] => Polsko )

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:
48.12 ms | 401 KiB | 8 Q