3v4l.org

run code in 500+ PHP versions simultaneously
<?php $fn = 'Liz & Noël'; $ln = 'John-Evan’s 2nd'; function process( $str ) { $str = iconv('utf-8', 'us-ascii//TRANSLIT', $str); $str = strtolower($str); return preg_replace('~[^A-Za-z]+~u', '', $str); } echo process($fn) . '-' . process($ln);
Output for git.master, git.master_jit, rfc.property-hooks
liznol-johnevansnd

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:
47.68 ms | 1099 KiB | 4 Q