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;

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.130.0040.00416.55
8.3.120.0040.01420.37
8.3.110.0090.00020.94
8.3.100.0000.00924.06
8.3.90.0110.00726.77
8.3.80.0030.00617.97
8.3.70.0100.01016.38
8.3.60.0110.00716.38
8.3.50.0070.00716.38
8.3.40.0070.00720.43
8.3.30.0080.00619.06
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.250.0110.00718.48
8.2.240.0090.00018.64
8.2.230.0030.00622.58
8.2.220.0030.00637.54
8.2.210.0120.00626.77
8.2.200.0000.01018.25
8.2.190.0070.00716.66
8.2.180.0140.00716.32
8.2.170.0070.00718.89
8.2.160.0130.00722.96
8.2.150.0000.00725.66
8.2.140.0020.00524.66
8.2.130.0040.00426.16
8.2.120.0070.00022.14
8.2.110.0000.00922.24
8.2.100.0110.00017.72
8.2.90.0000.00817.91
8.2.80.0030.00619.06
8.2.70.0080.00479.33
8.2.60.0120.00079.33
8.2.50.0070.00379.33
8.2.40.0000.01479.33
8.2.30.0110.00479.33
8.2.20.0050.01079.33
8.2.10.0100.00379.33
8.2.00.0060.00679.33
8.1.300.0100.01017.59
8.1.290.0100.00030.84
8.1.280.0150.00625.92
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0040.00422.02
8.1.230.0090.00320.85
8.1.220.0000.00817.76
8.1.210.0000.00818.77
8.1.200.0110.00479.33
8.1.190.0110.00479.33
8.1.180.0100.00379.33
8.1.170.0120.00479.33
8.1.160.0090.00679.33
8.1.150.0130.00479.33
8.1.140.0110.00379.33
8.1.130.0100.00579.33
8.1.120.0080.00879.33
8.1.110.0070.00779.33
8.1.100.0040.01179.33
8.1.90.0040.00879.33
8.1.80.0130.00079.33
8.1.70.0120.00079.33
8.1.60.0130.00279.33
8.1.50.0090.00979.33
8.1.40.0100.00379.33
8.1.30.0080.00879.33
8.1.20.0090.00679.33
8.1.10.0110.00479.33
8.1.00.0110.00479.33
8.0.300.0040.00420.07
8.0.290.0090.00579.33
8.0.280.0140.00079.33
8.0.270.0090.00679.33
8.0.260.0000.01579.33
8.0.250.0120.00379.33
8.0.240.0070.00579.33
8.0.230.0130.00079.33
8.0.220.0100.00379.33
8.0.210.0070.00779.33
8.0.200.0100.00379.33
8.0.190.0090.00479.33
8.0.180.0090.00379.33
8.0.170.0110.00479.33
8.0.160.0060.00679.33
8.0.150.0070.01079.33
8.0.140.0140.00079.33
8.0.130.0070.00779.33
8.0.120.0070.00779.33
8.0.110.0080.00479.33
8.0.100.0080.00679.33
8.0.90.0070.00779.33
8.0.80.0100.00279.33
8.0.70.0070.00779.33
8.0.60.0080.00679.33
8.0.50.0070.00779.33
8.0.30.0110.00079.33
8.0.20.0120.00079.33
8.0.10.0090.00379.33

preferences:
24.7 ms | 403 KiB | 5 Q