3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(simplexml_load_string('<a><c><inner/></c><c><inner>ddd</inner></c></a>'));

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.130.0060.00318.46
8.3.120.0050.00520.98
8.3.110.0060.01316.54
8.3.100.0000.00916.79
8.3.90.0090.00626.77
8.3.80.0030.00616.78
8.3.70.0180.00416.63
8.3.60.0090.00616.63
8.3.50.0120.00922.07
8.3.40.0130.00719.02
8.3.30.0100.00718.92
8.3.20.0000.01720.45
8.3.10.0100.01021.89
8.3.00.0150.00419.38
8.2.250.0040.00418.44
8.2.240.0030.00617.13
8.2.230.0080.00020.94
8.2.220.0070.01124.06
8.2.210.0070.00726.77
8.2.200.0000.00916.75
8.2.190.0090.00916.58
8.2.180.0060.00925.92
8.2.170.0070.01118.79
8.2.160.0070.01022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0140.00326.16
8.2.120.0070.00019.95
8.2.110.0060.00321.14
8.2.100.0080.00417.84
8.2.90.0030.00517.91
8.2.80.0000.01018.04
8.2.70.0080.00018.03
8.2.60.0070.00018.22
8.2.50.0030.00618.07
8.2.40.0040.00419.71
8.2.30.0000.00718.01
8.2.20.0000.00717.77
8.2.10.0000.00718.10
8.2.00.0040.00417.64
8.1.300.0060.01318.04
8.1.290.0080.00030.84
8.1.280.0140.00425.92
8.1.270.0000.00724.66
8.1.260.0100.01026.35
8.1.250.0100.00028.09
8.1.240.0000.00822.29
8.1.230.0060.00621.03
8.1.220.0000.01117.74
8.1.210.0050.00319.00
8.1.200.0120.00017.36
8.1.190.0030.00617.54
8.1.180.0070.00018.10
8.1.170.0050.00320.53
8.1.160.0040.00421.98
8.1.150.0000.00718.82
8.1.140.0040.00417.47
8.1.130.0000.00717.89
8.1.120.0070.00017.55
8.1.110.0000.00817.48
8.1.100.0000.00717.40
8.1.90.0070.00017.48
8.1.80.0000.00717.52
8.1.70.0030.00317.48
8.1.60.0000.00817.53
8.1.50.0000.00917.42
8.1.40.0000.00817.64
8.1.30.0030.00517.56
8.1.20.0030.00617.74
8.1.10.0050.00217.44
8.1.00.0080.00317.52
8.0.300.0000.00819.91
8.0.290.0030.00616.88
8.0.280.0040.00418.35
8.0.270.0040.00417.30
8.0.260.0030.00317.16
8.0.250.0030.00317.04
8.0.240.0000.00817.02
8.0.230.0040.00416.94
8.0.220.0030.00316.93
8.0.210.0040.00416.95
8.0.200.0030.00316.93
8.0.190.0000.00717.09
8.0.180.0070.00017.00
8.0.170.0000.00716.85
8.0.160.0000.00816.84
8.0.150.0000.00716.77
8.0.140.0000.00716.92
8.0.130.0000.00813.30
8.0.120.0040.00416.98
8.0.110.0060.00316.82
8.0.100.0070.00016.96
8.0.90.0000.00716.72
8.0.80.0060.01017.00
8.0.70.0040.00416.96
8.0.60.0040.00416.99
8.0.50.0040.00416.82
8.0.30.0110.01117.20
8.0.20.0130.01017.40
8.0.10.0070.00017.09
8.0.00.0130.00516.86
7.4.330.0050.00015.24
7.4.320.0000.00816.43
7.4.300.0030.00616.55
7.4.290.0070.00016.65
7.4.280.0040.00416.60
7.4.270.0000.00716.70
7.4.260.0000.01116.62
7.4.250.0000.00716.57
7.4.240.0050.00316.60
7.4.230.0030.00316.32
7.4.220.0030.01416.64
7.4.210.0100.00316.71
7.4.200.0070.00016.73
7.4.160.0000.01516.48
7.4.150.0000.02017.40
7.4.140.0080.00817.86
7.4.130.0120.01116.63
7.4.120.0070.00916.48
7.4.110.0060.01016.38
7.4.100.0100.01016.52
7.4.90.0110.00516.67
7.4.80.0150.00319.39
7.4.70.0100.00716.53
7.4.60.0060.01016.47
7.4.50.0030.00516.60
7.4.40.0060.01016.68
7.4.30.0090.01316.47
7.4.00.0070.00714.76
7.3.330.0000.00713.17
7.3.320.0120.00013.05
7.3.310.0000.00716.31
7.3.300.0030.00316.34
7.3.290.0030.00316.24
7.3.280.0060.01316.31
7.3.270.0040.01417.40
7.3.260.0040.01316.66
7.3.250.0070.01516.52
7.3.240.0000.01516.24
7.3.230.0040.01316.62
7.3.210.0150.00416.48
7.3.200.0100.01319.39
7.3.190.0060.00916.57
7.3.180.0060.01016.28
7.3.170.0100.01316.65
7.3.160.0030.01216.22
7.3.00.0080.00316.43
7.2.330.0030.01616.49
7.2.320.0160.00316.72
7.2.310.0120.00916.46
7.2.300.0070.01016.60
7.2.290.0080.00816.29
7.2.130.0060.00317.00
7.2.120.0000.00916.58
7.2.110.0070.00716.83
7.2.100.0000.01316.89
7.2.90.0080.00616.87
7.2.80.0050.00517.00
7.2.70.0070.00716.92
7.2.60.0030.00916.74
7.2.50.0030.01216.88
7.2.40.0060.00916.99
7.2.30.0070.00716.50
7.2.20.0050.00516.91
7.2.10.0050.00516.69
7.2.00.0050.00618.19
7.1.250.0090.00615.72
7.1.240.0030.00715.84
7.1.230.0060.00315.81
7.1.220.0030.00815.71
7.1.210.0070.00715.69
7.1.200.0030.00715.56
7.1.190.0100.00615.65
7.1.180.0090.00615.78
7.1.170.0040.00415.57
7.1.160.0060.00615.89
7.1.150.0070.00715.48
7.1.140.0000.01015.73
7.1.130.0030.00615.89
7.1.120.0050.00515.71
7.1.110.0150.00015.71
7.1.100.0020.01016.85
7.1.90.0000.00915.74
7.1.80.0060.00615.95
7.1.70.0030.01116.37
7.1.60.0020.00916.25
7.1.50.0060.00516.35
7.1.40.0050.01016.34
7.1.30.0020.01316.35
7.1.20.0050.01016.37
7.1.10.0080.00016.35
7.1.00.0070.00516.29
7.0.330.0080.00015.05
7.0.320.0050.00515.21
7.0.310.0040.01115.45
7.0.300.0040.01115.40
7.0.290.0080.00615.23
7.0.280.0030.01015.40
7.0.270.0070.00715.16
7.0.260.0090.00015.43
7.0.250.0060.00815.20
7.0.240.0050.00315.14
7.0.230.0030.00315.61
7.0.220.0000.01015.54
7.0.210.0070.00415.10
7.0.200.0050.00716.14
7.0.190.0050.00516.06
7.0.180.0090.00616.31
7.0.170.0020.00716.16
7.0.160.0040.00716.04
7.0.150.0030.01016.16
7.0.140.0020.00816.22
7.0.130.0050.00516.22
7.0.120.0060.00616.21
7.0.110.0020.01116.05
7.0.100.0050.00916.16
7.0.90.0070.00316.01
7.0.80.0020.01116.30
7.0.70.0020.01416.23
7.0.60.0030.00616.17
7.0.50.0030.00816.13
7.0.40.0050.00315.25
7.0.30.0020.01015.21
7.0.20.0030.00815.14
7.0.10.0040.00715.21
7.0.00.0050.00615.20
5.6.380.0070.00414.39
5.6.370.0000.00814.57
5.6.360.0100.00314.29
5.6.350.0060.00314.66
5.6.340.0030.01014.14
5.6.330.0070.00414.34
5.6.320.0050.00314.14
5.6.310.0060.00613.93
5.6.300.0070.02217.46
5.6.290.0030.02317.44
5.6.280.0080.02317.66
5.6.270.0050.03517.60
5.6.260.0020.04417.55
5.6.250.0070.02917.42
5.6.240.0030.02517.49
5.6.230.0050.02317.40
5.6.220.0030.02817.39
5.6.210.0080.02317.56
5.6.200.0050.02817.38
5.6.190.0050.04017.62
5.6.180.0050.02317.59
5.6.170.0050.02417.72
5.6.160.0100.02017.64
5.6.150.0100.02117.51
5.6.140.0050.03017.55
5.6.130.0130.02317.53
5.6.120.0050.02517.59
5.6.110.0050.02717.61
5.6.100.0190.02717.52
5.6.90.0070.02317.39
5.6.80.0020.02617.23
5.6.70.0030.02617.18
5.6.60.0050.02517.24
5.6.50.0050.02617.30
5.6.40.0030.02917.07
5.6.30.0050.02717.16
5.6.20.0050.02817.03
5.6.10.0110.02117.24
5.6.00.0070.02317.08
5.5.380.0050.03014.42
5.5.370.0050.02114.42
5.5.360.0060.02514.35
5.5.350.0080.02514.42
5.5.340.0000.02814.54
5.5.330.0020.02914.81
5.5.320.0050.02214.54
5.5.310.0070.03014.67
5.5.300.0040.02114.70
5.5.290.0020.02714.70
5.5.280.0000.02814.70
5.5.270.0040.02814.69
5.5.260.0000.02514.65
5.5.250.0040.02114.61
5.5.240.0020.02514.37
5.5.230.0060.02514.24
5.5.220.0020.02614.38
5.5.210.0050.02314.36
5.5.200.0020.02614.33
5.5.190.0050.03014.30
5.5.180.0050.02214.34
5.5.170.0000.01011.18
5.5.160.0040.02714.39
5.5.150.0040.02014.34
5.5.140.0000.02714.34
5.5.130.0040.02514.37
5.5.120.0020.02414.38
5.5.110.0030.02114.20
5.5.100.0050.02714.29
5.5.90.0050.02114.30
5.5.80.0070.02114.29
5.5.70.0020.02714.13
5.5.60.0030.02514.31
5.5.50.0050.02214.29
5.5.40.0070.02214.29
5.5.30.0030.02314.33
5.5.20.0020.02814.28
5.5.10.0040.02514.27
5.5.00.0030.02414.30
5.4.450.0050.02115.30
5.4.440.0030.02415.25
5.4.430.0030.02315.35
5.4.420.0050.02115.31
5.4.410.0000.02615.20
5.4.400.0040.02315.08
5.4.390.0070.02315.12
5.4.380.0020.02515.23
5.4.370.0050.02315.11
5.4.360.0030.02515.13
5.4.350.0040.02215.11
5.4.340.0030.02515.24
5.4.330.0070.00711.18
5.4.320.0020.02615.09
5.4.310.0070.01815.14
5.4.300.0020.02615.13
5.4.290.0030.02215.13
5.4.280.0080.02015.07
5.4.270.0060.01915.08
5.4.260.0030.02415.22
5.4.250.0060.02015.21
5.4.240.0110.01915.14
5.4.230.0070.01815.19
5.4.220.0080.02115.12
5.4.210.0050.02615.22
5.4.200.0020.02615.08
5.4.190.0060.02015.20
5.4.180.0070.01815.07
5.4.170.0060.02015.20
5.4.160.0050.02515.12
5.4.150.0050.02315.13
5.4.140.0050.02114.07
5.4.130.0040.02114.07
5.4.120.0000.03714.07
5.4.110.0020.02214.07
5.4.100.0060.01714.07
5.4.90.0000.03814.07
5.4.80.0030.02014.07
5.4.70.0060.02114.07
5.4.60.0030.02014.07
5.4.50.0060.03114.07
5.4.40.0030.03014.07
5.4.30.0020.02514.07
5.4.20.0020.02314.07
5.4.10.0120.01514.07
5.4.00.0070.03714.07
5.3.290.0050.02314.07
5.3.280.0050.02214.07
5.3.270.0070.01614.07
5.3.260.0030.02214.07
5.3.250.0060.01914.07
5.3.240.0020.02214.07
5.3.230.0060.02014.07
5.3.220.0060.01814.07
5.3.210.0020.02214.07
5.3.200.0060.01814.07
5.3.190.0040.02714.07
5.3.180.0030.02414.07
5.3.170.0020.02714.07
5.3.160.0030.02214.07
5.3.150.0060.01814.07
5.3.140.0070.02014.07
5.3.130.0030.02114.07
5.3.120.0040.02914.07
5.3.110.0030.02414.07
5.3.100.0050.02014.07
5.3.90.0040.02114.07
5.3.80.0030.02314.07
5.3.70.0000.02414.07
5.3.60.0060.02414.07
5.3.50.0030.02114.07
5.3.40.0040.02314.07
5.3.30.0030.02114.07
5.3.20.0050.03814.07
5.3.10.0050.01714.07
5.3.00.0010.02214.07
5.2.170.0020.03914.07
5.2.160.0040.01814.07
5.2.150.0050.02214.07
5.2.140.0040.02614.07
5.2.130.0050.02514.07
5.2.120.0030.01714.07
5.2.110.0020.02114.07
5.2.100.0070.01514.07
5.2.90.0030.01814.07
5.2.80.0030.01614.07
5.2.70.0050.01614.07
5.2.60.0010.01814.07
5.2.50.0060.01614.07
5.2.40.0000.02414.07
5.2.30.0050.01814.07
5.2.20.0050.03514.07
5.2.10.0030.01614.07
5.2.00.0070.02814.07
5.1.60.0020.01614.07
5.1.50.0030.02514.07
5.1.40.0020.01614.07
5.1.30.0050.01214.07
5.1.20.0050.01214.07
5.1.10.0040.01414.07
5.1.00.0040.01314.07
5.0.50.0000.02314.07
5.0.40.0010.01714.07
5.0.30.0020.01814.07
5.0.20.0030.01514.07
5.0.10.0020.01914.07
5.0.00.0030.01814.07
4.4.90.0020.00914.07
4.4.80.0020.01014.07
4.4.70.0030.01214.07
4.4.60.0010.01214.07
4.4.50.0000.02214.07
4.4.40.0000.02014.07
4.4.30.0020.00914.07
4.4.20.0020.01014.07
4.4.10.0020.00814.07
4.4.00.0020.01514.07
4.3.110.0030.01514.07
4.3.100.0030.01914.07
4.3.90.0020.01714.07
4.3.80.0020.01314.07
4.3.70.0020.01114.07
4.3.60.0000.01014.07
4.3.50.0000.01714.07
4.3.40.0010.01714.07
4.3.30.0050.01614.07
4.3.20.0010.01214.07
4.3.10.0000.01214.07
4.3.00.0040.00914.07

preferences:
29.62 ms | 403 KiB | 5 Q