3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'Test'; // mb_strtolower() $timeMB = microtime(true); for($i=0;$i<30000;$i++) $lower = mb_strtolower("$text/no-cache-$i"); $timeMB = microtime(true) - $timeMB;

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)
7.2.00.0070.10319.28
7.1.100.0000.13118.13
7.1.70.0030.09817.29
7.1.60.0070.16619.27
7.1.50.0100.15216.92
7.1.00.0030.23322.42
7.0.200.0420.10114.42
7.0.60.0070.21319.91
7.0.50.0070.18717.66
7.0.40.0100.17320.30
7.0.30.0270.17020.00
7.0.20.0170.13720.18
7.0.10.0270.15720.13
7.0.00.0070.17320.09
5.6.280.0070.20021.06
5.6.210.0100.20720.75
5.6.200.0000.19718.23
5.6.190.0030.19020.50
5.6.180.0270.17320.57
5.6.170.0230.20720.54
5.6.160.0170.17720.40
5.6.150.0070.19018.19
5.6.140.0030.13718.18
5.6.130.0070.14318.08
5.6.120.0030.16321.09
5.6.110.0100.19721.12
5.6.100.0100.14720.88
5.6.90.0100.17020.96
5.6.80.0000.17320.43
5.5.350.0170.21720.41
5.5.340.0030.17017.92
5.5.330.0000.20720.47
5.5.320.0530.19320.21
5.5.310.0370.21020.13
5.5.300.0030.20018.02
5.5.290.0070.21317.91
5.5.280.0070.15720.84
5.5.270.0100.19720.86
5.5.260.0030.16720.83
5.5.250.0070.22020.69
5.5.240.1870.18320.27
5.4.450.0700.23719.64
5.4.440.0630.29319.60
5.4.430.0830.28019.63
5.4.420.0570.29019.23
5.4.410.0730.28719.51
5.4.400.0670.28018.80
5.4.390.0830.28019.15
5.4.380.0600.28019.16
5.4.370.0800.26318.95
5.4.360.0700.24718.99
5.4.350.0630.27019.29
5.4.340.0800.27319.14
5.4.320.0870.28319.31
5.4.310.0670.26318.99
5.4.300.0770.27018.77
5.4.290.0600.25018.90
5.4.280.0670.28319.29
5.4.270.0670.24319.14
5.4.260.0600.29719.29
5.4.250.0800.27019.21
5.4.240.0700.30719.15
5.4.230.0670.25318.92
5.4.220.0930.26019.14
5.4.210.0770.27319.13
5.4.200.0930.28718.98
5.4.190.0870.29018.94
5.4.180.0830.25318.79
5.4.170.0870.28019.07
5.4.160.0830.26319.14
5.4.150.0100.39719.29
5.4.140.0270.26316.13
5.4.130.0270.25016.38
5.4.120.0270.24716.13
5.4.110.0170.25316.45
5.4.100.0200.27716.26
5.4.90.0230.26716.18
5.4.80.0230.25316.35
5.4.70.0200.26016.44
5.4.60.0200.30316.48
5.4.50.0270.27016.44
5.4.40.0270.28016.42
5.4.30.0130.26016.38
5.4.20.0470.31716.51
5.4.10.0400.28016.43
5.4.00.0000.31715.74
5.3.290.0200.23714.54
5.3.280.0070.25314.57
5.3.270.0630.29714.45
5.3.260.0770.27714.45
5.3.250.0600.24014.59
5.3.240.0270.24014.48
5.3.230.0030.26714.57
5.3.220.0130.26714.41
5.3.210.0300.22714.52
5.3.200.0300.23314.37
5.3.190.0170.25714.45
5.3.180.0130.23014.39
5.3.170.0170.24014.51
5.3.160.0070.25314.35
5.3.150.0300.22314.55
5.3.140.0230.22714.48
5.3.130.0270.23714.50
5.3.120.0130.23714.38
5.3.110.0270.24014.43
5.3.100.0200.28013.98
5.3.90.0130.25713.95
5.3.80.0100.24314.00
5.3.70.0170.22313.79
5.3.60.0200.22313.99
5.3.50.0170.23713.79
5.3.40.0270.26714.03
5.3.30.0270.23313.79
5.3.20.0270.20313.48
5.3.10.0230.24713.64
5.3.00.0170.23313.43
5.2.170.0170.23010.94
5.2.160.0200.20010.98
5.2.150.0130.25011.09
5.2.140.0170.22711.30
5.2.130.0100.25711.04
5.2.120.0400.23311.01
5.2.110.0200.23010.96
5.2.100.0100.23310.86
5.2.90.0270.33311.04
5.2.80.0130.22711.04
5.2.70.0200.21011.04
5.2.60.0130.24710.88
5.2.50.0100.29310.96
5.2.40.0170.24310.83
5.2.30.0200.24010.80
5.2.20.0200.24010.79
5.2.10.0230.35710.88
5.2.00.0100.38710.71
5.1.60.0170.3139.98
5.1.50.0270.25010.02
5.1.40.0200.2339.82
5.1.30.0130.26010.27
5.1.20.0070.23310.44
5.1.10.0070.22010.14
5.1.00.0130.22310.00
5.0.50.0130.2079.38
5.0.40.0030.2539.38
5.0.30.0130.2579.38
5.0.20.0070.2539.38
5.0.10.0030.2379.38
5.0.00.0030.2379.38
4.4.90.0030.2379.38
4.4.80.0030.2439.38
4.4.70.0000.2409.38
4.4.60.0200.2239.38
4.4.50.0130.2339.38
4.4.40.0070.2309.38
4.4.30.0170.2509.38
4.4.20.0030.2539.38
4.4.10.0070.2239.38
4.4.00.0100.2509.38
4.3.110.0070.2109.38
4.3.100.0130.2079.38
4.3.90.0070.2209.38
4.3.80.0070.2639.38
4.3.70.0030.2779.38
4.3.60.0070.2309.38
4.3.50.0070.2139.38
4.3.40.0100.2239.38
4.3.30.0130.2239.38
4.3.20.0200.1709.38
4.3.10.0170.1709.38
4.3.00.0200.1739.38

preferences:
47.14 ms | 401 KiB | 5 Q