3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php setlocale('en_US.utf8', LC_ALL); var_dump(escapeshellarg('hello worldé'));

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Array change keys
Warning: setlocale() expects parameter 1 to be integer, string given in /in/YtvD9 on line 3 string(13) "'hello world'"
Output for Lexical anon
Warning: setlocale() expects parameter 1 to be integer, string given in /in/YtvD9 on line 3 string(13) "'hello world'"
Output for Typed properties
Warning: setlocale() expects parameter 1 to be integer, string given in /in/YtvD9 on line 3 string(13) "'hello world'"

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