3v4l.org

run code in 300+ PHP versions simultaneously
<?php $topcont = new DOMDocument(); $topcont->load("<?xml version='1.0' encoding='utf-8'?> <topcont><sitenondualtraining><title>The Heart of Awakening</title> <descripition>nondual</descripition><link>www.test.com/post/latestpost</link> </sitenondualtraining></topcont>"); $topcont->topcont->sitenondualtraining->title = 'test'; $topcont->sitenondualtraining->descripition = $_POST['nd2']; $topcont->sitenondualtraining->link = $_POST['nd3']; $topcont->Save("topcont.xml");

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.0130.00318.68
8.3.50.0090.00721.21
8.3.40.0090.00619.06
8.3.30.0030.01020.51
8.3.20.0030.00620.41
8.3.10.0030.00522.22
8.3.00.0090.00022.76
8.2.180.0110.01118.79
8.2.170.0070.00722.96
8.2.160.0070.00722.41
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0000.00821.07
8.2.110.0090.00022.55
8.2.100.0090.00317.84
8.2.90.0040.00419.16
8.2.80.0040.00417.97
8.2.70.0080.00017.75
8.2.60.0030.00617.93
8.2.50.0030.00618.07
8.2.40.0050.00618.27
8.2.30.0040.00419.54
8.2.20.0050.00317.76
8.2.10.0000.00817.84
8.2.00.0040.00417.73
8.1.280.0140.00025.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00323.85
8.1.230.0040.00821.20
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00717.35
8.1.190.0040.00417.52
8.1.180.0000.00918.10
8.1.170.0040.00418.81
8.1.160.0000.00719.10
8.1.150.0000.00718.79
8.1.140.0070.00017.50
8.1.130.0030.00518.00
8.1.120.0050.00317.65
8.1.110.0040.00417.62
8.1.100.0000.00817.52
8.1.90.0040.00717.57
8.1.80.0040.00417.64
8.1.70.0070.00017.46
8.1.60.0000.00817.68
8.1.50.0000.00717.46
8.1.40.0000.00817.64
8.1.30.0050.00317.79
8.1.20.0030.00617.82
8.1.10.0040.00417.58
8.1.00.0090.00017.44
8.0.300.0080.00018.77
8.0.290.0070.00016.88
8.0.280.0000.00818.50
8.0.270.0000.00717.35
8.0.260.0000.00917.03
8.0.250.0070.00016.92
8.0.240.0080.00417.06
8.0.230.0000.00717.10
8.0.220.0030.00317.01
8.0.210.0000.00717.09
8.0.200.0030.00317.04
8.0.190.0040.00417.10
8.0.180.0000.00717.00
8.0.170.0040.00416.97
8.0.160.0030.00317.04
8.0.150.0000.00716.95
8.0.140.0040.00416.83
8.0.130.0050.00013.34
8.0.120.0080.00016.78
8.0.110.0050.00316.80
8.0.100.0050.00217.00
8.0.90.0040.00416.98
8.0.80.0090.00617.00
8.0.70.0040.00417.05
8.0.60.0080.00017.14
8.0.50.0030.00516.98
8.0.30.0140.00617.24
8.0.20.0130.00617.40
8.0.10.0000.00717.13
8.0.00.0130.01116.91
7.4.330.0070.00015.00
7.4.320.0060.00016.67
7.4.300.0050.00216.81
7.4.290.0050.00216.65
7.4.280.0060.00316.83
7.4.270.0030.00316.78
7.4.260.0000.00613.54
7.4.250.0030.00616.50
7.4.240.0040.00416.84
7.4.230.0000.00716.77
7.4.220.0040.01416.82
7.4.210.0060.00916.80
7.4.200.0000.00716.55
7.4.190.0000.00716.87
7.4.160.0140.01116.75
7.4.150.0140.01017.40
7.4.140.0150.00517.86
7.4.130.0110.00616.71
7.4.120.0110.00616.58
7.4.110.0060.01716.88
7.4.100.0100.01016.47
7.4.90.0100.01016.65
7.4.80.0060.01219.39
7.4.70.0140.00716.76
7.4.60.0090.01316.88
7.4.50.0040.00416.70
7.4.40.0040.00822.77
7.4.30.0030.01316.76
7.4.00.0060.00915.10
7.3.330.0050.00013.44
7.3.320.0000.00513.24
7.3.310.0000.00716.44
7.3.300.0040.00416.30
7.3.290.0000.01416.58
7.3.280.0110.00516.57
7.3.270.0080.00817.40
7.3.260.0090.00916.45
7.3.250.0100.01416.61
7.3.240.0060.01116.73
7.3.230.0070.01116.52
7.3.210.0060.01216.47
7.3.200.0130.00716.35
7.3.190.0090.01216.66
7.3.180.0110.01116.41
7.3.170.0060.01016.44
7.3.160.0070.01016.57
7.3.120.0040.01414.83
7.3.10.0070.00716.63
7.3.00.0050.00916.62
7.2.330.0100.00716.91
7.2.320.0000.01816.72
7.2.310.0000.02416.60
7.2.300.0130.00316.78
7.2.290.0090.00916.66
7.2.130.0070.00716.86
7.2.120.0060.00716.82
7.2.110.0050.00816.87
7.2.100.0060.00816.76
7.2.90.0080.00816.96
7.2.80.0080.00616.92
7.2.70.0070.00716.84
7.2.60.0070.00816.88
7.2.50.0060.00916.87
7.2.40.0050.01016.84
7.2.30.0030.01116.94
7.2.20.0100.00517.08
7.2.10.0120.00516.88
7.2.00.0050.00817.55
7.1.250.0060.00615.72
7.1.240.0000.01715.96
7.1.230.0000.00715.61
7.1.220.0080.00815.81
7.1.210.0040.01115.53
7.1.200.0090.00815.77
7.1.190.0030.00615.64
7.1.180.0050.00315.75
7.1.170.0060.00815.52
7.1.160.0030.00915.56
7.1.150.0030.01015.89
7.1.140.0090.00615.79
7.1.130.0080.00415.96
7.1.120.0030.00615.55
7.1.110.0060.00915.82
7.1.100.0020.01116.85
7.1.90.0030.01315.90
7.1.80.0070.00715.79
7.1.70.0040.00516.39
7.1.60.0100.01017.53
7.1.50.0040.01316.21
7.1.40.0000.01115.82
7.1.30.0090.00616.00
7.1.20.0040.00715.76
7.1.10.0060.00315.68
7.1.00.0080.03419.10
7.0.330.0000.01515.39
7.0.320.0030.00615.30
7.0.310.0060.00615.36
7.0.300.0000.00815.23
7.0.290.0060.00615.56
7.0.280.0090.00615.14
7.0.270.0060.00815.35
7.0.260.0000.00915.34
7.0.250.0060.00615.40
7.0.240.0090.00615.36
7.0.230.0030.00615.40
7.0.220.0070.01015.57
7.0.210.0100.00615.34
7.0.200.0080.00915.77
7.0.190.0030.00715.40
7.0.180.0000.01315.32
7.0.170.0090.00615.28
7.0.160.0030.00915.35
7.0.150.0000.00915.50
7.0.140.0100.03018.63
7.0.130.0040.01115.41
7.0.120.0060.00915.46
7.0.110.0000.04618.61
7.0.100.0030.04518.60
7.0.90.0030.02918.57
7.0.80.0000.02618.67
7.0.70.0020.02518.58
7.0.60.0020.02818.48
7.0.50.0030.02318.69
7.0.40.0060.02316.68
7.0.30.0020.03116.93
7.0.20.0020.02316.75
7.0.10.0070.02516.76
7.0.00.0050.02216.88
5.6.380.0030.00914.65
5.6.370.0070.00714.57
5.6.360.0030.00714.74
5.6.350.0040.01214.29
5.6.340.0030.01014.45
5.6.330.0070.00714.30
5.6.320.0100.00314.38
5.6.310.0030.00614.44
5.6.300.0000.01114.35
5.6.290.0070.00314.28
5.6.280.0050.03817.74
5.6.270.0030.00614.14
5.6.260.0030.04717.60
5.6.250.0120.02517.54
5.6.240.0040.02117.54
5.6.230.0020.02617.50
5.6.220.0040.02717.46
5.6.210.0020.03217.57
5.6.200.0050.05017.71
5.6.190.0040.02717.67
5.6.180.0050.03017.64
5.6.170.0000.02517.83
5.6.160.0030.02117.70
5.6.150.0030.02517.80
5.6.140.0030.02517.80
5.6.130.0040.02417.78
5.6.120.0030.02317.73
5.6.110.0040.02717.77
5.6.100.0070.02217.59
5.6.90.0050.02517.70
5.6.80.0070.02217.45
5.6.70.0030.02517.41
5.6.60.0020.02517.33
5.6.50.0050.02317.29
5.6.40.0030.02517.56
5.6.30.0020.02517.45
5.6.20.0050.03717.32
5.6.10.0070.03517.41
5.6.00.0070.01517.37
5.5.380.0030.02716.00
5.5.370.0020.02516.08
5.5.360.0070.02215.91
5.5.350.0000.02516.03
5.5.340.0040.03016.21
5.5.330.0000.03316.22
5.5.320.0080.01516.30
5.5.310.0060.02316.27
5.5.300.0000.02416.22
5.5.290.0070.02016.17
5.5.280.0000.02716.25
5.5.270.0020.03516.22
5.5.260.0050.02816.30
5.5.250.0070.02316.27
5.5.240.0060.03115.96
5.5.230.0060.02815.97
5.5.220.0030.01815.92
5.5.210.0020.02415.90
5.5.200.0050.02115.91
5.5.190.0040.02115.94
5.5.180.0080.03815.93
5.5.170.0030.00711.64
5.5.160.0030.03815.89
5.5.150.0000.04115.97
5.5.140.0020.04315.96
5.5.130.0030.04215.89
5.5.120.0040.04215.97
5.5.110.0030.04215.96
5.5.100.0050.04315.88
5.5.90.0030.04215.83
5.5.80.0050.03815.90
5.5.70.0030.04415.89
5.5.60.0030.02315.91
5.5.50.0050.03215.87
5.5.40.0070.02215.83
5.5.30.0070.03615.91
5.5.20.0040.04215.91
5.5.10.0070.03715.87
5.5.00.0030.02215.81
5.4.450.0020.02315.61
5.4.440.0020.03915.60
5.4.430.0060.02715.49
5.4.420.0010.02315.61
5.4.410.0030.03115.43
5.4.400.0030.03515.31
5.4.390.0020.02215.35
5.4.380.0050.02015.38
5.4.370.0000.02215.45
5.4.360.0000.02315.40
5.4.350.0020.02115.51
5.4.340.0050.04015.51
5.4.330.0070.00311.64
5.4.320.0020.03315.46
5.4.310.0050.03815.45
5.4.300.0020.03915.32
5.4.290.0050.03515.33
5.4.280.0030.04115.39
5.4.270.0050.03715.45
5.4.260.0000.03215.37
5.4.250.0060.03515.45
5.4.240.0070.03615.37
5.4.230.0030.03515.40
5.4.220.0050.04015.51
5.4.210.0090.03515.33
5.4.200.0060.04115.41
5.4.190.0040.04415.38
5.4.180.0090.02915.44
5.4.170.0010.02615.41
5.4.160.0030.04115.34
5.4.150.0090.03515.31
5.4.140.0020.04214.00
5.4.130.0020.03014.11
5.4.120.0030.04114.02
5.4.110.0040.03914.10
5.4.100.0030.04014.03
5.4.90.0050.03513.98
5.4.80.0010.04114.14
5.4.70.0060.03914.09
5.4.60.0070.03214.17
5.4.50.0060.02613.99
5.4.40.0050.03814.15
5.4.30.0050.03214.13
5.4.20.0060.03614.02
5.4.10.0050.03514.17
5.4.00.0050.02813.86
5.3.290.0030.04013.23
5.3.280.0070.04013.16
5.3.270.0090.03513.22
5.3.260.0020.04313.14
5.3.250.0090.03313.19
5.3.240.0030.03913.24
5.3.230.0070.04013.18
5.3.220.0050.03713.12
5.3.210.0060.03813.10
5.3.200.0020.04313.10
5.3.190.0020.03313.13
5.3.180.0010.04313.17
5.3.170.0020.02313.12
5.3.160.0070.03713.21
5.3.150.0030.04013.18
5.3.140.0100.03213.17
5.3.130.0070.04013.17
5.3.120.0030.04213.04
5.3.110.0050.02513.10
5.3.100.0040.02112.85
5.3.90.0020.04012.84
5.3.80.0000.03812.82
5.3.70.0050.03712.89
5.3.60.0070.03712.93
5.3.50.0000.04212.87
5.3.40.0040.02412.83
5.3.30.0050.03212.85
5.3.20.0080.03012.74
5.3.10.0080.02912.73
5.3.00.0030.02012.63
5.2.170.0050.03012.34
5.2.160.0030.03312.34
5.2.150.0050.03312.34
5.2.140.0040.02712.34
5.2.130.0050.01712.34
5.2.120.0010.03012.34
5.2.110.0050.01812.34
5.2.100.0020.02912.34
5.2.90.0020.01812.34
5.2.80.0000.03612.34
5.2.70.0050.03212.34
5.2.60.0070.03012.34
5.2.50.0020.03212.34
5.2.40.0050.01712.34
5.2.30.0050.03012.34
5.2.20.0020.03512.34
5.2.10.0070.03012.34
5.2.00.0050.03012.34
5.1.60.0020.03012.34
5.1.50.0050.02512.34
5.1.40.0060.02312.34
5.1.30.0050.02612.34
5.1.20.0060.02912.34
5.1.10.0030.02112.34
5.1.00.0040.03012.34
5.0.50.0050.02112.34
5.0.40.0040.02312.34
5.0.30.0020.03312.34
5.0.20.0040.02212.34
5.0.10.0050.01012.34
5.0.00.0030.03812.34
4.4.90.0000.01912.34
4.4.80.0030.01812.34
4.4.70.0020.01912.34
4.4.60.0020.01812.34
4.4.50.0000.02212.34
4.4.40.0030.02812.34
4.4.30.0020.01812.34
4.4.20.0050.01612.34
4.4.10.0020.01812.34
4.4.00.0010.03012.34
4.3.110.0000.02112.34
4.3.100.0030.01712.34
4.3.90.0030.01712.34
4.3.80.0020.01712.34
4.3.70.0020.01812.34
4.3.60.0020.01012.34
4.3.50.0000.02012.34
4.3.40.0030.01312.34
4.3.30.0020.01812.34
4.3.20.0000.01712.34
4.3.10.0020.02112.34
4.3.00.0000.01612.34

preferences:
33.82 ms | 400 KiB | 5 Q