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'); print_r($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.0120.00918.68
8.3.50.0110.00316.88
8.3.40.0110.00418.88
8.3.30.0040.01118.57
8.3.20.0050.00222.16
8.3.10.0080.00023.88
8.3.00.0020.00518.34
8.2.180.0070.00716.86
8.2.170.0120.00322.96
8.2.160.0100.00321.27
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0020.00526.16
8.2.120.0080.00020.56
8.2.110.0060.00319.47
8.2.100.0040.00718.22
8.2.90.0040.00419.52
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0060.00318.29
8.2.50.0000.00818.10
8.2.40.0000.00820.71
8.2.30.0000.00719.47
8.2.20.0000.00718.24
8.2.10.0040.00418.24
8.2.00.0000.00718.26
8.1.280.0040.01125.92
8.1.270.0040.00420.86
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00522.31
8.1.230.0070.00417.66
8.1.220.0000.00817.91
8.1.210.0000.00818.77
8.1.200.0060.00317.48
8.1.190.0080.00017.47
8.1.180.0040.00418.10
8.1.170.0040.00418.75
8.1.160.0040.00419.11
8.1.150.0000.00720.36
8.1.140.0040.00419.85
8.1.130.0040.00417.67
8.1.120.0030.00517.59
8.1.110.0000.00917.62
8.1.100.0040.00417.76
8.1.90.0040.00417.57
8.1.80.0070.00017.55
8.1.70.0070.00317.56
8.1.60.0040.00417.73
8.1.50.0000.00817.70
8.1.40.0050.00217.74
8.1.30.0000.00817.88
8.1.20.0000.00817.82
8.1.10.0020.00517.79
8.1.00.0080.00017.67
8.0.300.0040.00418.77
8.0.290.0070.00016.88
8.0.280.0030.00318.71
8.0.270.0030.00317.46
8.0.260.0070.00016.94
8.0.250.0030.00317.16
8.0.240.0040.00417.07
8.0.230.0030.00317.19
8.0.220.0000.00716.99
8.0.210.0070.00017.05
8.0.200.0000.00617.05
8.0.190.0000.00817.06
8.0.180.0040.00417.14
8.0.170.0030.00517.13
8.0.160.0040.00417.03
8.0.150.0000.00717.13
8.0.140.0030.00417.04
8.0.130.0070.00013.59
8.0.120.0000.00717.06
8.0.110.0050.00216.93
8.0.100.0040.00417.14
8.0.90.0000.00717.00
8.0.80.0060.01316.98
8.0.70.0040.00416.93
8.0.60.0000.00817.05
8.0.50.0040.00417.11
8.0.30.0070.01217.29
8.0.20.0090.01017.44
8.0.10.0040.00417.01
8.0.00.0180.00717.02
7.4.330.0060.00015.55
7.4.320.0000.00716.80
7.4.300.0040.00416.71
7.4.290.0070.00016.80
7.4.280.0030.00516.69
7.4.270.0070.00016.77
7.4.260.0000.00716.69
7.4.250.0030.00416.77
7.4.240.0040.00416.75
7.4.230.0000.00716.81
7.4.220.0100.01016.64
7.4.210.0060.00916.66
7.4.200.0050.00316.86
7.4.160.0100.00716.62
7.4.150.0120.00617.40
7.4.140.0120.00817.86
7.4.130.0070.01316.79
7.4.120.0140.00916.56
7.4.110.0100.01016.52
7.4.100.0100.01316.66
7.4.90.0050.01316.41
7.4.80.0140.00819.39
7.4.70.0030.01316.73
7.4.60.0120.00316.80
7.4.50.0070.00716.62
7.4.40.0110.00616.83
7.4.30.0090.01216.52
7.4.00.0080.00815.11
7.3.330.0000.00513.15
7.3.320.0000.00513.23
7.3.310.0050.00316.30
7.3.300.0000.00716.25
7.3.290.0090.00916.40
7.3.280.0090.00716.39
7.3.270.0040.01417.40
7.3.260.0160.00516.43
7.3.250.0070.01016.51
7.3.240.0050.01416.43
7.3.230.0030.01316.61
7.3.210.0070.01016.43
7.3.200.0100.00616.85
7.3.190.0090.01316.73
7.3.180.0060.01216.50
7.3.170.0070.01016.41
7.3.160.0060.01216.65
7.2.330.0040.01416.62
7.2.320.0080.00816.74
7.2.310.0120.00616.88
7.2.300.0120.01016.49
7.2.290.0040.01216.55
7.2.80.0120.00016.34
7.2.60.0040.01116.66
7.2.00.0000.01319.64
7.1.200.0030.01015.65
7.1.100.0030.01018.25
7.1.70.0040.00417.00
7.1.60.0670.01333.18
7.1.50.0670.01732.75
7.1.40.0600.01032.50
7.1.30.0630.01032.39
7.1.20.0670.00732.59
7.1.10.0830.00714.78
7.1.00.0670.01314.96
7.0.200.0400.01715.07
7.0.190.0430.01014.72
7.0.180.0730.01014.45
7.0.170.0530.01014.30
7.0.160.0800.00714.34
7.0.150.0570.00714.35
7.0.140.0470.01014.37
7.0.130.0770.01314.81
7.0.120.0770.01314.55
7.0.110.0430.01014.57
7.0.100.0530.00714.45
7.0.90.0430.01014.50
7.0.80.0470.00314.42
7.0.70.0570.02014.48
7.0.60.0670.01014.43
7.0.50.1600.01314.63
7.0.40.0500.00714.73
7.0.30.0430.01014.58
7.0.20.0530.00714.59
7.0.10.0500.00714.58
7.0.00.0470.01314.59

preferences:
57.5 ms | 400 KiB | 5 Q