3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ua = "Mozilla\\/5.0 (Linux; Android 6.0; HTC Desire 10 pro Build\\/MRA58K; wv) AppleWebKit\\/537.36 (KHTML, like Gecko) Version\\/4.0 Chrome\\/104.0.5112.97 Mobile Safari\\/537.36 Instagram 278.0.0.22.117 Android (23\\/6.0; 480dpi; 1080x1920; HTC\\/htc; HTC Desire 10 pro; htc_a56dj_pro_dugl; mt6755; en_US; 471827231)"; $ua = str_replace('\\/', '/',$ua); echo $ua;
Output for git.master_jit, git.master, rfc.property-hooks
Mozilla/5.0 (Linux; Android 6.0; HTC Desire 10 pro Build/MRA58K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/104.0.5112.97 Mobile Safari/537.36 Instagram 278.0.0.22.117 Android (23/6.0; 480dpi; 1080x1920; HTC/htc; HTC Desire 10 pro; htc_a56dj_pro_dugl; mt6755; en_US; 471827231)

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:
24.46 ms | 406 KiB | 5 Q