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,"asdasdas.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',"12345"); $frp->setAttribute('UserIdentifier',"adasdasd"); $frp->setAttribute('Password',"12315612"); // 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.40.0090.00619.09
8.3.30.0150.00018.96
8.3.20.0000.00820.35
8.3.10.0040.00421.90
8.3.00.0040.00423.44
8.2.170.0130.00622.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0000.00821.13
8.2.120.0040.00426.35
8.2.110.0070.00419.44
8.2.100.0120.00017.93
8.2.90.0040.00419.26
8.2.80.0030.00617.97
8.2.70.0000.00917.63
8.2.60.0040.00417.80
8.2.50.0000.01018.09
8.2.40.0080.00022.16
8.2.30.0000.00819.47
8.2.20.0030.00617.68
8.2.10.0000.00818.09
8.2.00.0030.00518.25
8.1.270.0160.00322.05
8.1.260.0080.00028.09
8.1.250.0070.00028.09
8.1.240.0160.00722.49
8.1.230.0110.00017.70
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0000.01117.23
8.1.190.0040.00417.25
8.1.180.0040.00418.10
8.1.170.0030.00518.59
8.1.160.0040.00420.80
8.1.150.0000.00820.66
8.1.140.0040.00419.63
8.1.130.0050.00217.75
8.1.120.0070.00017.48
8.1.110.0000.00717.51
8.1.100.0050.00217.48
8.1.90.0080.00017.50
8.1.80.0000.00717.39
8.1.70.0070.00017.41
8.1.60.0070.00017.50
8.1.50.0030.00517.53
8.1.40.0000.00817.63
8.1.30.0040.00417.81
8.1.20.0070.00017.75
8.1.10.0020.00517.59
8.1.00.0040.00417.66
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0050.00318.39
8.0.270.0070.00017.30
8.0.260.0000.00717.30
8.0.250.0000.00816.96
8.0.240.0030.00317.07
8.0.230.0070.00016.94
8.0.220.0000.00816.88
8.0.210.0040.00416.88
8.0.200.0070.00016.95
8.0.190.0040.00417.03
8.0.180.0000.00717.01
8.0.170.0040.00416.91
8.0.160.0070.00017.00
8.0.150.0030.00316.94
8.0.140.0050.00316.88
8.0.130.0060.00013.39
8.0.120.0040.00416.93
8.0.110.0040.00417.03
8.0.100.0030.00516.88
8.0.90.0040.00416.82
8.0.80.0090.00616.89
8.0.70.0000.00717.03
8.0.60.0000.00816.91
8.0.50.0040.00416.80
8.0.30.0110.00617.08
8.0.20.0070.01117.40
8.0.10.0040.00417.09
8.0.00.0100.00916.67
7.4.330.0020.00216.72
7.4.320.0000.00616.55
7.4.300.0070.00016.68
7.4.290.0030.00616.66
7.4.280.0040.00416.69
7.4.270.0030.00316.55
7.4.260.0040.00416.52
7.4.250.0000.00816.59
7.4.240.0030.00416.57
7.4.230.0070.00016.66
7.4.220.0090.01016.69
7.4.210.0080.00616.55
7.4.200.0000.00716.71
7.4.160.0150.00016.41
7.4.150.0190.00417.40
7.4.140.0100.00917.86
7.4.130.0080.01116.53
7.4.120.0110.00616.70
7.4.110.0110.00616.50
7.4.100.0160.00616.57
7.4.90.0000.01716.62
7.4.80.0140.00319.39
7.4.70.0050.01516.42
7.4.60.0150.00316.53
7.4.50.0060.00916.19
7.4.40.0100.00716.51
7.4.30.0100.01316.83
7.4.00.0050.01214.99
7.3.330.0030.00313.11
7.3.320.0000.00513.11
7.3.310.0040.00416.29
7.3.300.0030.00316.34
7.3.290.0000.00716.35
7.3.280.0080.00916.30
7.3.270.0100.00717.40
7.3.260.0060.01216.43
7.3.250.0090.00716.56
7.3.240.0060.01316.39
7.3.230.0140.00316.66
7.3.210.0130.00416.57
7.3.200.0120.00919.39
7.3.190.0110.00616.45
7.3.180.0080.01216.46
7.3.170.0150.00616.41
7.3.160.0060.01016.52
7.3.120.0060.00914.91
7.3.110.0000.01714.77
7.3.100.0100.00615.00
7.3.90.0070.00414.82
7.3.80.0060.01214.71
7.3.70.0040.00814.70
7.3.60.0040.00714.93
7.3.50.0040.01115.00
7.3.40.0070.01014.89
7.3.30.0090.00314.92
7.3.20.0130.00316.49
7.3.10.0040.01216.60
7.3.00.0040.00816.65
7.2.330.0100.00716.54
7.2.320.0030.01316.66
7.2.310.0080.00816.89
7.2.300.0100.00716.83
7.2.290.0140.00316.82
7.2.250.0090.00315.30
7.2.240.0060.01315.04
7.2.230.0100.00715.26
7.2.220.0000.01015.04
7.2.210.0030.01015.12
7.2.200.0090.00915.04
7.2.190.0060.01014.94
7.2.180.0040.01114.86
7.2.170.0060.01215.07
7.2.60.0040.00816.87
7.2.00.0030.01019.33
7.1.330.0040.01115.70
7.1.320.0110.00415.71
7.1.310.0070.01015.66
7.1.300.0070.00715.75
7.1.290.0030.00915.62
7.1.280.0000.01015.68
7.1.270.0000.01315.71
7.1.260.0030.01015.79
7.1.200.0060.00615.80
7.1.100.0070.00718.00
7.1.70.0060.00617.29
7.1.60.0120.01219.40
7.1.50.0080.00416.61
7.1.00.0030.07722.43
7.0.200.0050.00516.73
7.0.60.0200.03721.63
7.0.50.0070.07317.81
7.0.40.0070.07720.12
7.0.30.0270.05020.17
7.0.20.0270.05020.19
7.0.10.0130.07020.17
7.0.00.0030.04020.19
5.6.280.0070.02720.92
5.6.210.0100.03320.45
5.6.200.0070.06718.07
5.6.190.0070.04020.61
5.6.180.0370.07720.56
5.6.170.0370.07020.51
5.6.160.0100.05720.32
5.6.150.0170.03318.08
5.6.140.0070.08318.11
5.6.130.0070.08018.16
5.6.120.0070.06021.14
5.6.110.0070.04721.00
5.6.100.0100.07720.97
5.6.90.0200.04020.98
5.6.80.0070.08320.49
5.5.350.0370.06720.45
5.5.340.0070.07317.95
5.5.330.0100.07720.40
5.5.320.0270.03320.18
5.5.310.0330.06320.13
5.5.300.0100.07317.91
5.5.290.0070.08317.91
5.5.280.0070.07020.74
5.5.270.0130.08320.94
5.5.260.0100.07020.80
5.5.250.0100.07320.67
5.5.240.0200.07320.05

preferences:
39.43 ms | 400 KiB | 5 Q