3v4l.org

run code in 300+ PHP versions simultaneously
<?php // 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.3.10.0000.01416.73
7.3.00.0040.01116.79
7.2.130.0100.00316.95
7.2.120.0060.00916.73
7.2.110.0030.01616.94
7.2.100.0100.00316.65
7.2.90.0040.01116.76
7.2.80.0040.01416.65
7.2.70.0130.00316.94
7.2.60.0130.00316.84
7.2.50.0060.00916.97
7.2.40.0070.00717.03
7.2.30.0060.00916.99
7.2.20.0040.01116.82
7.2.10.0030.01016.56
7.2.00.0020.01518.13
7.1.250.0060.01015.84
7.1.100.0100.00717.98
7.1.70.0040.00816.98
7.1.60.0030.01017.50
7.1.50.0100.02016.77
7.0.200.0120.00616.79
7.0.120.0030.06321.96
7.0.110.0030.08022.06
7.0.100.0070.07021.99
7.0.90.0030.07322.14
7.0.80.0100.07022.02
7.0.70.0070.07322.16
7.0.60.0030.07722.00
7.0.50.0000.08322.04
7.0.40.0070.07321.98
7.0.30.0030.07722.03
7.0.20.0070.07722.10
7.0.10.0070.07722.04
7.0.00.0000.07722.17
5.6.260.0030.08021.11
5.6.250.0030.07721.02
5.6.240.0000.08321.11
5.6.230.0030.06721.07
5.6.220.0070.06721.00
5.6.210.0000.07720.91
5.6.200.0070.07020.91
5.6.190.0070.07721.02
5.6.180.0030.08021.03
5.6.170.0030.07721.05
5.6.160.0000.08020.85
5.6.150.0100.07720.92
5.6.140.0030.08021.02
5.6.130.0030.07720.78
5.6.120.0070.07721.06
5.6.110.0030.08020.91
5.6.100.0030.08020.83
5.6.90.0130.06320.97
5.6.80.0130.06320.38
5.6.70.0030.07320.29
5.6.60.0030.07720.39
5.6.50.0030.07320.20
5.6.40.0000.07020.17
5.6.30.0030.07020.40
5.6.20.0000.08020.26
5.6.10.0000.07720.34
5.6.00.0000.06320.15
5.5.380.0000.07717.44
5.5.370.0070.05717.57
5.5.360.0030.08017.50
5.5.350.0000.07717.38
5.5.340.0100.05318.01
5.5.330.0070.07317.82
5.5.320.0070.07318.05
5.5.310.0000.08017.91
5.5.300.0030.06018.10
5.5.290.0070.07718.00
5.5.280.0030.08318.06
5.5.270.0030.06017.80
5.5.260.0100.07317.81
5.5.250.0070.07717.63
5.5.240.0170.06317.20
5.5.230.0000.07317.19
5.5.220.0030.07317.21
5.5.210.0000.06317.38
5.5.200.0130.06717.19
5.5.190.0070.07317.36
5.5.180.0030.07717.35
5.5.160.0070.07017.16
5.5.150.0100.06317.41
5.5.140.0030.07317.43
5.5.130.0070.07017.35
5.5.120.0070.07017.40
5.5.110.0000.07717.41
5.5.100.0030.07717.30
5.5.90.0030.07317.33
5.5.80.0000.07717.06
5.5.70.0030.07717.32
5.5.60.0000.07717.25
5.5.50.0070.06317.05
5.5.40.0070.07016.98
5.5.30.0000.07317.21
5.5.20.0100.06717.23
5.5.10.0000.07717.29
5.5.00.0070.07017.10
5.4.450.0070.08019.22
5.4.440.0070.07719.24
5.4.430.0070.07319.34
5.4.420.0070.07019.13
5.4.410.0000.08019.06
5.4.400.0070.07019.05
5.4.390.0030.07718.93
5.4.380.0000.08018.86
5.4.370.0070.05019.02
5.4.360.0000.08018.95
5.4.350.0030.07319.04
5.4.340.0030.06319.04
5.4.320.0030.07718.80
5.4.310.0000.07718.91
5.4.300.0070.05318.95
5.4.290.0070.06018.89
5.4.280.0070.06318.88
5.4.270.0030.05318.89
5.4.260.0000.07719.20
5.4.250.0070.06719.19
5.4.240.0000.07718.92
5.4.230.0030.07718.94
5.4.220.0030.06318.94
5.4.210.0070.06719.19
5.4.200.0000.07719.03
5.4.190.0030.07318.84
5.4.180.0070.07318.83
5.4.170.0100.07018.90
5.4.160.0030.07318.82
5.4.150.0000.08018.81
5.4.140.0070.06716.39
5.4.130.0000.05716.22
5.4.120.0030.07016.18
5.4.110.0070.07016.20
5.4.100.0070.06316.38
5.4.90.0130.05716.29
5.4.80.0100.05016.36
5.4.70.0100.06316.46
5.4.60.0100.06016.17
5.4.50.0070.06316.35
5.4.40.0000.06316.35
5.4.30.0000.06316.23
5.4.20.0000.07316.08
5.4.10.0000.07316.45
5.4.00.0070.06015.64
5.3.290.0070.07014.43
5.3.280.0100.06714.20
5.3.270.0000.06714.55
5.3.260.0100.06314.20
5.3.250.0070.04314.32
5.3.240.0070.07014.38
5.3.230.0100.06314.45
5.3.220.0100.04714.31
5.3.210.0100.07014.18
5.3.200.0070.07014.40
5.3.190.0030.07314.50
5.3.180.0070.07014.48
5.3.170.0000.07314.51
5.3.160.0000.07714.50
5.3.150.0070.07014.40
5.3.140.0030.07014.16
5.3.130.0030.05714.22
5.3.120.0070.07314.25
5.3.110.0030.07314.32
5.3.100.0000.07313.76
5.3.90.0070.06713.73
5.3.80.0070.06713.64
5.3.70.0030.06713.61
5.3.60.0030.07013.78
5.3.50.0030.07013.63
5.3.40.0030.06013.80
5.3.30.0000.07313.76
5.3.20.0100.06013.35
5.3.10.0030.07013.35
5.3.00.0070.06713.34

preferences:
36.01 ms | 401 KiB | 5 Q