3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = array('text1', 'text2', 'text-fixed-font3'); foreach($text as $str) { preg_match_all('#\d+#', $str, $matches); var_dump($matches[0]); }

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.0110.00418.43
8.3.50.0220.00423.07
8.3.40.0100.01018.93
8.3.30.0090.00618.95
8.3.20.0040.00420.39
8.3.10.0040.00421.77
8.3.00.0080.00017.75
8.2.180.0170.00318.17
8.2.170.0090.00922.96
8.2.160.0050.00920.52
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00320.58
8.2.110.0080.00322.12
8.2.100.0040.00817.91
8.2.90.0060.00317.75
8.2.80.0060.00317.97
8.2.70.0000.00818.04
8.2.60.0000.00818.05
8.2.50.0030.00518.10
8.2.40.0030.00522.04
8.2.30.0040.00418.16
8.2.20.0050.00217.96
8.2.10.0050.00217.95
8.2.00.0030.00617.74
8.1.280.0100.00325.92
8.1.270.0050.00323.84
8.1.260.0030.00526.35
8.1.250.0030.00628.09
8.1.240.0090.00023.92
8.1.230.0040.00719.07
8.1.220.0060.00317.76
8.1.210.0050.00318.77
8.1.200.0040.00417.48
8.1.190.0000.00917.35
8.1.180.0030.00618.10
8.1.170.0040.00418.59
8.1.160.0000.00721.98
8.1.150.0070.00018.80
8.1.140.0000.00717.59
8.1.130.0000.00717.78
8.1.120.0070.00017.63
8.1.110.0000.00817.59
8.1.100.0070.00017.51
8.1.90.0040.00417.62
8.1.80.0000.00717.52
8.1.70.0000.00817.46
8.1.60.0030.00517.61
8.1.50.0000.00817.51
8.1.40.0030.00517.64
8.1.30.0040.00417.84
8.1.20.0040.00417.62
8.1.10.0000.00817.75
8.1.00.0070.00317.54
8.0.300.0000.00819.46
8.0.290.0040.00416.75
8.0.280.0000.00718.36
8.0.270.0030.00317.27
8.0.260.0030.00317.27
8.0.250.0000.00717.16
8.0.240.0040.00417.10
8.0.230.0040.00417.06
8.0.220.0000.00717.02
8.0.210.0050.00217.02
8.0.200.0030.00317.07
8.0.190.0070.00017.07
8.0.180.0070.00016.95
8.0.170.0050.00216.99
8.0.160.0030.00417.04
8.0.150.0000.00716.97
8.0.140.0040.01117.04
8.0.130.0030.00313.34
8.0.120.0040.00416.98
8.0.110.0050.00216.92
8.0.100.0020.00517.02
8.0.90.0000.00716.92
8.0.80.0100.00717.02
8.0.70.0000.00816.84
8.0.60.0000.00716.92
8.0.50.0040.00417.07
8.0.30.0060.01217.11
8.0.20.0050.01417.43
8.0.10.0000.00917.02
8.0.00.0090.00816.95
7.4.330.0000.00515.00
7.4.320.0000.00616.84
7.4.300.0070.00016.70
7.4.290.0030.00316.82
7.4.280.0000.00716.59
7.4.270.0000.00716.66
7.4.260.0000.00816.75
7.4.250.0040.00416.77
7.4.240.0030.00316.75
7.4.230.0030.00316.68
7.4.220.0080.01116.87
7.4.210.0150.00316.67
7.4.200.0050.00216.63
7.4.160.0080.00816.64
7.4.150.0050.01417.40
7.4.140.0100.01717.86
7.4.130.0090.00816.63
7.4.120.0160.00516.69
7.4.110.0030.01316.68
7.4.100.0120.00416.57
7.4.90.0100.00816.59
7.4.80.0120.00919.39
7.4.70.0100.01316.49
7.4.60.0150.00716.69
7.4.50.0030.00616.47
7.4.40.0080.01116.68
7.4.30.0050.01416.88
7.4.00.0080.00815.16
7.3.330.0060.00013.28
7.3.320.0050.00013.30
7.3.310.0070.00016.41
7.3.300.0030.00316.49
7.3.290.0120.00616.43
7.3.280.0110.00716.42
7.3.270.0110.00617.40
7.3.260.0080.01116.74
7.3.250.0090.00916.54
7.3.240.0000.02116.78
7.3.230.0100.00716.62
7.3.210.0140.00316.61
7.3.200.0030.01619.39
7.3.190.0110.00716.79
7.3.180.0060.01216.42
7.3.170.0080.00816.38
7.3.160.0040.01216.52
7.3.120.0070.01015.01
7.3.110.0090.00615.04
7.3.100.0060.00614.92
7.3.90.0050.01114.91
7.3.80.0070.00714.91
7.3.70.0080.00615.07
7.3.60.0050.00914.90
7.3.50.0090.00314.88
7.3.40.0050.00915.17
7.3.30.0040.01114.82
7.3.20.0060.00916.77
7.3.10.0070.00516.78
7.3.00.0040.00816.66
7.2.330.0130.00316.88
7.2.320.0150.00316.76
7.2.310.0080.00816.88
7.2.300.0060.01616.70
7.2.290.0030.01416.63
7.2.250.0030.01315.36
7.2.240.0070.00815.23
7.2.230.0100.00615.33
7.2.220.0080.00915.19
7.2.210.0020.01415.11
7.2.200.0070.00515.20
7.2.190.0020.01215.20
7.2.180.0010.01215.17
7.2.170.0020.01315.23
7.2.160.0050.00515.06
7.2.150.0070.01017.14
7.2.140.0100.00717.35
7.2.130.0040.01116.98
7.2.120.0030.01117.10
7.2.110.0060.00617.04
7.2.100.0030.01316.96
7.2.90.0070.01017.00
7.2.80.0070.01017.04
7.2.70.0120.00317.16
7.2.60.0030.01416.94
7.2.50.0000.01517.29
7.2.40.0000.01317.02
7.2.30.0060.01017.06
7.2.20.0030.00917.21
7.2.10.0100.00317.25
7.2.00.0030.01517.14
7.1.330.0070.00715.88
7.1.320.0070.00715.91
7.1.310.0060.00716.01
7.1.300.0060.00815.92
7.1.290.0060.00815.96
7.1.280.0080.00616.02
7.1.270.0050.00915.83
7.1.260.0040.01016.08
7.1.250.0000.01516.01
7.1.70.0040.00717.30
7.1.60.0160.00919.40
7.1.50.0100.00316.88
7.1.00.0030.07722.29
7.0.200.0000.00717.02
7.0.140.0100.06721.99
7.0.60.0100.08320.03
7.0.50.0030.05017.82
7.0.40.0100.07719.98
7.0.30.0200.04320.14
7.0.20.0300.07020.35
7.0.10.0330.06020.21
7.0.00.0030.04020.14
5.6.280.0100.06320.89
5.6.210.0030.08720.45
5.6.200.0070.08018.09
5.6.190.0030.08720.60
5.6.180.4170.04020.46
5.6.170.0170.05020.52
5.6.160.0070.05020.53
5.6.150.0170.04018.22
5.6.140.0070.08018.15
5.6.130.0030.04018.18
5.6.120.0070.08321.03
5.6.110.0130.04721.00
5.6.100.0100.07720.98
5.6.90.0030.04020.97
5.6.80.0100.06320.37
5.5.350.0030.08720.38
5.5.340.0100.08317.98
5.5.330.0100.08320.19
5.5.320.0330.06320.24
5.5.310.0130.05020.17
5.5.300.0000.04317.89
5.5.290.0070.07717.88
5.5.280.0170.08020.87
5.5.270.0200.06320.76
5.5.260.0100.03320.82
5.5.250.0070.03720.77
5.5.240.0230.06720.16
5.4.450.0170.04719.43
5.4.440.0330.04719.54
5.4.430.0200.05019.57
5.4.420.0270.04719.54
5.4.410.0130.04019.44
5.4.400.0130.04018.83
5.4.390.0370.03718.89
5.4.380.0430.04718.55
5.4.370.0270.06018.62
5.4.360.0400.04718.78
5.4.350.0430.06718.68
5.4.340.0400.05018.50
5.4.320.0050.03812.46
5.4.310.0090.04112.45
5.4.300.0080.04212.45
5.4.290.0070.04412.46
5.4.280.0070.03712.35
5.4.270.0060.03812.35
5.4.260.0100.03912.35
5.4.250.0120.04512.35
5.4.240.0050.05612.35
5.4.230.0070.04112.34
5.4.220.0060.04012.34
5.4.210.0080.03712.34
5.4.200.0070.03712.34
5.4.190.0090.03512.33
5.4.180.0150.04212.34
5.4.170.0190.03712.35
5.4.160.0180.04012.34
5.4.150.0160.03612.34
5.4.140.0110.04412.03
5.4.130.0050.04112.01
5.4.120.0100.03811.97
5.4.110.0070.03711.96
5.4.100.0080.04311.96
5.4.90.0080.03811.96
5.4.80.0080.04011.97
5.4.70.0100.05311.96
5.4.60.0160.04011.96
5.4.50.0090.04311.97
5.4.40.0100.04511.95
5.4.30.0110.04211.95
5.4.20.0070.04111.95
5.4.10.0050.03711.95
5.4.00.0070.05511.44
5.3.290.0060.03912.80
5.3.280.0070.04012.71
5.3.270.0090.03812.72
5.3.260.0100.04512.71
5.3.250.0110.03612.72
5.3.240.0110.03312.72
5.3.230.0060.04312.71
5.3.220.0050.03912.68
5.3.210.0070.03912.68
5.3.200.0040.03812.68
5.3.190.0060.03912.68
5.3.180.0060.04112.67
5.3.170.0080.03512.67
5.3.160.0110.03212.67
5.3.150.0080.03912.68
5.3.140.0060.03812.66
5.3.130.0090.03912.66
5.3.120.0050.04012.66
5.3.110.0050.04012.65
5.3.100.0060.04912.11
5.3.90.0060.03912.09
5.3.80.0050.03912.07
5.3.70.0060.04112.07
5.3.60.0060.03712.07
5.3.50.0070.03512.00
5.3.40.0050.05212.00
5.3.30.0090.04811.95
5.3.20.0080.04411.72
5.3.10.0060.04011.69
5.3.00.0070.04711.68
5.2.170.0110.0359.18
5.2.160.0050.0309.17
5.2.150.0040.0419.18
5.2.140.0110.0359.18
5.2.130.0030.0439.14
5.2.120.0070.0389.13
5.2.110.0050.0319.14
5.2.100.0040.0319.14
5.2.90.0050.0319.14
5.2.80.0080.0379.13
5.2.70.0020.0449.14
5.2.60.0040.0359.09
5.2.50.0090.0309.06
5.2.40.0020.0329.04
5.2.30.0070.0299.01
5.2.20.0100.0269.00
5.2.10.0080.0368.92
5.2.00.0050.0398.78
5.1.60.0080.0268.06
5.1.50.0030.0298.06
5.1.40.0020.0278.04
5.1.30.0050.0258.39
5.1.20.0040.0378.41
5.1.10.0040.0268.14
5.1.00.0050.0268.14
5.0.50.0080.0186.62
5.0.40.0020.0226.48
5.0.30.0050.0306.29
5.0.20.0030.0216.26
5.0.10.0050.0236.23
5.0.00.0040.0386.23
4.4.90.0020.0194.78
4.4.80.0030.0214.75
4.4.70.0020.0214.75
4.4.60.0040.0154.75
4.4.50.0020.0204.77
4.4.40.0030.0264.71
4.4.30.0040.0194.76
4.4.20.0040.0164.84
4.4.10.0010.0184.85
4.4.00.0040.0244.76
4.3.110.0040.0144.67
4.3.100.0040.0144.67
4.3.90.0030.0154.63
4.3.80.0030.0244.58
4.3.70.0030.0164.63
4.3.60.0030.0204.63
4.3.50.0060.0134.63
4.3.40.0030.0244.54
4.3.30.0020.0183.28
4.3.20.0030.0163.26
4.3.10.0030.0153.22
4.3.00.0030.02315.90

preferences:
56.81 ms | 401 KiB | 5 Q