3v4l.org

run code in 300+ PHP versions simultaneously
<?php $zeros = str_replace('0', 20); var_dump((float) '123.233242' . $zeros . '2'); var_dump(round('123.233242' . $zeros . '2'));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: str_replace() expects at least 3 arguments, 2 given in /in/sm26b:2 Stack trace: #0 /in/sm26b(2): str_replace('0', 20) #1 {main} thrown in /in/sm26b on line 2
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:
29.89 ms | 401 KiB | 8 Q