3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dtd = "abc.DTD"; $root = 'LOAN_APPLICATION'; $imp = new DOMImplementation(); // create DTD $dtd = $imp->createDocumentType($root,null,static::REPORT_DTD); // create document $dom = $imp->createDocument(null,$root,$dtd); $dom->formatOutput = true; $base = $dom->getElementsByTagName($root)->item(0); // create extension $ext = $dom->createElement('EXTENSION_LOAN_APPLICATION'); $ext->setAttribute('FRELoanProspectorVersionIdentifier','4.0'); // create function request $fr = $dom->createElement('FUNCTION_REQUEST'); $fr->setAttribute('_Type','PollingRequest'); // create requesting party $frp = $dom->createElement('FRE_REQUESTING_PARTY'); $frp->setAttribute('SellerServicerNumber',static::SERVICE_SELLER_ID); $frp->setAttribute('UserIdentifier',static::SERVICE_USER_ID); $frp->setAttribute('Password',static::SERVICE_PASSWORD); // create polling status $ps = $dom->createElement('POLLING_STATUS'); $ps->setAttribute('LoanProspectorAsynchronousIdentifier',$this->reference); // build $ext->appendChild($fr); $ext->appendChild($frp); $ext->appendChild($ps); $base->appendChild($ext); print $dom->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.56
8.3.50.0100.00521.07
8.3.40.0040.01118.75
8.3.30.0080.00818.84
8.3.20.0040.00420.39
8.3.10.0000.00721.90
8.3.00.0040.00423.70
8.2.180.0070.00718.29
8.2.170.0040.01122.96
8.2.160.0060.01319.46
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00321.09
8.2.120.0080.00026.35
8.2.110.0030.00619.25
8.2.100.0090.00317.91
8.2.90.0050.00317.75
8.2.80.0030.00619.39
8.2.70.0040.00417.91
8.2.60.0070.00317.80
8.2.50.0030.00618.10
8.2.40.0070.00020.60
8.2.30.0040.00419.48
8.2.20.0090.00017.85
8.2.10.0070.00018.10
8.2.00.0040.00418.21
8.1.280.0110.00425.92
8.1.270.0150.00422.24
8.1.260.0000.00828.09
8.1.250.0000.00728.09
8.1.240.0060.00323.98
8.1.230.0090.00319.10
8.1.220.0080.00017.78
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0030.00517.38
8.1.180.0050.00318.10
8.1.170.0040.00418.46
8.1.160.0000.00720.79
8.1.150.0060.00318.88
8.1.140.0000.00819.58
8.1.130.0000.00717.74
8.1.120.0000.00717.52
8.1.110.0050.00217.48
8.1.100.0000.00717.51
8.1.90.0040.00417.38
8.1.80.0040.00417.49
8.1.70.0040.00417.40
8.1.60.0070.00017.68
8.1.50.0000.00817.58
8.1.40.0080.00017.56
8.1.30.0000.00817.70
8.1.20.0050.00217.66
8.1.10.0060.00317.64
8.1.00.0000.00717.52
8.0.300.0000.00719.73
8.0.290.0070.00016.75
8.0.280.0070.00018.53
8.0.270.0000.00717.30
8.0.260.0040.00417.33
8.0.250.0070.00017.01
8.0.240.0030.00316.99
8.0.230.0040.00417.02
8.0.220.0040.00417.01
8.0.210.0030.00317.01
8.0.200.0070.00017.07
8.0.190.0000.00817.11
8.0.180.0000.00717.04
8.0.170.0040.00417.00
8.0.160.0030.00317.10
8.0.150.0040.00416.95
8.0.140.0040.00416.99
8.0.130.0000.00513.41
8.0.120.0040.00416.94
8.0.110.0050.00216.81
8.0.100.0000.00816.89
8.0.90.0000.00817.00
8.0.80.0090.00616.94
8.0.70.0070.00017.01
8.0.60.0080.00017.03
8.0.50.0040.00416.86
8.0.30.0120.00617.21
8.0.20.0110.00817.40
8.0.10.0050.00317.00
8.0.00.0130.00716.79
7.4.330.0020.00216.83
7.4.320.0000.00616.52
7.4.300.0020.00516.55
7.4.290.0030.00616.46
7.4.280.0080.00016.62
7.4.270.0070.00016.68
7.4.260.0080.00016.58
7.4.250.0000.00716.53
7.4.240.0030.00316.54
7.4.230.0000.00816.52
7.4.220.0060.01216.66
7.4.210.0100.00516.67
7.4.200.0040.00416.62
7.4.150.0150.00317.40
7.4.140.0130.01017.86
7.4.130.0160.00316.47
7.4.120.0070.01116.58
7.4.110.0100.00716.40
7.4.100.0120.00616.54
7.4.90.0100.01016.60
7.4.80.0150.00319.39
7.4.70.0110.00716.52
7.4.60.0120.00616.50
7.4.50.0030.01316.29
7.4.40.0110.01116.63
7.4.30.0030.01416.42
7.4.00.0080.00614.93
7.3.330.0030.00313.13
7.3.320.0050.00013.05
7.3.310.0000.00716.14
7.3.300.0040.00416.32
7.3.290.0030.00316.29
7.3.280.0100.00716.32
7.3.270.0140.00317.40
7.3.260.0080.00816.38
7.3.250.0100.00716.42
7.3.240.0100.00716.30
7.3.230.0110.00516.42
7.3.210.0120.00816.41
7.3.200.0150.00319.39
7.3.190.0080.00816.44
7.3.180.0080.00916.44
7.3.170.0090.01216.45
7.3.160.0070.01016.44
7.3.120.0040.01114.81
7.3.110.0070.01014.87
7.3.100.0040.00714.82
7.3.90.0090.00414.58
7.3.80.0080.00414.71
7.3.70.0060.01014.80
7.3.60.0010.01314.59
7.3.50.0120.00114.80
7.3.40.0050.00514.89
7.3.30.0070.00914.87
7.3.20.0020.01216.60
7.3.10.0030.01216.61
7.3.00.0080.00616.71
7.2.330.0160.00616.60
7.2.320.0150.00816.39
7.2.310.0040.01316.70
7.2.300.0100.00716.77
7.2.290.0080.00816.54
7.2.250.0040.01215.10
7.2.240.0110.00615.13
7.2.230.0070.00815.09
7.2.220.0060.00814.91
7.2.210.0070.00814.93
7.2.200.0060.01015.00
7.2.190.0050.00815.06
7.2.180.0090.00615.03
7.2.170.0060.00714.98
7.2.160.0110.00415.15
7.2.150.0060.00916.89
7.2.140.0110.00317.13
7.2.130.0000.01416.85
7.2.120.0000.01316.87
7.2.110.0090.00616.78
7.2.100.0090.00616.85
7.2.90.0060.01017.01
7.2.80.0050.00516.66
7.2.70.0090.00616.79
7.2.60.0080.00516.92
7.2.50.0090.00616.72
7.2.40.0000.01716.75
7.2.30.0130.00016.95
7.2.20.0070.00716.88
7.2.10.0100.00716.91
7.2.00.0050.01018.22
7.1.330.0080.00715.60
7.1.320.0060.00815.66
7.1.310.0040.00815.68
7.1.300.0040.00915.74
7.1.290.0070.00515.59
7.1.280.0070.00715.67
7.1.270.0020.00815.52
7.1.260.0000.01515.70
7.1.250.0110.00415.74
7.1.200.0000.01115.41
7.1.100.0040.00417.91
7.1.70.0000.01817.09
7.1.60.0070.01819.40
7.1.50.0040.01816.92
7.1.00.0000.08022.31
7.0.200.0000.01116.73
7.0.60.0070.04721.83
7.0.50.0030.08717.70
7.0.40.0030.05720.09
7.0.30.0330.07720.20
7.0.20.0200.05320.16
7.0.10.0070.09020.18
7.0.00.0000.04720.01
5.6.280.0000.03321.09
5.6.210.0000.04320.54
5.6.200.0070.07718.19
5.6.190.0100.04720.64
5.6.180.0230.06320.57
5.6.170.0400.04020.33
5.6.160.0130.03720.38
5.6.150.0070.07018.15
5.6.140.0000.04718.11
5.6.130.0100.07018.11
5.6.120.0130.03321.02
5.6.110.0170.07321.02
5.6.100.0100.03721.02
5.6.90.0070.08321.11
5.6.80.0100.07020.42
5.5.350.0400.06720.33
5.5.340.0070.06717.93
5.5.330.0030.04320.13
5.5.320.0200.04020.13
5.5.310.0230.04720.50
5.5.300.0170.07017.98
5.5.290.0130.07717.91
5.5.280.0030.05020.78
5.5.270.0100.06720.88
5.5.260.0100.07020.78
5.5.250.0130.08320.59
5.5.240.0200.07020.27

preferences:
57.44 ms | 401 KiB | 5 Q