3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = '<extData> <orderData> <order><orderId>6</orderId><orderTime>2014-10-23T02:53:38</orderTime><item><sku>138</sku><title>Beef Pie</title><quantity>1</quantity><price>8.00</price><amount>8.00</amount></item><item><sku>138</sku><title>Beef Pie</title><quantity>-1</quantity><price>8.00</price><amount>-8.00</amount></item><subtotal>0.00</subtotal><fee>0.00</fee><total>0.00</total><orderStatus>COMP</orderStatus></order><schema_version>2</schema_version> </orderData> </extData><price>±'; preg_match('/^(.*<extData>)/',$x, $matches); var_dump($matches);

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.0060.00818.88
8.3.30.0040.01118.93
8.3.20.0040.00420.16
8.3.10.0090.00023.48
8.3.00.0060.00319.50
8.2.170.0100.01022.96
8.2.160.0000.01419.04
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0030.00720.23
8.2.110.0000.01020.52
8.2.100.0090.00317.91
8.2.90.0040.00419.08
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0110.00017.79
8.2.50.0080.00418.07
8.2.40.0080.00020.01
8.2.30.0000.00818.03
8.2.20.0000.00717.80
8.2.10.0000.00717.93
8.2.00.0040.00417.70
8.1.270.0090.00022.19
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0000.01023.91
8.1.230.0110.00019.04
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0000.01017.35
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0090.00418.45
8.1.160.0040.00421.96
8.1.150.0050.00218.92
8.1.140.0000.00717.48
8.1.130.0030.00317.84
8.1.120.0040.00417.53
8.1.110.0040.00417.54
8.1.100.0040.00417.53
8.1.90.0000.00717.42
8.1.80.0000.00717.42
8.1.70.0030.00617.40
8.1.60.0030.00617.63
8.1.50.0050.00317.61
8.1.40.0000.00817.63
8.1.30.0050.00317.69
8.1.20.0040.00417.75
8.1.10.0000.00717.61
8.1.00.0080.00017.46
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0030.00318.27
8.0.270.0040.00417.11
8.0.260.0030.00317.23
8.0.250.0000.00717.04
8.0.240.0060.00016.92
8.0.230.0070.00016.95
8.0.220.0030.00316.93
8.0.210.0030.00516.96
8.0.200.0040.00416.89
8.0.190.0000.01116.91
8.0.180.0030.00616.89
8.0.170.0000.00816.99
8.0.160.0000.00816.93
8.0.150.0040.00416.89
8.0.140.0070.00016.89
8.0.130.0000.00613.34
8.0.120.0040.00416.96
8.0.110.0000.00716.83
8.0.100.0040.00416.91
8.0.90.0000.00716.86
8.0.80.0060.01616.93
8.0.70.0040.00416.92
8.0.60.0070.00016.93
8.0.50.0000.00716.91
8.0.30.0070.01216.94
8.0.20.0190.00717.40
8.0.10.0050.00217.09
8.0.00.0070.01116.93
7.4.330.0050.00015.02
7.4.320.0030.00316.72
7.4.300.0000.00616.76
7.4.290.0000.00816.72
7.4.280.0090.00316.65
7.4.270.0070.00316.57
7.4.260.0000.00716.73
7.4.250.0020.00516.68
7.4.240.0030.00516.70
7.4.230.0030.00316.58
7.4.220.0040.01416.74
7.4.210.0060.00916.79
7.4.200.0030.00316.84
7.4.160.0120.00316.77
7.4.150.0070.01817.40
7.4.140.0140.00817.86
7.4.130.0110.00916.72
7.4.120.0110.00716.64
7.4.110.0200.00316.68
7.4.100.0150.00316.60
7.4.90.0000.01816.51
7.4.80.0120.01019.39
7.4.70.0100.00616.63
7.4.60.0000.01716.49
7.4.50.0040.00416.32
7.4.40.0140.00316.63
7.4.30.0130.00316.64
7.4.00.0070.01115.04
7.3.330.0000.00513.18
7.3.320.0050.00013.26
7.3.310.0030.00316.29
7.3.300.0040.00416.28
7.3.290.0010.01316.36
7.3.280.0070.01316.25
7.3.270.0060.01217.40
7.3.260.0140.00716.33
7.3.250.0100.00716.50
7.3.240.0060.01716.43
7.3.230.0130.00316.63
7.3.210.0000.01916.23
7.3.200.0120.00619.39
7.3.190.0120.00616.32
7.3.180.0080.00816.53
7.3.170.0100.00716.48
7.3.160.0040.01116.40
7.3.120.0030.01414.75
7.3.110.0090.00914.77
7.3.100.0060.01214.96
7.3.90.0030.01015.05
7.3.80.0070.00714.99
7.3.70.0100.00614.84
7.3.60.0090.00014.84
7.3.50.0070.00714.70
7.3.40.0040.00814.88
7.3.30.0080.00414.89
7.3.20.0090.00616.53
7.3.10.0070.00716.60
7.3.00.0090.00616.55
7.2.330.0140.00416.68
7.2.320.0090.00916.35
7.2.310.0130.00916.43
7.2.300.0070.01016.57
7.2.290.0110.00716.52
7.2.250.0080.01214.98
7.2.240.0130.00715.04
7.2.230.0000.01714.94
7.2.220.0030.00715.21
7.2.210.0000.00914.83
7.2.200.0040.01115.09
7.2.190.0040.00714.64
7.2.180.0000.01514.68
7.2.170.0140.00315.06
7.2.00.0070.00719.42
7.1.330.0070.00716.01
7.1.320.0030.01015.97
7.1.310.0030.00615.79
7.1.300.0030.01015.83
7.1.290.0070.01015.82
7.1.280.0090.00015.96
7.1.270.0080.00415.60
7.1.260.0060.00915.90
7.1.100.0070.01118.17
7.1.70.0000.01217.27
7.1.60.0120.01219.11
7.1.50.0040.02217.04
7.1.00.0070.07322.46
7.0.200.0030.00316.91
7.0.140.0030.07322.09
7.0.60.0070.03719.96
7.0.50.0000.08717.89
7.0.40.0070.07720.06
7.0.30.0430.05320.11
7.0.20.0370.07720.07
7.0.10.0070.05320.05
7.0.00.0130.08320.18
5.6.280.0070.07021.06
5.6.210.0130.07320.56
5.6.200.0100.07318.18
5.6.190.0170.07720.66
5.6.180.0400.06320.45
5.6.170.0400.06720.50
5.6.160.0070.08320.37
5.6.150.0030.06018.08
5.6.140.0000.06018.15
5.6.130.0030.06718.16
5.6.120.0200.07721.07
5.6.110.0070.08720.98
5.6.100.0130.05721.13
5.6.90.0070.04320.99
5.6.80.0030.08320.35
5.5.350.0130.08020.38
5.5.340.0000.04018.02
5.5.330.0030.05320.06
5.5.320.0170.04720.30
5.5.310.0270.07320.41
5.5.300.0200.05718.00
5.5.290.0000.06018.00
5.5.280.0130.07320.68
5.5.270.0070.04320.74
5.5.260.0130.07320.82
5.5.250.0100.06320.67
5.5.240.0230.06320.23
5.4.450.0130.06019.45
5.4.440.0770.05719.53
5.4.430.0730.05319.32
5.4.420.0870.00019.15
5.4.410.0630.00019.39
5.4.400.0630.00019.02
5.4.390.0630.00019.05
5.4.380.0800.00019.05
5.4.370.0670.00019.13
5.4.360.0830.00019.18
5.4.350.0630.00019.14
5.4.340.0090.03711.97
5.4.320.0060.04012.45
5.4.310.0070.03612.45
5.4.300.0080.03312.45
5.4.290.0050.03812.45
5.4.280.0060.03412.35
5.4.270.0060.03512.35
5.4.260.0040.03712.34
5.4.250.0070.03612.35
5.4.240.0060.03612.35
5.4.230.0050.04412.34
5.4.220.0040.03712.34
5.4.210.0050.04212.34
5.4.200.0030.04012.34
5.4.190.0050.03712.34
5.4.180.0040.03712.33
5.4.170.0060.03612.34
5.4.160.0040.03812.34
5.4.150.0070.03412.34
5.4.140.0060.03612.02
5.4.130.0060.03412.01
5.4.120.0050.03511.97
5.4.110.0070.04011.96
5.4.100.0060.03511.96
5.4.90.0050.03711.96
5.4.80.0090.03311.96
5.4.70.0060.03711.96
5.4.60.0040.03511.96
5.4.50.0020.03811.96
5.4.40.0080.03211.95
5.4.30.0050.03611.95
5.4.20.0020.03811.95
5.4.10.0070.03211.94
5.4.00.0090.03111.43
5.3.290.0070.03712.80
5.3.280.0040.03912.71
5.3.270.0080.04312.73
5.3.260.0070.03712.72
5.3.250.0050.03712.72
5.3.240.0040.03912.72
5.3.230.0040.03812.71
5.3.220.0060.03712.68
5.3.210.0060.03912.68
5.3.200.0040.03912.68
5.3.190.0050.03912.68
5.3.180.0070.03512.68
5.3.170.0070.03412.67
5.3.160.0040.03812.67
5.3.150.0060.03712.68
5.3.140.0040.03912.66
5.3.130.0100.03612.66
5.3.120.0020.04212.66
5.3.110.0070.03712.66
5.3.100.0040.03912.12
5.3.90.0050.03812.08
5.3.80.0020.04112.07
5.3.70.0100.03812.07
5.3.60.0060.03512.07
5.3.50.0110.03112.00
5.3.40.0040.03712.00
5.3.30.0030.03711.95
5.3.20.0060.03411.74
5.3.10.0090.03511.70
5.3.00.0060.03711.69
5.2.170.0100.0319.19
5.2.160.0020.0329.19
5.2.150.0040.0399.19
5.2.140.0050.0329.18
5.2.130.0020.0359.15
5.2.120.0100.0289.14
5.2.110.0050.0289.16
5.2.100.0040.0329.15
5.2.90.0070.0269.15
5.2.80.0030.0329.15
5.2.70.0020.0329.15
5.2.60.0020.0329.09
5.2.50.0050.0299.07
5.2.40.0040.0299.05
5.2.30.0050.0309.02
5.2.20.0040.0309.01
5.2.10.0030.0298.91
5.2.00.0050.0428.78
5.1.60.0050.0238.05
5.1.50.0040.0258.05
5.1.40.0040.0248.04
5.1.30.0060.0248.39
5.1.20.0030.0288.41
5.1.10.0040.0268.13
5.1.00.0040.0258.14
5.0.50.0020.0226.62
5.0.40.0040.0186.47
5.0.30.0020.0326.29
5.0.20.0020.0206.26
5.0.10.0050.0186.24
5.0.00.0030.0306.23
4.4.90.0020.0164.78
4.4.80.0030.0154.76
4.4.70.0040.0214.75
4.4.60.0040.0194.75
4.4.50.0020.0204.77
4.4.40.0060.0264.71
4.4.30.0020.0194.76
4.4.20.0010.0164.84
4.4.10.0020.0154.85
4.4.00.0050.0214.76
4.3.110.0020.0154.67
4.3.100.0030.0144.67
4.3.90.0030.0204.63
4.3.80.0040.0234.59
4.3.70.0040.0134.63
4.3.60.0020.0154.63
4.3.50.0050.0134.63
4.3.40.0020.0254.54
4.3.30.0020.0153.29
4.3.20.0020.0233.25
4.3.10.0050.0173.22
4.3.00.0130.0207.26

preferences:
53.24 ms | 400 KiB | 5 Q