3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo uppercase_letters('ac84894987984987AD', 2); echo uppercase_letters('acaDdf984987Ad', 10); function uppercase_letters($str, $start, $end){ $strlen = strlen($str); $str_uc = strtoupper(substr($str, $start, $end)); $then = substr($str, $end, $strlen); return $str_uc . $then; }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: Too few arguments to function uppercase_letters(), 2 passed in /in/c4anK on line 3 and exactly 3 expected in /in/c4anK:6 Stack trace: #0 /in/c4anK(3): uppercase_letters('ac8489498798498...', 2) #1 {main} thrown in /in/c4anK 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:
42.83 ms | 401 KiB | 8 Q