3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_TIME, "C"); echo strftime("%A"); setlocale(LC_TIME, "fi_FI"); echo strftime(" in Finnish is %A,"); setlocale(LC_TIME, "fr_FR"); echo strftime(" in French %A and"); setlocale(LC_TIME, "de_DE"); echo strftime(" in German %A.\n"); ?>

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.0.30.0180.00917.44
8.0.20.0150.01217.58
8.0.10.0180.00717.60
8.0.00.0200.00817.45
7.4.160.0220.00516.97
7.4.150.0150.01417.12
7.4.140.0130.01217.35
7.4.130.0190.01017.05
7.4.120.0170.01217.12
7.4.110.0130.00917.05
7.4.100.0150.01117.11
7.4.90.0140.01317.12
7.4.80.0150.01117.13
7.4.70.0110.01117.04
7.4.60.0120.01217.11
7.4.50.0120.01017.04
7.4.40.0140.00917.01
7.4.30.0130.00917.01
7.4.20.0120.01116.88
7.4.10.0180.00616.97
7.4.00.0100.01116.66
7.3.280.0130.01016.74
7.3.270.0130.00917.03
7.3.260.0200.00717.09
7.3.250.0180.00917.09
7.3.240.0170.00817.08
7.3.230.0150.01117.10
7.3.220.0170.01017.04
7.3.210.0160.00816.92
7.3.200.0170.01117.82
7.3.190.0120.01016.99
7.3.180.0130.00917.00
7.3.170.0130.00817.02
7.3.160.0140.00916.97
7.3.150.0070.01517.03
7.3.140.0140.00917.09
7.3.130.0150.00716.91
7.3.120.0120.00916.50
7.3.110.0150.00616.48
7.3.100.0120.00916.57
7.3.90.0130.00816.60
7.3.80.0080.01316.57
7.3.70.0120.00816.57
7.3.60.0100.01016.53
7.3.50.0110.00916.58
7.3.40.0140.00816.52
7.3.30.0170.00516.53
7.3.20.0220.01116.59
7.3.10.0140.00816.46
7.3.00.0130.01016.61
7.2.340.0290.00817.12
7.2.330.0160.01517.15
7.2.320.0160.01117.08
7.2.310.0220.00817.10
7.2.300.0170.01017.15
7.2.290.0170.00617.15
7.2.280.0140.01217.09
7.2.270.0160.00917.10
7.2.260.0190.00917.18
7.2.250.0130.01217.16
7.2.240.0140.01016.60
7.2.230.0140.01016.62
7.2.220.0160.00916.64
7.2.210.0150.01116.63
7.2.200.0150.01016.71
7.2.190.0140.01116.70
7.2.180.0190.01116.68
7.2.170.0150.00916.75
7.2.160.0160.00916.66
7.2.150.0140.01116.74
7.2.140.0210.00816.81
7.2.130.0180.00716.80
7.2.120.0170.01316.75
7.2.110.0160.00816.79
7.2.100.0140.01016.86
7.2.90.0110.01116.89
7.2.80.0170.00916.76
7.2.70.0110.01216.72
7.2.60.0230.01016.48
7.2.50.0140.01216.79
7.2.40.0190.00916.79
7.2.30.0120.01116.83
7.2.20.0120.01116.82
7.2.10.0160.00716.69
7.2.00.0170.01017.12
7.1.330.0160.01015.89
7.1.320.0290.00915.98
7.1.310.0200.01115.87
7.1.300.0150.01115.86
7.1.290.0210.00815.93
7.1.280.0220.00715.98
7.1.270.0170.00915.89
7.1.260.0180.00915.91
7.1.250.0130.01115.79
7.1.240.0230.00915.83
7.1.230.0370.01115.85
7.1.220.0190.00915.93
7.1.210.0230.01115.88
7.1.200.0210.00815.85
7.1.190.0170.01315.80
7.1.180.0180.01115.91
7.1.170.0240.00815.84
7.1.160.0180.00815.84
7.1.150.0150.01415.84
7.1.140.0180.00915.84
7.1.130.0200.00715.95
7.1.120.0140.01115.89
7.1.110.0200.00915.87
7.1.100.0160.00916.26
7.1.90.0180.00815.90
7.1.80.0180.01015.91
7.1.70.0150.00815.98
7.1.60.0180.01116.38
7.1.50.0150.01216.07
7.1.40.0240.00615.98
7.1.30.0230.00915.87
7.1.20.0160.00915.88
7.1.10.0170.00815.86
7.1.00.0150.01716.98
7.0.330.0200.00615.59
7.0.320.0180.00915.66
7.0.310.0180.00915.61
7.0.300.0170.01115.58
7.0.290.0180.01115.55
7.0.280.0200.01215.64
7.0.270.0230.00415.53
7.0.260.0180.00915.55
7.0.250.0170.01115.64
7.0.240.0160.00915.64
7.0.230.0180.01215.74
7.0.220.0220.00515.70
7.0.210.0160.01215.64
7.0.200.0140.01115.89
7.0.190.0190.00915.69
7.0.180.0190.00615.64
7.0.170.0230.00515.68
7.0.160.0150.00915.63
7.0.150.0130.01015.75
7.0.140.0180.01716.72
7.0.130.0190.00915.68
7.0.120.0160.01416.68
7.0.110.0150.01115.62
7.0.100.0180.00915.62
7.0.90.0170.00915.59
7.0.80.0220.00915.62
7.0.70.0180.00815.61
7.0.60.0200.01916.36
7.0.50.0140.01916.00
7.0.40.0140.01416.44
7.0.30.0230.01416.42
7.0.20.0200.02216.36
7.0.10.0160.01716.41
7.0.00.0180.01816.35
5.6.400.0220.00616.20
5.6.390.0240.01316.08
5.6.380.0220.00716.13
5.6.370.0180.01116.08
5.6.360.0190.01116.09
5.6.350.0190.00816.16
5.6.340.0170.01216.13
5.6.330.0200.01016.07
5.6.320.0150.01116.14
5.6.310.0180.01116.08
5.6.300.0200.00916.18
5.6.290.0190.01316.12
5.6.280.0150.02016.96
5.6.270.0170.01316.10
5.6.260.0190.00916.08
5.6.250.0200.00916.16
5.6.240.0200.01016.15
5.6.230.0190.00916.18
5.6.220.0190.00916.16
5.6.210.0150.01716.79
5.6.200.0160.01516.45
5.6.190.0140.01916.86
5.6.180.0720.01516.79
5.6.170.0200.01616.85
5.6.160.0200.02516.89
5.6.150.0190.01816.47
5.6.140.0180.01916.47
5.6.130.0160.02216.50
5.6.120.0160.02216.96
5.6.110.0150.02116.96
5.6.100.0190.01816.91
5.6.90.0170.02016.99
5.6.80.0190.02116.81
5.6.70.0570.01416.83
5.6.60.0250.01416.13
5.6.50.0270.01116.13
5.6.40.0180.00916.06
5.6.30.0200.01015.97
5.6.20.0190.00916.13
5.6.10.0230.01016.01
5.6.00.0150.01316.03
5.5.380.0170.01216.09
5.5.370.0170.00916.15
5.5.360.0160.01116.12
5.5.350.0130.01816.86
5.5.340.0130.02216.38
5.5.330.0150.02016.77
5.5.320.0190.02216.73
5.5.310.0190.01616.77
5.5.300.0200.02116.41
5.5.290.0160.02216.33
5.5.280.0170.02116.80
5.5.270.0160.02416.86
5.5.260.0160.01316.89
5.5.250.0140.01516.80
5.5.240.0210.02116.71
5.5.230.0170.01016.18
5.5.220.0170.01115.95
5.5.210.0180.01516.12
5.5.200.0200.00616.07
5.5.190.0190.01416.07
5.5.180.0210.00816.04
5.5.170.0180.00916.09
5.5.160.0200.00716.03
5.5.150.0160.01116.08
5.5.140.0210.00816.02
5.5.130.0180.01115.95
5.5.120.0140.01315.90
5.5.110.0170.00916.02
5.5.100.0190.00816.06
5.5.90.0150.01116.00
5.5.80.0190.00716.06
5.5.70.0180.01016.20
5.5.60.0200.01115.98
5.5.50.0170.01016.12
5.5.40.0160.01016.07
5.5.30.0120.01316.02
5.5.20.0150.01016.09
5.5.10.0160.01016.19
5.5.00.0170.00916.01
5.4.450.0150.02114.45
5.4.440.0130.01714.46
5.4.430.0130.01314.43
5.4.420.0130.01914.46
5.4.410.0110.01514.38
5.4.400.0130.01614.33
5.4.390.0140.01714.44
5.4.380.0170.01714.45
5.4.370.0130.01314.29
5.4.360.0120.01614.37
5.4.350.0140.01314.39
5.4.340.0150.01214.33
5.4.330.0110.01013.46
5.4.320.0140.01514.38
5.4.310.0160.01914.38
5.4.300.0140.01914.41
5.4.290.0140.01914.40
5.4.280.0110.02014.37
5.4.270.0120.01914.36
5.4.260.0140.01714.35
5.4.250.0120.01814.40
5.4.240.0130.02014.31
5.4.230.0130.01814.29
5.4.220.0130.01414.34
5.4.210.0140.01914.34
5.4.200.0170.01414.31
5.4.190.0120.01914.34
5.4.180.0150.01214.30
5.4.170.0110.02014.36
5.4.160.0130.01414.31
5.4.150.0140.01614.31
5.4.140.0120.01813.93
5.4.130.0120.01713.99
5.4.120.0120.01813.96
5.4.110.0150.01913.93
5.4.100.0110.01414.01
5.4.90.0110.01213.97
5.4.80.0140.01613.98
5.4.70.0150.01714.00
5.4.60.0140.01813.89
5.4.50.0140.01813.93
5.4.40.0140.01513.93
5.4.30.0130.01113.93
5.4.20.0110.01314.00
5.4.10.0120.01213.89
5.4.00.0140.00913.84
5.3.290.0130.01813.99
5.3.280.0150.01713.91
5.3.270.0140.01813.97
5.3.260.0110.01713.96
5.3.250.0150.01713.97
5.3.240.0120.01913.94
5.3.230.0140.01913.99
5.3.220.0120.01913.83
5.3.210.0110.02113.85
5.3.200.0090.01613.85
5.3.190.0160.01013.94
5.3.180.0120.02013.87
5.3.170.0100.01613.89
5.3.160.0140.01613.90
5.3.150.0100.02213.97
5.3.140.0120.01413.93
5.3.130.0110.01413.87
5.3.120.0110.01513.87
5.3.110.0140.01113.90
5.3.100.0120.01313.77
5.3.90.0140.01313.82
5.3.80.0130.01313.70
5.3.70.0140.01113.74
5.3.60.0140.01113.86
5.3.50.0120.01213.77
5.3.40.0110.01413.75
5.3.30.0120.01213.83
5.3.20.0110.01213.69
5.3.10.0100.01413.61
5.3.00.0070.01713.69