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),strlen($a-4),$a,$i)); echo implode(substr_replace($a,range("a","z",3),-1));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: strlen(): Argument #1 ($string) must be of type string, array given in /in/Phagp:4 Stack trace: #0 /in/Phagp(4): strlen(Array) #1 {main} thrown in /in/Phagp 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.24 ms | 401 KiB | 8 Q