3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ' \longmapsto \longrightarrow \mapsto \nearrow \nwarrow \rightarrow \rightharpoondown \rightharpoonup \rightleftharpoons \searrow \swarrow \uparrow \updownarrow '; $x = array_filter(preg_split('/\s+/', $x)); usort($x, function ($a, $b) { return strcmp(strtolower($a), strtolower($b)); }); foreach ($x as $xx) { echo $xx, "\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.3.70.0110.01116.50
8.3.60.0060.00916.75
8.3.50.0130.00521.16
8.3.40.0120.00318.93
8.3.30.0090.00618.83
8.3.20.0000.00820.21
8.3.10.0080.00023.61
8.3.00.0040.00423.61
8.2.190.0070.01416.75
8.2.180.0130.00916.63
8.2.170.0110.00422.96
8.2.160.0110.00320.39
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00019.77
8.2.120.0000.00826.35
8.2.110.0100.00019.30
8.2.100.0040.00717.97
8.2.90.0050.00319.04
8.2.80.0050.00317.97
8.2.70.0000.00917.63
8.2.60.0040.00418.03
8.2.50.0040.00418.07
8.2.40.0040.00422.27
8.2.30.0060.00319.41
8.2.20.0000.00817.94
8.2.10.0040.00418.03
8.2.00.0000.00718.05
8.1.280.0130.00925.92
8.1.270.0170.00020.37
8.1.260.0090.00328.09
8.1.250.0030.00628.09
8.1.240.0030.00721.38
8.1.230.0080.00417.58
8.1.220.0050.00317.79
8.1.210.0050.00318.77
8.1.200.0030.00617.60
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0000.00818.70
8.1.160.0030.00520.86
8.1.150.0000.00718.86
8.1.140.0000.00919.59
8.1.130.0000.00817.73
8.1.120.0050.00317.65
8.1.110.0000.00717.67
8.1.100.0050.00317.68
8.1.90.0030.00517.51
8.1.80.0040.00417.64
8.1.70.0000.00717.62
8.1.60.0050.00317.65
8.1.50.0030.00517.70
8.1.40.0030.00517.57
8.1.30.0080.00017.71
8.1.20.0000.00817.66
8.1.10.0040.00417.63
8.1.00.0020.00517.60
8.0.300.0000.00718.77
8.0.290.0000.00816.88
8.0.280.0030.00318.47
8.0.270.0000.00717.29
8.0.260.0040.00417.31
8.0.250.0070.00017.18
8.0.240.0070.00017.00
8.0.230.0000.00716.96
8.0.220.0050.00516.95
8.0.210.0030.00317.07
8.0.200.0030.00617.11
8.0.190.0000.00817.13
8.0.180.0070.00017.04
8.0.170.0040.00417.08
8.0.160.0000.00717.09
8.0.150.0000.00716.92
8.0.140.0000.00917.02
8.0.130.0030.00313.49
8.0.120.0040.00416.90
8.0.110.0040.00417.09
8.0.100.0040.00416.99
8.0.90.0070.00016.91
8.0.80.0100.01017.10
8.0.70.0000.00817.05
8.0.60.0000.00816.91
8.0.50.0050.00216.88
8.0.30.0050.01117.54
8.0.20.0110.00817.43
8.0.10.0000.00717.08
8.0.00.0090.01116.83
7.4.330.0050.00016.80
7.4.320.0060.00016.77
7.4.300.0040.00416.71
7.4.290.0000.00716.80
7.4.280.0030.00816.68
7.4.270.0050.00316.73
7.4.260.0000.00716.75
7.4.250.0040.00416.64
7.4.240.0020.00516.73
7.4.230.0000.00716.77
7.4.220.0030.01316.78
7.4.210.0040.01116.77
7.4.200.0070.00016.82
7.4.160.0060.01016.84
7.4.150.0100.00817.40
7.4.140.0110.01417.86
7.4.130.0110.00716.77
7.4.120.0100.00716.80
7.4.110.0070.01016.61
7.4.100.0140.00316.68
7.4.90.0070.01016.64
7.4.80.0110.01719.39
7.4.70.0060.01216.71
7.4.60.0070.01016.39
7.4.50.0070.00816.55
7.4.40.0080.00816.52
7.4.30.0050.01016.37
7.4.20.0120.00416.34
7.4.10.0130.00316.68
7.4.00.0100.00416.20
7.3.330.0000.00513.39
7.3.320.0030.00313.31
7.3.310.0030.00316.41
7.3.300.0070.00016.46
7.3.290.0060.00816.43
7.3.280.0070.01016.45
7.3.270.0060.01117.40
7.3.260.0070.01116.68
7.3.240.0080.01016.44
7.3.230.0130.00316.67
7.3.210.0060.01216.41
7.3.200.0090.00919.39
7.3.190.0050.01116.66
7.3.180.0090.00616.64
7.3.170.0000.01616.71
7.3.160.0110.00616.77
7.3.150.0110.00516.59
7.3.140.0030.01316.41
7.3.130.0120.00616.42
7.3.120.0090.00616.55
7.3.110.0070.00716.36
7.3.100.0040.01116.53
7.3.90.0140.00316.65
7.3.80.0070.01016.54
7.3.70.0100.00516.54
7.3.60.0080.00816.61
7.3.50.0090.00616.18
7.3.40.0120.00916.43
7.3.30.0130.00716.33
7.3.20.0120.00916.34
7.3.10.0130.00916.55
7.3.00.0080.01116.34
7.2.330.0060.01116.88
7.2.320.0100.00716.86
7.2.310.0080.00916.67
7.2.300.0070.01016.68
7.2.290.0110.00716.82
7.2.280.0170.00016.76
7.2.270.0110.00616.78
7.2.260.0030.01416.72
7.2.250.0030.01416.58
7.2.240.0000.01616.75
7.2.230.0100.00716.68
7.2.220.0060.01116.75
7.2.210.0090.00916.72
7.2.200.0100.00716.84
7.2.190.0000.01716.74
7.2.180.0030.01416.70
7.2.170.0130.01016.66
7.2.160.0120.00916.50
7.2.150.0140.01116.68
7.2.140.0100.00716.88
7.2.130.0150.00716.81
7.2.120.0140.00616.63
7.2.110.0130.00916.69
7.2.100.0130.01116.99
7.2.90.0170.00716.65
7.2.80.0110.01116.97
7.2.70.0090.01316.70
7.2.60.0160.00616.71
7.2.50.0070.01216.75
7.2.40.0120.00816.60
7.2.30.0140.01016.90
7.2.20.0100.00816.72
7.2.10.0140.00716.70
7.2.00.0070.00917.85
7.1.330.0160.00015.56
7.1.320.0120.00315.71
7.1.310.0080.00815.71
7.1.300.0050.01115.77
7.1.290.0170.00015.44
7.1.280.0100.00615.69
7.1.270.0080.01215.75
7.1.260.0100.00515.53
7.1.250.0120.01015.60
7.1.240.0090.00815.41
7.1.230.0110.01115.76
7.1.220.0050.00915.54
7.1.210.0110.00315.64
7.1.200.0090.00315.91
7.1.190.0100.00715.80
7.1.180.0060.00815.64
7.1.170.0060.00915.69
7.1.160.0080.00815.75
7.1.150.0090.00615.45
7.1.140.0090.00615.84
7.1.130.0060.00815.56
7.1.120.0150.00015.52
7.1.110.0050.01015.76
7.1.100.0060.00617.00
7.1.90.0070.00715.56
7.1.80.0090.00615.65
7.1.70.0060.00616.53
7.1.60.0070.01317.42
7.1.50.0070.00916.47
7.1.40.0100.01015.65
7.1.30.0060.00915.68
7.1.20.0060.00915.61
7.1.10.0090.00615.67
7.1.00.0030.04319.00
7.0.330.0080.01115.46
7.0.320.0070.00715.29
7.0.310.0040.01115.16
7.0.300.0030.01215.43
7.0.290.0120.00315.36
7.0.280.0080.00815.45
7.0.270.0080.00515.35
7.0.260.0080.00815.07
7.0.250.0120.00415.36
7.0.240.0130.00315.51
7.0.230.0130.00615.60
7.0.220.0030.01215.33
7.0.210.0030.01115.34
7.0.200.0020.01016.16
7.0.190.0050.01015.18
7.0.180.0070.00715.26
7.0.170.0040.01115.47
7.0.160.0100.00515.26
7.0.150.0060.00915.39
7.0.140.0060.00815.16
7.0.130.0090.00615.45
7.0.120.0100.00515.35
7.0.110.0060.00915.36
7.0.100.0060.00815.33
7.0.90.0130.00015.22
7.0.80.0080.00815.21
7.0.70.0100.00615.50
7.0.60.0050.04418.46
7.0.50.0120.03716.61
7.0.40.0090.02117.73
7.0.30.0210.02317.84
7.0.20.0100.03317.93
7.0.10.0050.02617.73
7.0.00.0120.03617.73
5.6.400.0160.00315.72
5.6.390.0090.00916.02
5.6.380.0030.01515.84
5.6.370.0060.01716.05
5.6.360.0120.00815.96
5.6.350.0030.01315.77
5.6.340.0110.00915.75
5.6.330.0090.00916.21
5.6.320.0050.01415.64
5.6.310.0060.01115.74
5.6.300.0100.00515.69
5.6.290.0040.01416.21
5.6.280.0050.02118.24
5.6.270.0090.00915.89
5.6.260.0060.00915.69
5.6.250.0150.00415.69
5.6.240.0110.00615.84
5.6.230.0090.00915.96
5.6.220.0100.01016.05
5.6.210.0060.04818.28
5.6.200.0080.03217.11
5.6.190.0070.03618.23
5.6.180.0130.02918.31
5.6.170.0250.03718.29
5.6.160.0120.02018.27
5.6.150.0060.03117.13
5.6.140.0120.01817.09
5.6.130.0060.03517.04
5.6.120.0070.03418.57
5.6.110.0070.04718.45
5.6.100.0070.04518.51
5.6.90.0090.04518.39
5.6.80.0060.03618.17
5.6.70.0150.00915.85
5.6.60.0140.00316.07
5.6.50.0040.01415.89
5.6.40.0080.00815.77
5.6.30.0070.01315.80
5.6.20.0110.01115.91
5.6.10.0120.00615.81
5.6.00.0060.01215.90
5.5.380.0150.00315.57
5.5.370.0030.01415.95
5.5.360.0090.00915.96
5.5.350.0080.04818.09
5.5.340.0090.03716.91
5.5.330.0070.02818.20
5.5.320.0340.04018.04
5.5.310.0130.02618.08
5.5.300.0050.02516.91
5.5.290.0170.03516.90
5.5.280.0090.04518.31
5.5.270.0040.02718.29
5.5.260.0080.04718.27
5.5.250.0080.04118.28
5.5.240.0140.02917.96
5.5.230.0030.01415.88
5.5.220.0140.00415.71
5.5.210.0140.00415.61
5.5.200.0000.01815.78
5.5.190.0080.00815.73
5.5.180.0120.00915.68
5.5.170.0080.01515.82
5.5.160.0070.01115.84
5.5.150.0070.01315.81
5.5.140.0150.00315.80
5.5.130.0060.01215.77
5.5.120.0090.00915.61
5.5.110.0120.00615.62
5.5.100.0120.00615.58
5.5.90.0120.00616.02
5.5.80.0100.01015.99
5.5.70.0070.01115.68
5.5.60.0060.01215.80
5.5.50.0040.01415.71
5.5.40.0070.01315.62
5.5.30.0080.00815.81
5.5.20.0100.01315.93
5.5.10.0100.00915.59
5.5.00.0080.01115.81

preferences:
63.74 ms | 401 KiB | 5 Q