3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ' \Downarrow \Leftarrow \Leftrightarrow \Longleftarrow \Longleftrightarrow \Longrightarrow \Rightarrow \Uparrow \Updownarrow \downarrow \hookleftarrow \hookrightarrow \leftarrow \leftharpoondown \leftharpoonup \leftrightarrow \longleftarrow \longleftrightarrow \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.40.0090.00618.83
8.3.30.0130.00318.70
8.3.20.0120.00320.21
8.3.10.0040.00423.65
8.3.00.0080.00023.66
8.2.170.0070.00722.96
8.2.160.0150.00620.48
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0060.00319.83
8.2.120.0050.00326.35
8.2.110.0040.00722.11
8.2.100.0060.00617.80
8.2.90.0000.00819.04
8.2.80.0060.00318.05
8.2.70.0040.00417.75
8.2.60.0030.00618.03
8.2.50.0030.00618.07
8.2.40.0090.00320.45
8.2.30.0090.00019.42
8.2.20.0040.00417.73
8.2.10.0040.00418.16
8.2.00.0030.00518.24
8.1.270.0090.00920.23
8.1.260.0070.00428.09
8.1.250.0080.00028.09
8.1.240.0000.00923.91
8.1.230.0070.00418.97
8.1.220.0050.00517.77
8.1.210.0040.00418.77
8.1.200.0000.01017.47
8.1.190.0030.00617.38
8.1.180.0090.00018.10
8.1.170.0080.00018.76
8.1.160.0040.00420.80
8.1.150.0070.00018.84
8.1.140.0050.00319.62
8.1.130.0040.00417.73
8.1.120.0040.00417.61
8.1.110.0040.00417.64
8.1.100.0050.00317.58
8.1.90.0060.00317.53
8.1.80.0040.00417.64
8.1.70.0000.00717.66
8.1.60.0000.00817.75
8.1.50.0000.00817.59
8.1.40.0000.00817.67
8.1.30.0040.00417.80
8.1.20.0040.00417.74
8.1.10.0040.00417.59
8.1.00.0030.00617.68
8.0.300.0080.00018.77
8.0.290.0040.00416.88
8.0.280.0070.00018.54
8.0.270.0030.00617.34
8.0.260.0000.00617.20
8.0.250.0030.00317.22
8.0.240.0030.00317.14
8.0.230.0060.00317.11
8.0.220.0080.00216.95
8.0.210.0070.00017.11
8.0.200.0040.00417.12
8.0.190.0030.00617.02
8.0.180.0050.00316.96
8.0.170.0040.00417.14
8.0.160.0000.00817.02
8.0.150.0000.00716.98
8.0.140.0040.00416.89
8.0.130.0030.00313.46
8.0.120.0000.00916.93
8.0.110.0000.00717.06
8.0.100.0070.00017.02
8.0.90.0040.00417.04
8.0.80.0100.00616.98
8.0.70.0000.00716.91
8.0.60.0040.00416.85
8.0.50.0000.00817.09
8.0.30.0140.00617.12
8.0.20.0150.00717.40
8.0.10.0000.00717.24
8.0.00.0100.01217.00
7.4.330.0060.00016.86
7.4.320.0000.00716.73
7.4.300.0070.00016.78
7.4.290.0050.00216.64
7.4.280.0060.00316.84
7.4.270.0000.00716.86
7.4.260.0020.00516.73
7.4.250.0080.00016.75
7.4.240.0000.00816.70
7.4.230.0000.00716.73
7.4.220.0130.01016.87
7.4.210.0070.00716.79
7.4.200.0070.00016.74
7.4.160.0100.00716.71
7.4.150.0070.01117.40
7.4.140.0150.00817.86
7.4.130.0140.00716.71
7.4.120.0140.00716.82
7.4.110.0090.00916.70
7.4.100.0200.00416.62
7.4.90.0060.01116.64
7.4.80.0110.01119.39
7.4.70.0100.00616.82
7.4.60.0090.00816.51
7.4.50.0070.00916.51
7.4.40.0030.01316.64
7.4.30.0130.00316.64
7.4.20.0070.01016.40
7.4.10.0130.01016.60
7.4.00.0090.00716.20
7.3.330.0060.00013.44
7.3.320.0000.00513.31
7.3.310.0000.00716.47
7.3.300.0030.00316.34
7.3.290.0090.00716.42
7.3.280.0060.01316.47
7.3.270.0120.00617.40
7.3.260.0120.00616.42
7.3.240.0080.01416.50
7.3.230.0100.00716.39
7.3.210.0040.01516.76
7.3.200.0060.01019.39
7.3.190.0080.00816.45
7.3.180.0080.00916.81
7.3.170.0100.00716.62
7.3.160.0090.00616.35
7.3.150.0070.01016.68
7.3.140.0120.00416.71
7.3.130.0140.00716.38
7.3.120.0040.01216.84
7.3.110.0100.00616.50
7.3.100.0060.01216.51
7.3.90.0080.00816.38
7.3.80.0060.01116.26
7.3.70.0090.00916.48
7.3.60.0130.01016.11
7.3.50.0130.00316.18
7.3.40.0110.00516.46
7.3.30.0030.01316.40
7.3.20.0030.01616.55
7.3.10.0090.00816.50
7.3.00.0090.00916.54
7.2.330.0130.00516.82
7.2.320.0070.01016.73
7.2.310.0060.01116.74
7.2.300.0040.01216.53
7.2.290.0030.01316.69
7.2.280.0100.00716.91
7.2.270.0030.02016.69
7.2.260.0190.00316.84
7.2.250.0090.00716.71
7.2.240.0060.01016.68
7.2.230.0150.00316.66
7.2.220.0090.00916.66
7.2.210.0100.01116.83
7.2.200.0170.00716.68
7.2.190.0090.00916.70
7.2.180.0070.00916.66
7.2.170.0090.00816.91
7.2.160.0100.00716.45
7.2.150.0040.01416.77
7.2.140.0100.00716.84
7.2.130.0060.01116.77
7.2.120.0120.00716.73
7.2.110.0060.00916.74
7.2.100.0070.01016.88
7.2.90.0090.00716.81
7.2.80.0120.00816.92
7.2.70.0150.00516.85
7.2.60.0060.00916.79
7.2.50.0080.01116.66
7.2.40.0150.01116.81
7.2.30.0120.00816.84
7.2.20.0120.00917.03
7.2.10.0140.01016.91
7.2.00.0090.00817.60
7.1.330.0290.00315.47
7.1.320.0070.01015.77
7.1.310.0040.01315.83
7.1.300.0040.01315.70
7.1.290.0340.01215.61
7.1.280.0170.00015.85
7.1.270.0120.00615.68
7.1.260.0060.00815.50
7.1.250.0070.01015.72
7.1.240.0160.00015.50
7.1.230.0060.00915.69
7.1.220.0110.00515.84
7.1.210.0030.01315.84
7.1.200.0130.00915.93
7.1.190.0120.00615.75
7.1.180.0070.00715.64
7.1.170.0070.01015.65
7.1.160.0100.00615.70
7.1.150.0060.00915.53
7.1.140.0030.01215.76
7.1.130.0070.01015.61
7.1.120.0000.01615.81
7.1.110.0070.01015.59
7.1.100.0090.00317.02
7.1.90.0030.01315.65
7.1.80.0040.01215.74
7.1.70.0080.00316.58
7.1.60.0130.00617.48
7.1.50.0120.00416.48
7.1.40.0100.00615.81
7.1.30.0040.01115.67
7.1.20.0070.00715.85
7.1.10.0040.01215.64
7.1.00.0050.04319.18
7.0.330.0060.00915.34
7.0.320.0090.00615.32
7.0.310.0060.01315.18
7.0.300.0090.00615.37
7.0.290.0070.00715.38
7.0.280.0070.00715.55
7.0.270.0150.00015.40
7.0.260.0120.00615.23
7.0.250.0070.01015.39
7.0.240.0120.00415.57
7.0.230.0030.01215.34
7.0.220.0060.00915.40
7.0.210.0140.00015.46
7.0.200.0030.00816.05
7.0.190.0130.00315.55
7.0.180.0100.00415.51
7.0.170.0040.01115.49
7.0.160.0040.01115.36
7.0.150.0080.00815.16
7.0.140.0090.00615.46
7.0.130.0060.00915.36
7.0.120.0050.01115.44
7.0.110.0080.00715.25
7.0.100.0110.00415.39
7.0.90.0070.00915.50
7.0.80.0120.00315.39
7.0.70.0120.00315.36
7.0.60.0060.02818.46
7.0.50.0090.02916.63
7.0.40.0080.03017.68
7.0.30.0160.04817.84
7.0.20.0160.04117.88
7.0.10.0090.02317.69
7.0.00.0050.03517.80
5.6.400.0090.00916.03
5.6.390.0050.01116.15
5.6.380.0030.01315.89
5.6.370.0220.00016.02
5.6.360.0090.00915.80
5.6.350.0030.01415.98
5.6.340.0110.00715.81
5.6.330.0070.01015.71
5.6.320.0090.00816.11
5.6.310.0070.01016.13
5.6.300.0130.00516.20
5.6.290.0070.01115.96
5.6.280.0090.01818.38
5.6.270.0070.01216.09
5.6.260.0120.00616.20
5.6.250.0130.00615.64
5.6.240.0110.00715.84
5.6.230.0090.00815.84
5.6.220.0120.00616.00
5.6.210.0100.04318.25
5.6.200.0080.03217.06
5.6.190.0100.04918.19
5.6.180.0190.02618.21
5.6.170.0280.03318.12
5.6.160.0050.02518.26
5.6.150.0080.04217.07
5.6.140.0110.04317.04
5.6.130.0050.04717.11
5.6.120.0050.04718.42
5.6.110.0120.04518.41
5.6.100.0070.04618.43
5.6.90.0050.04818.44
5.6.80.0050.04518.28
5.6.70.0030.01315.80
5.6.60.0080.00815.99
5.6.50.0060.00915.57
5.6.40.0060.01115.70
5.6.30.0100.00716.00
5.6.20.0060.01215.75
5.6.10.0090.00816.11
5.6.00.0180.00015.90
5.5.380.0130.00615.76
5.5.370.0070.01015.93
5.5.360.0030.01615.82
5.5.350.0100.04217.98
5.5.340.0000.05416.97
5.5.330.0140.04117.89
5.5.320.0430.02018.01
5.5.310.0200.03518.03
5.5.300.0030.02716.86
5.5.290.0100.03016.87
5.5.280.0120.02718.31
5.5.270.0020.02818.34
5.5.260.0070.04618.29
5.5.250.0100.04218.19
5.5.240.0080.03917.92
5.5.230.0030.01415.78
5.5.220.0080.01015.85
5.5.210.0070.01115.84
5.5.200.0030.01415.98
5.5.190.0120.00615.73
5.5.180.0090.00915.83
5.5.170.0150.00315.85
5.5.160.0150.00315.84
5.5.150.0060.01115.84
5.5.140.0090.00915.79
5.5.130.0110.00715.77
5.5.120.0000.01815.69
5.5.110.0130.00615.90
5.5.100.0000.01815.59
5.5.90.0090.00915.72
5.5.80.0170.00015.55
5.5.70.0110.00715.84
5.5.60.0070.01015.86
5.5.50.0070.01115.64
5.5.40.0120.00615.63
5.5.30.0120.00615.70
5.5.20.0110.00715.74
5.5.10.0070.01115.65
5.5.00.0070.01115.71

preferences:
50.57 ms | 400 KiB | 5 Q