3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace WebSharks\Challenge; $a = ['patdumona', 'kristinedp', 'raamdes', 'renzmp', 'reedysete']; print_r(str_replace(strlen($a[$i]),strlen($a-4),$a,$i));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $i in /in/qc3fK on line 4 Warning: Undefined array key "" in /in/qc3fK on line 4 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/qc3fK on line 4 Fatal error: Uncaught TypeError: Unsupported operand types: array - int in /in/qc3fK:4 Stack trace: #0 {main} thrown in /in/qc3fK on line 4
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:
56.54 ms | 402 KiB | 8 Q