3v4l.org

run code in 300+ PHP versions simultaneously
<?php $allLanguages = [ 'en' => ['locale' => 'en_US', 'code' => 'en', 'displayName' => 'English'], 'sv' => ['locale' => 'sv_SE', 'code' => 'sv', 'displayName' => 'Swedish'], 'de' => ['locale' => 'de_DE', 'code' => 'de', 'displayName' => 'German'] ]; var_dump(array_values($allLanguages));

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.60.0070.01418.18
8.3.50.0070.00717.94
8.3.40.0040.01118.55
8.3.30.0070.01018.63
8.3.20.0020.00520.34
8.3.10.0060.00323.65
8.3.00.0050.00319.64
8.2.180.0060.00925.92
8.2.170.0040.01122.96
8.2.160.0070.00722.08
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00720.56
8.2.120.0070.00026.35
8.2.110.0100.00019.34
8.2.100.0080.00417.78
8.2.90.0040.00417.72
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0030.00517.38
8.2.50.0080.00017.55
8.2.40.0000.00817.63
8.2.30.0060.00317.61
8.2.20.0040.00417.98
8.2.10.0100.00018.00
8.2.00.0090.00317.83
8.1.280.0070.01525.92
8.1.270.0000.00720.20
8.1.260.0070.00026.35
8.1.250.0080.00328.09
8.1.240.0060.00322.52
8.1.230.0060.00620.96
8.1.220.0070.00317.74
8.1.210.0070.00318.82
8.1.200.0050.00517.11
8.1.190.0040.00417.41
8.1.180.0000.00818.10
8.1.170.0030.00617.62
8.1.160.0040.00418.77
8.1.150.0040.00420.18
8.1.140.0000.00817.70
8.1.130.0000.00719.05
8.1.120.0040.00417.36
8.1.110.0070.00017.43
8.1.100.0040.00417.27
8.1.90.0070.00017.27
8.1.80.0020.00517.36
8.1.70.0050.00317.44
8.1.60.0000.00917.40
8.1.50.0050.00317.49
8.1.40.0000.00717.47
8.1.30.0100.00717.41
8.1.20.0080.00317.63
8.1.10.0030.00517.46
8.1.00.0060.00317.38
8.0.300.0000.00719.91
8.0.290.0020.00516.63
8.0.280.0040.00417.81
8.0.270.0000.00717.90
8.0.260.0070.00016.62
8.0.250.0040.00416.91
8.0.240.0000.00716.92
8.0.230.0000.00816.91
8.0.220.0020.00516.86
8.0.210.0030.00316.82
8.0.200.0000.00616.94
8.0.190.0060.00316.90
8.0.180.0000.00816.82
8.0.170.0000.00916.78
8.0.160.0000.00716.88
8.0.150.0030.00616.81
8.0.140.0050.00316.80
8.0.130.0050.00013.23
8.0.120.0040.00416.79
8.0.110.0030.00616.80
8.0.100.0000.00716.87
8.0.90.0000.00816.79
8.0.80.0030.01316.79
8.0.70.0040.00416.77
8.0.60.0000.00716.94
8.0.50.0080.00016.71
8.0.30.0100.00916.98
8.0.20.0100.00917.40
8.0.10.0040.00416.82
8.0.00.0100.00816.62
7.4.330.0030.00315.55
7.4.320.0000.00716.54
7.4.300.0040.00416.51
7.4.290.0000.00816.33
7.4.280.0080.00016.42
7.4.270.0070.00016.54
7.4.260.0040.00416.52
7.4.250.0080.00016.40
7.4.240.0000.00716.30
7.4.230.0040.00416.32
7.4.220.0030.00516.55
7.4.210.0130.00816.57
7.4.200.0040.00416.54
7.4.160.0140.00516.55
7.4.150.0070.01017.40
7.4.140.0090.01117.86
7.4.130.0150.00316.42
7.4.120.0140.00616.41
7.4.110.0040.01416.23
7.4.100.0060.01416.23
7.4.90.0040.01316.38
7.4.80.0070.01019.39
7.4.70.0120.00916.38
7.4.60.0060.01216.53
7.4.50.0090.00516.58
7.4.40.0160.00316.11
7.4.00.0040.01114.91
7.3.330.0000.00513.02
7.3.320.0030.00313.03
7.3.310.0070.00016.12
7.3.300.0040.00416.07
7.3.290.0040.00415.96
7.3.280.0120.00616.09
7.3.270.0060.01117.40
7.3.260.0100.00716.33
7.3.240.0110.01116.18
7.3.230.0040.01316.52
7.3.210.0030.01416.12
7.3.200.0080.00816.30
7.3.190.0060.01016.38
7.3.180.0150.00916.50
7.3.170.0070.01116.14
7.3.160.0090.00616.20
7.3.10.0040.00916.48
7.3.00.0080.00416.59
7.2.330.0100.00716.39
7.2.320.0030.01516.47
7.2.310.0070.01716.47
7.2.300.0070.01016.21
7.2.290.0070.01016.52
7.2.130.0000.01116.60
7.2.120.0050.00816.70
7.2.110.0060.00616.57
7.2.100.0050.00916.66
7.2.90.0030.00816.73
7.2.80.0090.00716.63
7.2.70.0040.00616.76
7.2.60.0050.00616.63
7.2.50.0090.00516.62
7.2.40.0080.00716.53
7.2.30.0020.01216.74
7.2.20.0070.01117.17
7.2.10.0070.01017.03
7.2.00.0080.01016.94
7.1.250.0080.00315.58
7.1.200.0090.00315.75
7.1.140.0120.01216.74
7.1.130.0120.01316.49
7.1.120.0120.01316.68
7.1.110.0100.00918.24
7.1.100.0070.01318.14
7.1.90.0110.00918.10
7.1.80.0080.01518.19
7.1.70.0100.01416.80
7.1.60.0310.01835.14
7.1.50.0330.01634.44
7.1.40.0310.02334.46
7.1.30.0270.02234.39
7.1.20.0290.01834.33
7.1.10.0120.01016.64
7.1.00.0080.01416.56

preferences:
56.76 ms | 400 KiB | 5 Q