3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = "°Freenew°\x90ɮ\xC2\xA0"; echo preg_replace('#[\x{0000}-\x{001F}\x{007F}-\x{00A0}]#u', '', $result); echo preg_last_error(); echo str_replace('\x{00A0}', $result);
Output for git.master, git.master_jit, rfc.property-hooks
4 Fatal error: Uncaught ArgumentCountError: str_replace() expects at least 3 arguments, 2 given in /in/steaR:6 Stack trace: #0 /in/steaR(6): str_replace('\\x{00A0}', '\xC2\xB0Freenew\xC2\xB0\x90\xC9\xAE\xC2...') #1 {main} thrown in /in/steaR on line 6
Process exited with code 255.

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