3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "Travaux de maçonnerie générale et gros œuvre de bâtiment"; echo 'Original : ', $text, PHP_EOL; echo 'TRANSLIT : ', iconv("UTF-8", "ISO-8859-1//TRANSLIT", $text), PHP_EOL; echo 'TRANSLIT : ', iconv("UTF-8", "UTF-8//TRANSLIT", $text), PHP_EOL; echo 'IGNORE : ', iconv("UTF-8", "ISO-8859-1//IGNORE", $text), PHP_EOL; echo 'Plain : ', iconv("UTF-8", "ISO-8859-1", $text), PHP_EOL;
Output for git.master, git.master_jit, rfc.property-hooks
Original : Travaux de maçonnerie générale et gros œuvre de bâtiment TRANSLIT : Warning: iconv(): Wrong encoding, conversion from "UTF-8" to "ISO-8859-1//TRANSLIT" is not allowed in /in/DMJEY on line 6 TRANSLIT : Travaux de maçonnerie générale et gros œuvre de bâtiment IGNORE : Warning: iconv(): Wrong encoding, conversion from "UTF-8" to "ISO-8859-1//IGNORE" is not allowed in /in/DMJEY on line 8 Plain : Warning: iconv(): Wrong encoding, conversion from "UTF-8" to "ISO-8859-1" is not allowed in /in/DMJEY on line 9

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