3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ' \leftarrow \longleftarrow \uparrow \Leftarrow \Longleftarrow \Uparrow \rightarrow \longrightarrow \downarrow \Rightarrow \Longrightarrow \Downarrow \leftrightarrow \longleftrightarrow \updownarrow \Leftrightarrow \Longleftrightarrow \Updownarrow \mapsto \longmapsto \nearrow \hookleftarrow \hookrightarrow \searrow \leftharpoonup \rightharpoonup \swarrow \leftharpoondown \rightharpoondown \nwarrow \rightleftharpoons \leadsto$^b$ '; $x = array_filter(preg_split('/\s+/', $x)); sort($x); foreach ($x as $xx) { var_export($xx);echo ",\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.60.0120.00616.63
8.3.50.0090.00921.27
8.3.40.0150.00019.02
8.3.30.0060.00918.73
8.3.20.0030.00620.21
8.3.10.0040.00423.62
8.3.00.0000.00823.71
8.2.180.0090.01318.25
8.2.170.0100.01022.96
8.2.160.0030.01020.39
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00819.95
8.2.120.0070.00026.35
8.2.110.0000.01119.31
8.2.100.0080.00317.93
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0090.00017.91
8.2.50.0040.00418.07
8.2.40.0100.00020.30
8.2.30.0020.00519.34
8.2.20.0000.00717.83
8.2.10.0000.00718.04
8.2.00.0040.00418.13
8.1.280.0120.00325.92
8.1.270.0110.00720.43
8.1.260.0080.00428.09
8.1.250.0040.00428.09
8.1.240.0120.00623.88
8.1.230.0080.00319.14
8.1.220.0040.00417.76
8.1.210.0090.00018.77
8.1.200.0080.00417.48
8.1.190.0070.00317.35
8.1.180.0000.00818.10
8.1.170.0040.00418.65
8.1.160.0070.00020.71
8.1.150.0050.00218.84
8.1.140.0000.00919.59
8.1.130.0000.00717.77
8.1.120.0000.00717.66
8.1.110.0000.00817.50
8.1.100.0000.00817.62
8.1.90.0040.00417.66
8.1.80.0000.00817.50
8.1.70.0040.00417.63
8.1.60.0000.00817.75
8.1.50.0030.00517.56
8.1.40.0040.00417.65
8.1.30.0030.00617.74
8.1.20.0040.00417.72
8.1.10.0050.00317.68
8.1.00.0030.00617.48
8.0.300.0060.00318.77
8.0.290.0040.00416.88
8.0.280.0080.00018.38
8.0.270.0030.00317.28
8.0.260.0080.00017.28
8.0.250.0030.00317.02
8.0.240.0000.00717.13
8.0.230.0040.00417.00
8.0.220.0000.01017.07
8.0.210.0040.00416.90
8.0.200.0030.00617.12
8.0.190.0080.00017.09
8.0.180.0040.00416.89
8.0.170.0000.00817.09
8.0.160.0040.00417.10
8.0.150.0000.00717.01
8.0.140.0050.00216.92
8.0.130.0030.00313.49
8.0.120.0060.00316.99
8.0.110.0040.00417.07
8.0.100.0000.00717.06
8.0.90.0050.00216.95
8.0.80.0120.00917.07
8.0.70.0040.00417.04
8.0.60.0000.00817.04
8.0.50.0040.00417.08
8.0.30.0140.00617.46
8.0.20.0100.00917.46
8.0.10.0040.00417.21
8.0.00.0130.01117.07
7.4.330.0050.00016.80
7.4.320.0020.00516.73
7.4.300.0040.00416.70
7.4.290.0030.00316.77
7.4.280.0030.00816.61
7.4.270.0070.00016.86
7.4.260.0070.00016.72
7.4.250.0080.00016.70
7.4.240.0050.00216.65
7.4.230.0000.00716.52
7.4.220.0030.02016.78
7.4.210.0030.01116.66
7.4.200.0040.00416.80
7.4.160.0060.00916.78
7.4.150.0030.01517.40
7.4.140.0140.00917.86
7.4.130.0060.01216.48
7.4.120.0080.00916.75
7.4.110.0000.01816.72
7.4.100.0060.01216.83
7.4.90.0060.01216.84
7.4.80.0070.01419.39
7.4.70.0150.00816.52
7.4.60.0160.00016.83
7.4.50.0070.00716.43
7.4.40.0030.01316.71
7.4.30.0170.00716.82
7.4.00.0070.00715.25
7.3.330.0000.00613.33
7.3.320.0060.00013.14
7.3.310.0030.00316.29
7.3.300.0000.00716.45
7.3.290.0070.00916.38
7.3.280.0090.00816.42
7.3.270.0070.01117.40
7.3.260.0080.00816.36
7.3.240.0070.01616.77
7.3.230.0040.01616.39
7.3.210.0130.01016.70
7.3.200.0110.01119.39
7.3.190.0110.00816.46
7.3.180.0130.00316.76
7.3.170.0050.01916.64
7.3.160.0000.01616.78
7.2.330.0060.01316.88
7.2.320.0000.01816.77
7.2.310.0130.00616.69
7.2.300.0090.01216.95
7.2.290.0080.01416.75
7.2.60.0060.00916.99
7.2.00.0090.00619.33
7.1.200.0070.00715.95
7.1.100.0070.01018.30
7.1.70.0040.01117.32
7.1.60.0090.01519.27
7.1.50.0110.00317.17
7.1.00.0070.07322.43
7.0.200.0000.00916.63
7.0.60.0100.03021.65
7.0.50.0030.05017.92
7.0.40.0030.08320.26
7.0.30.0530.05320.03
7.0.20.0200.07020.03
7.0.10.0000.04720.07
7.0.00.0130.07720.14
5.6.280.0000.03320.86
5.6.210.0070.08020.62
5.6.200.0000.06318.23
5.6.190.0030.08720.61
5.6.180.0270.04020.39
5.6.170.0330.07020.55
5.6.160.0100.04020.49
5.6.150.0100.03318.12
5.6.140.0000.04318.21
5.6.130.0130.06018.12
5.6.120.0100.09320.99
5.6.110.0070.06721.00
5.6.100.0030.07021.03
5.6.90.0000.06020.87
5.6.80.0030.04020.50
5.5.350.0100.07720.41
5.5.340.0130.05018.02
5.5.330.0030.04020.43
5.5.320.0570.07320.28
5.5.310.0200.07720.33
5.5.300.0030.08718.02
5.5.290.0170.07317.90
5.5.280.0200.06320.76
5.5.270.0070.06320.84
5.5.260.0070.08320.97
5.5.250.0170.07020.65
5.5.240.0000.04020.07

preferences:
53.63 ms | 401 KiB | 5 Q