3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = new \SimpleXMLElement('<Request/>'); $authentication = $data->addChild('Authentication'); $authentication->addChild('client', "MERCHANT"); $authentication->addChild('password', "********"); $transaction = $data->addChild('Transaction'); $historicTxn = $transaction->addChild('HistoricTxn'); $historicTxn->addChild('reference', "REFREENCE"); $historicTxn->addChild('method', 'query'); echo $data->saveXML();

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.0160.00618.68
8.3.50.0070.00716.70
8.3.40.0080.00818.91
8.3.30.0070.00718.96
8.3.20.0080.00022.03
8.3.10.0080.00023.90
8.3.00.0040.00418.28
8.2.180.0060.00916.75
8.2.170.0150.00022.96
8.2.160.0100.00321.45
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00022.55
8.2.120.0000.00726.35
8.2.110.0030.00620.59
8.2.100.0080.00318.03
8.2.90.0000.00819.46
8.2.80.0050.00317.97
8.2.70.0000.00817.75
8.2.60.0050.00318.30
8.2.50.0040.00418.13
8.2.40.0000.00720.90
8.2.30.0040.00419.58
8.2.20.0050.00218.21
8.2.10.0000.00818.18
8.2.00.0000.00818.17
8.1.280.0070.00725.92
8.1.270.0040.00424.09
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.01324.04
8.1.230.0070.00417.88
8.1.220.0080.00017.79
8.1.210.0060.00318.77
8.1.200.0030.00617.48
8.1.190.0070.00317.47
8.1.180.0070.00018.10
8.1.170.0040.00418.59
8.1.160.0080.00019.09
8.1.150.0040.00420.27
8.1.140.0050.00219.78
8.1.130.0050.00319.05
8.1.120.0070.00017.54
8.1.110.0040.00417.57
8.1.100.0040.00417.72
8.1.90.0000.00817.68
8.1.80.0040.00317.65
8.1.70.0000.01117.68
8.1.60.0050.00317.67
8.1.50.0060.00317.67
8.1.40.0040.00417.75
8.1.30.0000.00717.83
8.1.20.0040.00417.69
8.1.10.0040.00417.74
8.1.00.0060.00317.79
8.0.300.0000.00818.77
8.0.290.0000.00717.00
8.0.280.0040.00418.75
8.0.270.0050.00217.38
8.0.260.0000.00717.09
8.0.250.0000.00617.25
8.0.240.0060.00317.12
8.0.230.0040.00417.02
8.0.220.0000.00717.00
8.0.210.0030.00316.96
8.0.200.0000.00717.06
8.0.190.0040.00417.12
8.0.180.0050.00317.18
8.0.170.0040.00416.96
8.0.160.0000.00717.07
8.0.150.0030.00317.06
8.0.140.0070.00017.04
8.0.130.0000.00813.53
8.0.120.0040.00416.98
8.0.110.0030.00316.82
8.0.100.0080.00017.10
8.0.90.0050.00217.10
8.0.80.0060.01217.04
8.0.70.0050.00317.11
8.0.60.0040.00417.08
8.0.50.0080.00017.10
8.0.30.0090.01317.39
8.0.20.0080.01017.40
8.0.10.0000.00817.21
8.0.00.0070.01116.98
7.4.330.0030.00315.55
7.4.320.0060.00016.71
7.4.300.0000.00716.71
7.4.290.0000.00716.70
7.4.280.0000.00816.60
7.4.270.0030.00316.71
7.4.260.0000.00716.67
7.4.250.0030.00316.58
7.4.240.0000.00716.72
7.4.230.0000.00716.80
7.4.220.0060.01216.73
7.4.210.0090.00616.63
7.4.200.0000.00716.88
7.4.160.0080.00816.64
7.4.150.0150.00317.40
7.4.140.0100.00917.86
7.4.130.0120.01016.75
7.4.120.0080.01216.66
7.4.110.0080.01116.64
7.4.100.0160.00816.82
7.4.90.0060.01016.59
7.4.80.0150.00319.39
7.4.70.0190.00316.61
7.4.60.0130.00316.95
7.4.50.0060.01016.39
7.4.40.0080.00816.48
7.4.30.0120.01116.49
7.4.00.0070.01014.79
7.3.330.0020.00213.30
7.3.320.0000.00613.22
7.3.310.0040.00416.26
7.3.300.0000.00716.40
7.3.290.0070.00716.41
7.3.280.0070.01016.39
7.3.270.0070.01017.40
7.3.260.0150.00416.50
7.3.250.0100.00916.61
7.3.240.0070.01116.58
7.3.230.0110.00716.61
7.3.210.0110.00616.80
7.3.200.0060.00916.57
7.3.190.0100.00716.64
7.3.180.0100.00616.58
7.3.170.0080.00816.66
7.3.160.0100.00616.36
7.3.10.0100.00316.37
7.3.00.0060.00616.68
7.2.330.0130.00416.55
7.2.320.0110.00616.69
7.2.310.0150.01316.60
7.2.300.0090.01316.68
7.2.290.0050.01116.58
7.2.130.0030.01016.55
7.2.120.0110.00616.59
7.2.110.0060.00317.09
7.2.100.0040.01416.69
7.2.90.0060.00916.61
7.2.80.0040.01116.24
7.2.70.0080.00616.57
7.2.60.0140.00016.75
7.2.50.0050.00816.75
7.2.40.0050.01316.87
7.2.30.0070.00716.88
7.2.20.0140.00016.84
7.2.10.0000.01116.58
7.2.00.0200.00317.13
7.1.250.0060.00815.50
7.1.70.0120.00317.09
7.1.60.0730.01333.14
7.1.50.0770.02032.81
7.1.40.0600.01732.32
7.1.30.0600.02032.48
7.1.20.0570.01332.56
7.1.10.0630.01014.71
7.1.00.0530.01314.69
7.0.200.0630.01014.80
7.0.190.0700.01314.66
7.0.180.0500.00714.57
7.0.170.0430.01314.52
7.0.160.0400.01014.59
7.0.150.0370.00714.39
7.0.140.0430.00714.53
7.0.130.0900.00314.89
7.0.120.0600.00714.89
7.0.110.0770.01014.60
7.0.100.0830.00714.48
7.0.90.0670.01014.48
7.0.80.0370.01014.42
7.0.70.0770.01014.45
7.0.60.0570.01014.43
7.0.50.0470.00714.59
7.0.40.0430.01314.57
7.0.30.0470.01314.64
7.0.20.0430.01014.61
7.0.10.0500.01014.58
7.0.00.0430.01014.56

preferences:
58.5 ms | 400 KiB | 5 Q