3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = <<< TXT Y-3.165 X-25.221 M8 Z32.054 Z26.57 F500 Y160.8 X123 X245 X-20.254 TXT; $content = str_replace('X-', 'X+', $content); $content = preg_replace('/X(\d)/', 'X-$1', $content); $content = str_replace('X+', 'X', $content); echo $content;
Output for git.master, git.master_jit, rfc.property-hooks
Y-3.165 X25.221 M8 Z32.054 Z26.57 F500 Y160.8 X-123 X-245 X20.254

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.87 ms | 401 KiB | 8 Q