3v4l.org

run code in 300+ PHP versions simultaneously
<?php function formatLink($post) { if(preg_match('/^\>\>[0-9]{+}$/', $post)) { return "<font color=\"red\">".htmlentities($post)."</font>"; } else { return "<font color=\"#b7b7b7\">".htmlentities($post)."</font>"; } } echo formatLink(">>86721678");

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.0beta10.0110.01416.88
8.0.0alpha30.0160.00716.75
8.0.0alpha20.0030.01416.70
8.0.0alpha10.0070.01016.68
7.4.80.0060.01819.39
7.4.70.0100.00716.76
7.4.60.0050.01616.55
7.4.50.0030.00516.70
7.4.40.0030.00922.77
7.4.30.0110.00616.71
7.4.00.0030.01214.93
7.3.200.0130.01019.39
7.3.190.0090.01216.72
7.3.180.0170.00016.57
7.3.170.0070.01016.38
7.3.160.0060.01116.42
7.3.120.0070.00714.59
7.2.320.0080.01316.82
7.2.310.0060.01916.57
7.2.300.0070.01416.56
7.2.290.0040.01216.70
7.2.120.1020.00714.77
7.2.110.1730.00314.58
7.2.100.2870.00714.54
7.2.90.1110.01314.89
7.2.80.0150.00414.54
7.2.70.2330.00315.20
7.2.60.0910.01216.03
7.2.50.0660.00716.14
7.2.40.0730.01315.13
7.2.30.1910.00715.02
7.2.20.1010.00315.11
7.2.10.0690.00315.10
7.2.00.0590.01015.09
7.1.240.1080.00314.19
7.1.230.1350.00613.91
7.1.220.1340.01013.87
7.1.210.1290.00313.81
7.1.200.0090.00814.83
7.1.190.1230.01013.65
7.1.180.1120.01713.73
7.1.170.0870.00613.91
7.1.160.0920.01013.70
7.1.150.0740.00313.95
7.1.140.0620.01013.68
7.1.130.0930.00614.02
7.1.120.0500.01313.92
7.1.110.0730.00314.07
7.1.100.0690.00713.77
7.1.90.0590.00414.08
7.1.80.0790.00314.13
7.1.70.0400.00815.65
7.1.60.0420.00516.56
7.1.50.0390.01315.45
7.1.40.0700.00713.64
7.1.30.0460.01014.00
7.1.20.0430.00914.09
7.1.10.0420.01014.01
7.1.00.0170.04318.19
7.0.320.2440.01313.61
7.0.310.1420.00713.50
7.0.300.2240.00013.86
7.0.290.0840.00413.34
7.0.280.0770.00713.47
7.0.270.0830.01013.88
7.0.260.0800.01013.50
7.0.250.0910.00313.86
7.0.240.0770.01313.57
7.0.230.0830.01013.84
7.0.220.0470.00413.59
7.0.210.0650.00713.72
7.0.200.2070.00715.14
7.0.190.0560.00313.87
7.0.180.0670.00713.39
7.0.170.0660.00713.51
7.0.160.0510.00613.58
7.0.150.0520.01013.80
7.0.140.0300.03517.89
7.0.130.0480.00313.74
7.0.120.0320.00813.71
7.0.110.0350.00513.76
7.0.100.0250.00913.59
7.0.90.0390.00713.47
7.0.80.0290.01313.40
7.0.70.0240.01613.84
7.0.60.0290.04416.83
7.0.50.0290.02215.77
7.0.40.0210.04116.99
7.0.30.0290.02816.79
7.0.20.0300.02316.86
7.0.10.0210.04516.78
7.0.00.0150.02716.90
5.6.380.0120.00614.52
5.6.370.0050.01614.23
5.6.360.0080.01214.59
5.6.350.0070.01514.48
5.6.340.0170.00414.40
5.6.330.0140.00514.05
5.6.320.0110.00713.96
5.6.310.0040.01914.20
5.6.300.0120.00913.98
5.6.290.0130.00614.47
5.6.280.0130.03717.68
5.6.270.0130.00714.20
5.6.260.0140.00714.21
5.6.250.0120.00914.30
5.6.240.0070.01114.23
5.6.230.0130.00814.27
5.6.220.0090.00914.25
5.6.210.0150.02517.47
5.6.200.0100.02316.30
5.6.190.0030.03117.32
5.6.180.0240.03717.42
5.6.170.0250.04417.46
5.6.160.0090.03217.29
5.6.150.0060.04216.09
5.6.140.0080.02616.30
5.6.130.0170.04016.34
5.6.120.0130.03417.49
5.6.110.0120.04317.50
5.6.100.0060.05017.68
5.6.90.0100.02817.54
5.6.80.0050.04417.31
5.6.70.0090.00914.11
5.6.60.0180.00014.29
5.6.50.0130.00614.03
5.6.40.0160.00514.28
5.6.30.0170.00314.22
5.6.20.0150.00714.02
5.6.10.0170.00314.35
5.6.00.0120.00814.24
5.5.380.0050.01012.00
5.5.370.0120.00412.00
5.5.360.0140.00212.00
5.5.350.0110.01816.21
5.5.340.0120.02314.97
5.5.330.0070.04216.13
5.5.320.1820.02116.15
5.5.310.0180.04416.16
5.5.300.0060.02314.97
5.5.290.0030.03315.03
5.5.280.0100.04216.33
5.5.270.0080.03216.33
5.5.260.0080.03216.43
5.5.250.0150.03616.33
5.5.240.0100.03916.12
5.5.230.0080.00612.00
5.5.220.0110.00512.00
5.5.210.0100.00712.00
5.5.200.0150.00012.00
5.5.190.0120.00412.00
5.5.180.0100.00712.00
5.5.170.0170.00314.12
5.5.160.0040.01212.00
5.5.150.0120.00612.00
5.5.140.0090.00312.00
5.5.130.0030.01012.00
5.5.120.0140.00012.00
5.5.110.0090.00512.00
5.5.100.0130.00312.00
5.5.90.0170.00012.00
5.5.80.0160.00012.00
5.5.70.0100.00312.00
5.5.60.0060.00612.00
5.5.50.0100.00512.00
5.5.40.0080.00812.00
5.5.30.0030.01312.00
5.5.20.0120.00112.00
5.5.10.0070.00712.00
5.5.00.0110.00312.00
5.4.450.0840.02115.75
5.4.440.0840.02215.78
5.4.430.0840.02115.58
5.4.420.0490.02315.74
5.4.410.0080.02015.63
5.4.400.0100.01715.60
5.4.390.0100.01715.60
5.4.380.0620.02215.59
5.4.370.0860.01815.44
5.4.360.0810.02315.54
5.4.350.0100.03515.42
5.4.340.0090.02015.62
5.4.330.0160.00012.00
5.4.320.0200.01715.66
5.4.310.0780.02015.53
5.4.300.0830.02015.42
5.4.290.0810.02115.58
5.4.280.0850.02515.63
5.4.270.0940.01815.61
5.4.260.0820.02215.54
5.4.250.0780.02515.66
5.4.240.0830.02015.42
5.4.230.0900.01815.61
5.4.220.0860.01715.53
5.4.210.1020.02715.50
5.4.200.0400.02715.53
5.4.190.0120.03715.54
5.4.180.0060.04115.54
5.4.170.0900.02015.54
5.4.160.0870.02215.43
5.4.150.0850.01815.56
5.4.140.0940.02114.22
5.4.130.0900.02514.29
5.4.120.0820.01814.24
5.4.110.0930.02414.30
5.4.100.0880.02514.29
5.4.90.0790.02314.20
5.4.80.0890.02114.22
5.4.70.0890.02514.22
5.4.60.0080.03714.29
5.4.50.0100.02014.25
5.4.40.0380.02714.16
5.4.30.0930.02014.21
5.4.20.0820.01814.17
5.4.10.0950.02414.28
5.4.00.0900.02613.90
5.3.290.0850.02113.34
5.3.280.0880.02413.24
5.3.270.0880.02213.29
5.3.260.1010.02013.31
5.3.250.0880.02013.31
5.3.240.0970.02113.25
5.3.230.0330.02913.25
5.3.220.0020.04413.24
5.3.210.0060.02513.29
5.3.200.0270.03613.29
5.3.190.0840.01813.31
5.3.180.0830.01813.39
5.3.170.0910.02313.31
5.3.160.0870.02113.39
5.3.150.0950.02513.29
5.3.140.0810.01513.23
5.3.130.0880.01813.23
5.3.120.0960.02313.28
5.3.110.0920.03013.23
5.3.100.0890.02512.97
5.3.90.0300.02313.04
5.3.80.0100.03613.01
5.3.70.0110.04112.96
5.3.60.0830.01513.12
5.3.50.0900.02513.02
5.3.40.0940.02612.98
5.3.30.0870.02312.96
5.3.20.0810.02112.88
5.3.10.0830.01812.91
5.3.00.0800.01612.88