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.60.0110.00418.31
8.3.50.0160.00321.19
8.3.40.0040.01118.64
8.3.30.0100.00318.84
8.3.20.0080.00020.12
8.3.10.0040.00423.53
8.3.00.0050.00319.26
8.2.180.0120.00916.75
8.2.170.0090.00622.96
8.2.160.0070.00720.46
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0140.00020.32
8.2.110.0060.01420.48
8.2.100.0110.00018.09
8.2.90.0080.00019.21
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0050.00317.80
8.2.50.0120.00018.07
8.2.40.0040.00419.80
8.2.30.0050.00217.93
8.2.20.0040.00417.69
8.2.10.0050.00217.91
8.2.00.0070.00017.46
8.1.280.0120.00625.92
8.1.270.0060.00322.05
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.00824.02
8.1.230.0080.00319.16
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0040.00417.13
8.1.180.0030.00618.10
8.1.170.0080.00318.43
8.1.160.0040.00421.86
8.1.150.0040.00418.86
8.1.140.0040.00417.29
8.1.130.0000.00717.77
8.1.120.0040.00417.36
8.1.110.0040.00417.28
8.1.100.0000.00717.38
8.1.90.0040.00417.35
8.1.80.0020.00517.43
8.1.70.0000.00717.30
8.1.60.0060.00317.55
8.1.50.0040.00417.36
8.1.40.0080.00017.32
8.1.30.0030.00617.47
8.1.20.0080.00017.53
8.1.10.0040.00417.49
8.1.00.0040.00417.32
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0030.00317.23
8.0.260.0000.00617.09
8.0.250.0030.00316.96
8.0.240.0030.00316.84
8.0.230.0000.00716.87
8.0.220.0030.00316.94
8.0.210.0050.00316.81
8.0.200.0000.00716.95
8.0.190.0070.00316.98
8.0.180.0040.00416.92
8.0.170.0000.00816.85
8.0.160.0070.00016.84
8.0.150.0070.00016.78
8.0.140.0070.00016.81
8.0.130.0000.00513.29
8.0.120.0050.00316.80
8.0.110.0000.00716.78
8.0.100.0040.00416.77
8.0.90.0050.00316.88
8.0.80.0100.01216.86
8.0.70.0040.00416.78
8.0.60.0000.00716.97
8.0.50.0040.00416.94
8.0.30.0110.00816.99
8.0.20.0080.01717.40
8.0.10.0000.00716.96
8.0.00.0080.01016.63
7.4.330.0050.00015.02
7.4.320.0030.00316.50
7.4.300.0060.00016.49
7.4.290.0000.00716.57
7.4.280.0070.00316.49
7.4.270.0030.00616.38
7.4.260.0060.00316.51
7.4.250.0000.00716.50
7.4.240.0040.00316.49
7.4.230.0040.00416.31
7.4.220.0100.00816.46
7.4.210.0060.01016.39
7.4.200.0000.00716.50
7.4.160.0060.01216.36
7.4.150.0070.01117.40
7.4.140.0130.01217.86
7.4.130.0130.00516.46
7.4.120.0080.00816.56
7.4.110.0120.00616.39
7.4.100.0030.01616.28
7.4.90.0090.00916.54
7.4.80.0130.00919.39
7.4.70.0060.00916.35
7.4.60.0080.00816.30
7.4.50.0030.00516.51
7.4.40.0110.00716.28
7.4.30.0080.00816.42
7.4.00.0040.01114.84
7.3.330.0050.00013.00
7.3.320.0000.00612.96
7.3.310.0060.00016.27
7.3.300.0000.00616.18
7.3.290.0050.00916.17
7.3.280.0110.00416.23
7.3.270.0150.00417.40
7.3.260.0130.00616.30
7.3.250.0130.00316.27
7.3.240.0030.01416.19
7.3.230.0060.01216.39
7.3.210.0100.00716.20
7.3.200.0110.01119.39
7.3.190.0090.00916.27
7.3.180.0100.00716.11
7.3.170.0070.01016.54
7.3.160.0080.00816.17
7.2.330.0170.00716.24
7.2.320.0110.00716.48
7.2.310.0070.01316.56
7.2.300.0070.01016.39
7.2.290.0060.01816.32
7.2.80.0090.00616.33
7.2.00.0000.01519.34
7.1.200.0070.00715.82
7.1.100.0040.00818.06
7.1.70.0000.01017.07
7.1.60.0030.02019.11
7.1.50.0140.01016.54
7.1.00.0000.08022.34
7.0.200.0070.00016.68
7.0.140.0000.07722.09
7.0.60.0070.08319.91
7.0.50.0030.04017.87
7.0.40.0070.06719.90
7.0.30.0270.04020.20
7.0.20.0230.04020.09
7.0.10.0330.06720.09
7.0.00.0030.04720.16
5.6.280.0000.07721.04
5.6.210.0100.07020.49
5.6.200.0070.08318.09
5.6.190.0100.05320.56
5.6.180.0070.06720.35
5.6.170.0230.08720.40
5.6.160.0100.07720.38
5.6.150.0070.07718.17
5.6.140.0100.08318.16
5.6.130.0030.07718.08
5.6.120.0070.08321.14
5.6.110.0070.06020.98
5.6.100.0070.04720.99
5.6.90.0100.06321.07
5.6.80.0030.08320.46
5.6.70.0300.07020.42
5.5.350.0030.03020.42
5.5.340.0100.03318.01
5.5.330.0030.04020.46
5.5.320.0300.07720.24
5.5.310.0400.06320.21
5.5.300.0030.04017.88
5.5.290.0030.05317.92
5.5.280.0170.06320.61
5.5.270.0130.07320.93
5.5.260.0100.08020.95
5.5.250.0070.03720.59
5.5.240.0070.06720.18
5.4.450.0270.04019.24
5.4.440.0270.04319.23
5.4.430.0270.04019.43
5.4.420.0300.03719.12
5.4.410.0300.04319.29
5.4.400.0330.03019.25
5.4.390.0330.04018.80
5.4.380.0270.03718.80
5.4.370.0300.04018.93
5.4.360.0270.04019.24
5.4.350.0330.04019.07
5.4.340.0330.03718.88
5.4.320.0300.03719.24
5.4.310.0300.04019.16
5.4.300.0300.03718.77
5.4.290.0270.04019.13
5.4.280.0230.04719.24
5.4.270.0330.03719.13
5.4.260.0300.03719.23
5.4.250.0300.03319.06
5.4.240.0230.04019.13
5.4.230.0270.03719.10
5.4.220.0300.04019.04
5.4.210.0370.03018.77
5.4.200.0330.03019.13
5.4.190.0230.04018.79
5.4.180.0270.04019.01
5.4.170.0330.03319.19
5.4.160.0230.04019.21
5.4.150.0270.03719.11
5.4.140.0300.03716.38
5.4.130.0230.03716.27
5.4.120.0330.05316.25
5.4.110.0330.03316.38
5.4.100.0430.06316.45
5.4.90.0370.04316.54
5.4.80.0400.07316.19
5.4.70.0500.04316.40
5.4.60.0470.04016.36
5.4.50.0400.06016.37
5.4.40.0430.05716.41
5.4.30.0300.04716.14
5.4.20.0300.03716.29
5.4.10.0300.03716.35
5.4.00.0330.03715.83
5.3.290.0500.06014.55
5.3.280.0330.03714.43
5.3.270.0270.04314.44
5.3.260.0370.05014.65
5.3.250.0370.03314.69
5.3.240.0430.06314.55
5.3.230.0330.04314.52
5.3.220.0400.06014.42
5.3.210.0370.04314.43
5.3.200.0370.03714.58
5.3.190.0270.06014.43
5.3.180.0400.06714.51
5.3.170.0230.04014.39
5.3.160.0300.04014.39
5.3.150.0270.04014.51
5.3.140.0430.06314.50
5.3.130.0370.06714.39
5.3.120.0300.04014.42
5.3.110.0370.05014.59
5.3.100.0230.04013.87
5.3.90.0370.05714.00
5.3.80.0270.04313.79
5.3.70.0270.03713.93
5.3.60.0330.04714.09
5.3.50.0430.05014.04
5.3.40.0300.04313.95
5.3.30.0330.06713.70
5.3.20.0300.03313.78
5.3.10.0270.03313.59
5.3.00.0330.03013.62
5.2.170.0200.03312.26
5.2.160.0200.03712.26
5.2.150.0230.03012.26
5.2.140.0200.04012.26
5.2.130.0300.04312.26
5.2.120.0230.03312.26
5.2.110.0370.05012.26
5.2.100.0230.02712.26
5.2.90.0230.03012.26
5.2.80.0230.02712.26
5.2.70.0270.03012.26
5.2.60.0330.05312.26
5.2.50.0300.03012.26
5.2.40.0200.03012.26
5.2.30.0170.03312.26
5.2.20.0270.05312.26
5.2.10.0230.03012.26
5.2.00.0230.05312.26
5.1.60.0170.02712.26
5.1.50.0300.02012.26
5.1.40.0270.02012.26
5.1.30.0200.02312.26
5.1.20.0170.04012.26
5.1.10.0200.04712.26
5.1.00.0330.04312.26
5.0.50.0170.04012.26
5.0.40.0170.03012.26
5.0.30.0170.03012.26
5.0.20.0170.02012.26
5.0.10.0170.03012.26
5.0.00.0170.04012.26
4.4.90.0230.02712.26
4.4.80.0170.02312.26
4.4.70.0130.02712.26
4.4.60.0130.03312.26
4.4.50.0130.03012.26
4.4.40.0100.02712.26
4.4.30.0170.03012.26
4.4.20.0230.01712.26
4.4.10.0170.03012.26
4.4.00.0130.04712.26
4.3.110.0130.03712.26
4.3.100.0170.02712.26
4.3.90.0130.02312.26
4.3.80.0130.04712.26
4.3.70.0100.02012.26
4.3.60.0170.01312.26
4.3.50.0170.02012.26
4.3.40.0170.04012.26
4.3.30.0100.01712.26
4.3.20.0030.02312.26
4.3.10.0100.02312.26
4.3.00.0070.02312.26

preferences:
42.95 ms | 401 KiB | 5 Q