3v4l.org

run code in 300+ PHP versions simultaneously
<?php $convmap = [0x80, 0x10FFFF, 0x1, 0x1FFFFF]; $s = 'déjà &#0; &#225;&#225; &#&#225&#225 &#225 &#225t'; var_dump([ 'mb_decode_numericentity' => $a = mb_decode_numericentity($s, $convmap, 'UTF-8'), "preg_replace('/&#225;?/', 'à')" => $b = preg_replace('/&#225;?/', 'à', $s), 'eq' => $a === $b, ]);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["mb_decode_numericentity"]=> string(30) "déjà &#0; àà &#àà à àt" ["preg_replace('/&#225;?/', 'à')"]=> string(30) "déjà &#0; àà &#àà à àt" ["eq"]=> bool(true) }

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:
30.25 ms | 405 KiB | 5 Q