3v4l.org

run code in 300+ PHP versions simultaneously
<?php $reg = '/twitter.com/(\w+)/'; $web = 'http://twitter.com/dcavuotti'; $arrMatches = array(); if (preg_match($reg,$web, $arrMatches)){ var_dump($arrMatches); }

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.0150.00616.63
8.3.50.0120.00517.29
8.3.40.0090.00618.85
8.3.30.0170.00318.68
8.3.20.0000.00818.51
8.3.10.0060.00320.53
8.3.00.0120.00017.25
8.2.180.0120.00318.54
8.2.170.0120.00322.96
8.2.160.0150.00020.34
8.2.150.0080.00024.18
8.2.140.0120.00324.66
8.2.130.0150.00426.16
8.2.120.0040.00420.35
8.2.110.0030.00622.25
8.2.100.0070.00417.72
8.2.90.0090.00020.95
8.2.80.0070.00019.38
8.2.70.0050.00317.50
8.2.60.0040.00417.78
8.2.50.0060.00318.07
8.2.40.0000.00818.03
8.2.30.0060.00317.97
8.2.20.0040.00417.46
8.2.10.0000.00717.71
8.2.00.0000.00717.66
8.1.270.0040.00424.66
8.1.260.0050.00326.35
8.1.250.0030.00628.09
8.1.240.0000.01024.00
8.1.230.0090.00320.95
8.1.220.0060.00317.74
8.1.210.0050.00318.89
8.1.200.0030.00617.22
8.1.190.0040.00417.53
8.1.180.0040.00418.10
8.1.170.0080.00018.84
8.1.160.0000.00818.80
8.1.150.0070.00018.48
8.1.140.0030.00617.30
8.1.130.0000.00717.74
8.1.120.0000.00717.28
8.1.110.0000.00717.38
8.1.100.0000.00717.25
8.1.90.0000.00817.42
8.1.80.0000.00817.37
8.1.70.0070.00017.33
8.1.60.0060.00317.49
8.1.50.0070.00017.31
8.1.40.0000.00817.37
8.1.30.0040.00417.57
8.1.20.0040.00417.52
8.1.10.0040.00417.59
8.1.00.0060.00317.43
8.0.300.0050.00320.03
8.0.290.0070.00016.58
8.0.280.0070.00018.24
8.0.270.0030.00317.21
8.0.260.0030.00316.73
8.0.250.0050.00216.91
8.0.240.0070.00016.84
8.0.230.0030.00316.84
8.0.220.0040.00416.90
8.0.210.0000.00716.86
8.0.200.0000.00616.82
8.0.190.0050.00316.96
8.0.180.0070.00016.95
8.0.170.0050.00316.74
8.0.160.0000.00716.87
8.0.150.0050.00316.81
8.0.140.0040.00416.80
8.0.130.0030.00313.32
8.0.120.0060.00316.77
8.0.110.0000.00716.83
8.0.100.0040.00416.86
8.0.90.0000.01016.92
8.0.80.0040.01116.88
8.0.70.0000.00716.81
8.0.60.0030.00316.75
8.0.50.0000.00716.78
8.0.30.0130.01017.11
8.0.20.0100.00816.91
8.0.10.0050.00316.82
8.0.00.0040.01316.68
7.4.330.0030.00312.95
7.4.320.0070.00016.43
7.4.300.0060.00016.44
7.4.290.0030.00316.58
7.4.280.0050.00316.45
7.4.270.0070.00016.32
7.4.260.0030.00313.25
7.4.250.0000.00816.49
7.4.240.0030.00316.47
7.4.230.0040.00216.32
7.4.220.0140.00716.48
7.4.210.0070.00816.42
7.4.200.0000.00716.64
7.4.190.0000.00716.66
7.4.160.0070.01016.23
7.4.150.0110.00716.48
7.4.140.0090.00816.51
7.4.130.0120.00716.46
7.4.120.0070.01016.47
7.4.110.0090.00916.44
7.4.100.0070.01016.19
7.4.90.0120.00616.53
7.4.80.0170.00016.42
7.4.70.0100.00616.39
7.4.60.0030.01316.54
7.4.50.0000.01316.20
7.4.40.0040.01116.56
7.4.30.0130.00316.07
7.4.00.0040.00814.95
7.3.330.0030.00313.09
7.3.320.0030.00312.98
7.3.310.0030.00316.29
7.3.300.0030.00316.21
7.3.290.0090.00916.18
7.3.280.0110.00816.16
7.3.270.0030.01516.18
7.3.260.0150.00316.27
7.3.250.0100.01116.24
7.3.240.0090.00616.33
7.3.230.0140.00816.14
7.3.210.0100.00716.30
7.3.200.0140.00619.39
7.3.190.0070.01116.34
7.3.180.0090.00616.39
7.3.170.0030.01316.16
7.3.160.0090.00616.22
7.3.120.0080.00414.65
7.2.330.0110.00616.33
7.2.320.0130.01016.49
7.2.310.0060.01816.54
7.2.300.0100.00716.37
7.2.290.0070.01016.53
7.2.00.0060.00619.36
7.1.100.0090.00618.13
7.1.70.0160.00016.91
7.1.60.0070.01719.40
7.1.50.0030.00716.97
7.1.00.0100.05322.40
7.0.200.0060.00614.86
7.0.140.0030.07322.11
7.0.120.0100.06722.05
7.0.60.0100.06720.02
7.0.50.0070.05717.77
7.0.40.0030.04319.98
7.0.30.0200.07720.16
7.0.20.0170.04320.13
7.0.10.0030.07320.00
7.0.00.0070.04020.01
5.6.280.0000.07721.02
5.6.210.0070.06720.76
5.6.200.0100.07718.13
5.6.190.0030.04320.67
5.6.180.0530.05720.67
5.6.170.0470.07020.41
5.6.160.0070.05720.52
5.6.150.0070.07318.09
5.6.140.0070.03718.10
5.6.130.0070.03718.14
5.6.120.0100.04021.12
5.6.110.0230.07320.98
5.6.100.0000.08720.96
5.6.90.0000.05021.12
5.6.80.0130.07320.35
5.5.350.0230.08020.38
5.5.340.0070.03718.03
5.5.330.0100.06320.20
5.5.320.0400.07320.27
5.5.310.0230.05020.24
5.5.300.0030.04717.91
5.5.290.0130.07317.92
5.5.280.0070.07720.87
5.5.270.0070.06020.82
5.5.260.0070.08020.67
5.5.250.0030.04320.68
5.5.240.0030.07020.26
5.4.450.0000.04319.13
5.4.440.0070.04319.13
5.4.430.0000.04319.40
5.4.420.0000.04719.07
5.4.410.0100.07719.34
5.4.400.0030.06018.93
5.4.390.0070.06018.79
5.4.380.0000.07319.08
5.4.370.0070.05018.81
5.4.360.0130.07319.18
5.4.350.0100.05019.14
5.4.340.0070.05019.18
5.4.320.0070.07718.79
5.4.310.0030.05318.79
5.4.300.0000.04318.92
5.4.290.0030.04319.11
5.4.280.0100.07019.13
5.4.270.0030.05719.11
5.4.260.0070.06319.18
5.4.250.0100.03018.77
5.4.240.0030.04018.88
5.4.230.0070.03718.78
5.4.220.0070.03718.80
5.4.210.0130.04018.91
5.4.200.0070.05318.90
5.4.190.0070.03719.07
5.4.180.0000.04018.90
5.4.170.0100.03319.16
5.4.160.0170.07319.13
5.4.150.0170.06719.06
5.4.140.0100.07016.25
5.4.130.0100.05016.43
5.4.120.0130.05716.34
5.4.110.0130.06716.24
5.4.100.0070.04016.41
5.4.90.0130.04716.61
5.4.80.0030.05716.59
5.4.70.0130.04316.23
5.4.60.0000.07316.34
5.4.50.0030.07316.36
5.4.40.0130.06716.21
5.4.30.0070.05316.23
5.4.20.0100.06316.36
5.4.10.0030.07016.12
5.4.00.0000.07715.61
5.3.290.0000.05314.50
5.3.280.0030.04014.47
5.3.270.0130.07014.55
5.3.260.0070.07014.52
5.3.250.0100.04314.54
5.3.240.0030.05014.53
5.3.230.0030.05314.55
5.3.220.0000.07014.50
5.3.210.0070.04314.54
5.3.200.0070.05714.49
5.3.190.0070.05014.50
5.3.180.0030.05714.48
5.3.170.0030.08314.64
5.3.160.0070.05014.38
5.3.150.0130.05014.54
5.3.140.0000.08314.52
5.3.130.0070.08014.46
5.3.120.0130.03314.49
5.3.110.0070.07714.63
5.3.100.0130.04013.97
5.3.90.0030.04013.84
5.3.80.0070.07713.83
5.3.70.0000.07714.00
5.3.60.0100.07013.93
5.3.50.0100.07013.87
5.3.40.0200.05313.96
5.3.30.0030.05013.84
5.3.20.0070.07013.62
5.3.10.0100.07313.63
5.3.00.0070.07713.45
5.2.170.0030.05711.02
5.2.160.0100.06011.15
5.2.150.0100.05011.23
5.2.140.0030.03011.31
5.2.130.0030.05311.08
5.2.120.0130.06311.04
5.2.110.0030.03711.07
5.2.100.0070.05711.04
5.2.90.0030.06711.04
5.2.80.0030.05711.03
5.2.70.0070.03011.07
5.2.60.0100.02310.98
5.2.50.0130.03311.02
5.2.40.0030.04010.96
5.2.30.0030.03711.13
5.2.20.0070.03010.89
5.2.10.0000.03010.85
5.2.00.0000.03010.70
5.1.60.0030.0579.99
5.1.50.0100.0539.98
5.1.40.0030.0339.92
5.1.30.0070.05010.21
5.1.20.0170.03010.35
5.1.10.0070.03010.06
5.1.00.0100.05010.14
5.0.50.0070.0438.45
5.0.40.0070.0408.38
5.0.30.0100.0608.19
5.0.20.0070.0378.17
5.0.10.0070.0438.16
5.0.00.0000.0508.16
4.4.90.0030.0208.16
4.4.80.0030.0238.16
4.4.70.0030.0208.16
4.4.60.0000.0378.16
4.4.50.0000.0308.16
4.4.40.0000.0338.16
4.4.30.0000.0308.16
4.4.20.0000.0338.16
4.4.10.0000.0308.16
4.4.00.0070.0508.16
4.3.110.0030.0278.16
4.3.100.0030.0338.16
4.3.90.0000.0338.16
4.3.80.0000.0438.16
4.3.70.0030.0308.16
4.3.60.0030.0378.16
4.3.50.0030.0208.16
4.3.40.0030.0378.16
4.3.30.0000.0208.16
4.3.20.0000.0238.16
4.3.10.0070.0338.16
4.3.00.0030.0138.16

preferences:
57.52 ms | 400 KiB | 5 Q