3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlString = '<properties><property name="width">20</property><property name="height">100</property></properties>'; echo json_encode(simplexml_load_string($xmlString));

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.5.00.0130.01020.18
8.4.150.0030.00014.05
8.4.140.0130.00717.88
8.4.130.0100.00217.77
8.4.120.0080.00920.99
8.4.110.0130.00718.98
8.4.100.0150.00617.94
8.4.90.0080.01220.72
8.4.80.0120.00819.14
8.4.70.0070.00919.14
8.4.60.0080.00119.09
8.4.50.0100.01020.72
8.4.40.0120.00619.04
8.4.30.0040.00420.78
8.4.20.0060.00920.05
8.4.10.0090.00020.72
8.3.280.0140.00718.54
8.3.270.0140.00616.54
8.3.260.0110.00916.62
8.3.250.0130.00718.90
8.3.240.0130.00616.57
8.3.230.0110.00916.53
8.3.220.0100.00818.97
8.3.210.0130.00518.46
8.3.200.0050.00416.64
8.3.190.0100.00817.14
8.3.180.0060.00418.33
8.3.170.0140.00017.25
8.3.160.0140.00718.46
8.3.150.0090.00920.90
8.3.140.0040.01416.70
8.3.130.0180.00016.77
8.3.120.0030.00620.73
8.3.110.0190.00020.94
8.3.100.0040.00424.06
8.3.90.0060.01026.77
8.3.80.0080.00019.36
8.3.70.0130.00916.63
8.3.60.0100.01316.63
8.3.50.0120.00723.62
8.3.40.0110.00419.42
8.3.30.0130.00618.83
8.3.20.0000.00724.18
8.3.10.0070.00024.66
8.3.00.0120.00326.16
8.2.290.0090.01018.88
8.2.280.0110.00820.36
8.2.270.0110.00719.44
8.2.260.0070.00418.59
8.2.250.0080.00018.61
8.2.240.0070.00017.37
8.2.230.0030.00622.58
8.2.220.0050.00337.54
8.2.210.0050.00326.77
8.2.200.0040.00418.88
8.2.190.0110.00716.58
8.2.180.0140.00325.92
8.2.170.0060.01319.19
8.2.160.0100.00722.96
8.2.150.0030.00625.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0030.00519.79
8.2.110.0070.00319.58
8.2.100.0040.00917.84
8.2.90.0040.00417.88
8.2.80.0040.00419.03
8.2.70.0000.00817.75
8.2.60.0080.00017.75
8.2.50.0000.00819.65
8.2.40.0030.00521.37
8.2.30.0000.00719.33
8.2.20.0040.00418.22
8.2.10.0040.00419.31
8.2.00.0040.00419.36
8.1.330.0120.00616.41
8.1.320.0130.00716.16
8.1.310.0050.00316.70
8.1.300.0070.00718.33
8.1.290.0070.00330.84
8.1.280.0110.01125.92
8.1.270.0060.00322.31
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0080.00022.64
8.1.230.0040.00717.95
8.1.220.0040.00417.78
8.1.210.0060.00318.77
8.1.200.0030.00617.35
8.1.190.0000.00817.35
8.1.180.0070.00019.06
8.1.170.0040.00418.83
8.1.160.0110.00019.22
8.1.150.0040.00419.02
8.1.140.0000.00719.09
8.1.130.0000.00720.36
8.1.120.0040.00417.50
8.1.110.0000.00717.63
8.1.100.0040.00417.46
8.1.90.0030.00317.48
8.1.80.0080.00017.62
8.1.70.0030.00617.64
8.1.60.0040.00417.80
8.1.50.0090.00417.63
8.1.40.0120.00617.66
8.1.30.0100.00617.66
8.1.20.0120.00617.67
8.1.10.0120.00617.59
8.1.00.0100.00917.50
8.0.300.0080.00019.01
8.0.290.0000.00716.88
8.0.280.0030.00318.59
8.0.270.0080.00016.96
8.0.260.0090.00018.59
8.0.250.0000.00617.19
8.0.240.0000.00617.16
8.0.230.0000.00817.05
8.0.220.0070.00017.05
8.0.210.0070.00016.96
8.0.200.0000.00716.93
8.0.190.0040.00417.15
8.0.180.0050.00517.07
8.0.170.0100.00616.99
8.0.160.0100.00616.95
8.0.150.0100.00616.86
8.0.140.0120.00416.89
8.0.130.0130.00315.75
8.0.120.0120.00416.97
8.0.110.0120.00316.88
8.0.100.0140.00516.93
8.0.90.0120.00217.04
8.0.80.0120.00716.91
8.0.70.0070.00816.93
8.0.60.0060.00716.97
8.0.50.0040.00616.94
8.0.30.0150.00417.01
8.0.20.0180.00217.11
8.0.10.0120.00417.12
8.0.00.0080.00616.99
7.4.330.0020.00215.55
7.4.320.0030.00316.71
7.4.300.0030.00316.64
7.4.290.0050.00416.62
7.4.280.0170.00016.64
7.4.270.0120.00516.71
7.4.260.0120.00415.63
7.4.250.0080.00416.77
7.4.240.0080.00616.64
7.4.230.0140.00516.74
7.4.220.0100.00416.69
7.4.210.0100.00716.68
7.4.200.0130.00316.74
7.4.190.0110.00516.50
7.4.180.0140.00416.72
7.4.160.0170.00216.71
7.4.150.0070.01216.71
7.4.140.0090.01016.63
7.4.130.0100.01016.62
7.4.120.0110.00916.59
7.4.110.0130.00616.64
7.4.100.0100.00716.63
7.4.90.0130.00816.67
7.4.80.0100.00817.53
7.4.70.0140.00516.69
7.4.60.0170.00216.61
7.4.50.0110.00816.48
7.4.40.0120.00916.49
7.4.30.0120.00616.51
7.4.20.0100.00816.54
7.4.10.0100.00816.60
7.4.00.0130.00616.63
7.3.330.0100.00516.33
7.3.320.0100.00415.30
7.3.310.0130.00216.40
7.3.300.0110.00416.41
7.3.290.0110.00716.33
7.3.280.0170.00216.30
7.3.270.0190.00016.29
7.3.260.0110.00616.39
7.3.250.0170.00316.37
7.3.240.0110.00816.31
7.3.230.0130.00716.29
7.3.220.0160.00216.22
7.3.210.0140.00516.27
7.3.200.0140.00516.36
7.3.190.0160.00416.40
7.3.180.0120.00816.29
7.3.170.0130.00616.42
7.3.160.0130.00716.34
7.3.150.0130.00616.37
7.3.140.0110.00616.37
7.3.130.0080.00916.30
7.3.120.0090.01016.35
7.3.110.0160.00416.32
7.3.100.0100.00816.36
7.3.90.0100.00916.39
7.3.80.0140.00616.42
7.3.70.0120.00716.37
7.3.60.0130.00516.38
7.3.50.0110.00816.43
7.3.40.0110.00616.42
7.3.30.0130.00416.41
7.3.20.0130.00517.14
7.3.10.0110.00817.10
7.3.00.0120.00617.13
7.2.340.0130.00516.47
7.2.330.0130.00616.48
7.2.320.0140.00516.54
7.2.310.0110.00716.50
7.2.300.0130.00616.53
7.2.290.0110.00816.56
7.2.280.0130.00716.51
7.2.270.0140.00416.55
7.2.260.0120.00716.57
7.2.250.0100.00916.50
7.2.240.0110.00816.45
7.2.230.0100.00916.54
7.2.220.0140.00416.44
7.2.210.0130.00516.52
7.2.200.0120.00816.50
7.2.190.0100.00816.54
7.2.180.0130.00716.44
7.2.170.0130.00716.50
7.2.160.0100.00816.52
7.2.150.0130.00717.26
7.2.140.0140.00717.33
7.2.130.0130.00617.33
7.2.120.0150.00817.46
7.2.110.0140.00717.21
7.2.100.0200.01017.44
7.2.90.0120.00917.33
7.2.80.0130.00717.25
7.2.70.0120.00917.30
7.2.60.0090.01217.32
7.2.50.0110.00917.31
7.2.40.0150.00617.31
7.2.30.0200.01017.29
7.2.20.0110.00817.38
7.2.10.0140.00617.39
7.2.00.0120.00717.32
7.1.330.0180.00017.38
7.1.320.0180.00017.63
7.1.310.0130.00417.35
7.1.300.0130.00417.53
7.1.290.0130.00517.65
7.1.280.0090.00917.46
7.1.270.0150.00217.30
7.1.260.0140.00317.56
7.1.250.0110.00717.50
7.1.240.0130.00417.45
7.1.230.0140.00317.58
7.1.220.0150.00317.29
7.1.210.0170.00317.53
7.1.200.0140.00517.37
7.1.190.0080.01017.24
7.1.180.0170.00017.50
7.1.170.0150.00317.32
7.1.160.0180.00017.23
7.1.150.0130.00617.35
7.1.140.0110.00817.50
7.1.130.0160.00317.28
7.1.120.0140.00517.50
7.1.110.0140.00317.26
7.1.100.0120.00617.25
7.1.90.0110.00717.20
7.1.80.0120.00617.20
7.1.70.0110.00917.33
7.1.60.0150.00317.25
7.1.50.0110.00817.26
7.1.40.0190.00017.55
7.1.30.0190.00017.59
7.1.20.0160.00317.41
7.1.10.0180.00217.26
7.1.00.0080.01217.42
7.0.330.0130.00517.05
7.0.320.0150.00317.22
7.0.310.0140.00317.23
7.0.300.0120.00616.96
7.0.290.0180.00017.13
7.0.280.0160.00316.86
7.0.270.0140.00317.20
7.0.260.0120.00617.05
7.0.250.0120.00617.16
7.0.240.0140.00217.32
7.0.230.0110.00617.34
7.0.220.0140.00517.05
7.0.210.0140.00417.32
7.0.200.0130.00417.19
7.0.190.0190.00017.27
7.0.180.0140.00417.07
7.0.170.0120.00617.12
7.0.160.0180.00017.27
7.0.150.0110.00617.22
7.0.140.0100.00716.90
7.0.130.0100.00717.35
7.0.120.0170.00017.18
7.0.110.0110.00717.05
7.0.100.0180.00017.10
7.0.90.0170.00016.97
7.0.80.0090.00917.14
7.0.70.0170.00016.89
7.0.60.0180.00017.19
7.0.50.0000.01717.10
7.0.40.0140.00316.97
7.0.30.0050.01117.18
7.0.20.0130.00316.98
7.0.10.0170.00017.26
7.0.00.0130.00317.09
5.6.400.0140.00315.70
5.6.390.0090.00915.90
5.6.380.0170.00015.74
5.6.370.0060.01115.92
5.6.360.0200.00015.91
5.6.350.0160.00016.05
5.6.340.0130.00415.88
5.6.330.0130.00315.90
5.6.320.0090.00915.77
5.6.310.0140.00316.10
5.6.300.0100.00715.88
5.6.290.0120.00415.76
5.6.280.0150.00315.93
5.6.270.0100.00815.86
5.6.260.0090.00615.93
5.6.250.0110.00615.89
5.6.240.0130.00415.78
5.6.230.0140.00316.03
5.6.220.0140.00415.91
5.6.210.0100.00715.91
5.6.200.0140.00215.98
5.6.190.0140.00316.18
5.6.180.0170.00015.96
5.6.170.0180.00016.15
5.6.160.0110.00616.06
5.6.150.0140.00316.07
5.6.140.0160.00016.00
5.6.130.0110.00515.81
5.6.120.0150.00315.88
5.6.110.0150.00215.95
5.6.100.0140.00315.91
5.6.90.0070.01015.75
5.6.80.0120.00415.72
5.6.70.0140.00316.14
5.6.60.0110.00416.05
5.6.50.0160.00015.86
5.6.40.0140.00315.92
5.6.30.0100.00615.94
5.6.20.0160.00015.92
5.6.10.0130.00315.82
5.6.00.0100.00615.82
5.5.380.0130.00415.80
5.5.370.0100.00715.89
5.5.360.0170.00015.60
5.5.350.0100.00715.63
5.5.340.0100.00715.61
5.5.330.0120.00415.91
5.5.320.0130.00415.92
5.5.310.0130.00315.61
5.5.300.0080.00815.95
5.5.290.0130.00315.79
5.5.280.0130.00315.86
5.5.270.0170.00415.54
5.5.260.0110.00615.93
5.5.250.0080.00816.06
5.5.240.0120.00415.98
5.5.230.0120.00415.66
5.5.220.0160.00015.84
5.5.210.0120.00415.73
5.5.200.0130.00315.54
5.5.190.0160.00015.67
5.5.180.0130.00315.88
5.5.170.0160.00015.69
5.5.160.0130.00315.92
5.5.150.0070.01015.67
5.5.140.0160.00015.75
5.5.130.0110.00515.61
5.5.120.0150.00015.72
5.5.110.0130.00315.75
5.5.100.0160.00015.83
5.5.90.0110.00515.79
5.5.80.0130.00315.77
5.5.70.0110.00615.59
5.5.60.0130.00315.93
5.5.50.0090.00615.97
5.5.40.0120.00315.56
5.5.30.0150.00315.63
5.5.20.0090.00715.81
5.5.10.0100.00515.88
5.5.00.0140.00315.56
5.4.450.0070.00712.82
5.4.440.0100.00312.94
5.4.430.0090.00512.77
5.4.420.0140.00012.76
5.4.410.0120.00012.71
5.4.400.0130.00012.77
5.4.390.0050.00812.78
5.4.380.0110.00312.52
5.4.370.0130.00012.82
5.4.360.0090.00412.66
5.4.350.0130.00012.71
5.4.340.0130.00012.77
5.4.330.0130.00012.61
5.4.320.0060.00612.77
5.4.310.0080.00512.77
5.4.300.0040.00812.61
5.4.290.0110.00212.80
5.4.280.0130.00012.73
5.4.270.0090.00412.58
5.4.260.0080.00412.78
5.4.250.0110.00412.79
5.4.240.0070.00712.79
5.4.230.0130.00012.60
5.4.220.0040.00912.52
5.4.210.0130.00012.52
5.4.200.0080.00512.51
5.4.190.0040.00912.36
5.4.180.0140.00012.34
5.4.170.0140.00012.42
5.4.160.0130.00012.58
5.4.150.0140.00012.51
5.4.140.0130.00012.85
5.4.130.0140.00012.39
5.4.120.0110.00312.73
5.4.110.0130.00012.65
5.4.100.0080.00412.70
5.4.90.0100.00312.52
5.4.80.0070.00712.68
5.4.70.0080.00412.75
5.4.60.0130.00012.72
5.4.50.0130.00012.55
5.4.40.0110.00312.65
5.4.30.0040.00912.68
5.4.20.0110.00412.84
5.4.10.0100.00312.58
5.4.00.0100.00312.57
5.3.290.0070.00712.99
5.3.280.0130.00012.98
5.3.270.0110.00313.04
5.3.260.0130.00013.35
5.3.250.0100.00313.27
5.3.240.0100.00313.17
5.3.230.0120.00312.93
5.3.220.0110.00213.17
5.3.210.0040.00912.86
5.3.200.0130.00012.84
5.3.190.0140.00013.04
5.3.180.0130.00013.06
5.3.170.0080.00513.28
5.3.160.0080.00412.97
5.3.150.0110.00313.34
5.3.140.0130.00013.38
5.3.130.0130.00012.98
5.3.120.0100.00313.28
5.3.110.0130.00412.93
5.3.100.0080.00413.06
5.3.90.0120.00012.99
5.3.80.0130.00013.13
5.3.70.0080.00513.14
5.3.60.0070.00513.27
5.3.50.0080.00512.84
5.3.40.0080.00513.00
5.3.30.0060.00613.25
5.3.20.0130.00013.04
5.3.10.0040.00812.79
5.3.00.0100.00212.80
5.2.170.0070.00412.27
5.2.160.0060.00612.06
5.2.150.0050.00512.27
5.2.140.0030.00711.95
5.2.130.0070.00412.23
5.2.120.0110.00012.13
5.2.110.0050.00511.99
5.2.100.0100.00012.22
5.2.90.0080.00311.93
5.2.80.0000.01111.83
5.2.70.0040.00711.93
5.2.60.0070.00311.82
5.2.50.0100.00011.99
5.2.40.0100.00012.20
5.2.30.0050.00512.04
5.2.20.0060.00611.76
5.2.10.0040.00712.00
5.2.00.0050.00511.75
5.1.60.0070.00210.96
5.1.50.0040.00410.71
5.1.40.0030.00611.10
5.1.30.0090.00011.15
5.1.20.0070.00311.06
5.1.10.0070.00210.89
5.1.00.0060.00610.95
5.0.50.0080.00010.22
5.0.40.0080.0009.86
5.0.30.0050.0039.96
5.0.20.0050.0039.92
5.0.10.0080.0009.82
5.0.00.0070.0009.54
4.4.90.0000.0059.41
4.4.80.0000.0059.41
4.4.70.0020.0029.41
4.4.60.0050.0009.41
4.4.50.0050.0009.41
4.4.40.0050.0009.41
4.4.30.0050.0009.41
4.4.20.0000.0059.41
4.4.10.0050.0009.41
4.4.00.0000.0049.41
4.3.110.0040.0009.41
4.3.100.0040.0009.41
4.3.90.0050.0009.41
4.3.80.0050.0009.41
4.3.70.0050.0009.41
4.3.60.0040.0009.41
4.3.50.0000.0059.41
4.3.40.0000.0059.41
4.3.30.0030.0009.41
4.3.20.0000.0049.41
4.3.10.0000.0049.41
4.3.00.0020.0029.41

preferences:
32.16 ms | 403 KiB | 5 Q