3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<xml <?xml version="1.0" encoding="utf-8"?> <RESPONSE> <SUCCESS>true</SUCCESS> <ERRORMESSAGE> </ERRORMESSAGE> <TIMESTAMP>21/09/2015 03:26:37</TIMESTAMP> </RESPONSE> xml; $response = simplexml_load_string($xml); //$response = json_decode(json_encode($response), TRUE); print_r($response);

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.70.0120.00316.62
8.3.60.0110.00416.63
8.3.50.0140.00721.27
8.3.40.0060.00918.94
8.3.30.0090.00618.75
8.3.20.0040.00420.41
8.3.10.0080.00022.01
8.3.00.0050.00319.68
8.2.180.0140.00716.63
8.2.170.0090.00922.96
8.2.160.0150.00620.48
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00817.75
8.2.110.0030.00619.21
8.2.100.0060.00617.75
8.2.90.0000.00819.30
8.2.80.0080.00017.97
8.2.70.0030.00617.75
8.2.60.0060.00617.92
8.2.50.0060.00618.07
8.2.40.0050.00321.37
8.2.30.0040.00418.22
8.2.20.0000.00817.84
8.2.10.0040.00418.05
8.2.00.0040.00418.22
8.1.280.0090.00625.92
8.1.270.0050.00322.27
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00624.08
8.1.230.0080.00417.48
8.1.220.0000.00817.77
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0000.00817.35
8.1.180.0000.00918.10
8.1.170.0040.00418.62
8.1.160.0030.00722.10
8.1.150.0040.00418.87
8.1.140.0000.00917.60
8.1.130.0030.00317.73
8.1.120.0040.00417.61
8.1.110.0030.00517.62
8.1.100.0000.00717.59
8.1.90.0070.00017.46
8.1.80.0040.00417.65
8.1.70.0080.00017.49
8.1.60.0000.00717.61
8.1.50.0030.00517.63
8.1.40.0040.00417.71
8.1.30.0030.00517.71
8.1.20.0040.00417.70
8.1.10.0040.00417.49
8.1.00.0080.00017.59
8.0.300.0000.00818.77
8.0.290.0050.00216.88
8.0.280.0070.00018.41
8.0.270.0050.00317.40
8.0.260.0030.00317.30
8.0.250.0000.00717.14
8.0.240.0000.00717.16
8.0.230.0040.00417.11
8.0.220.0030.00317.12
8.0.210.0040.00417.01
8.0.200.0000.00717.08
8.0.190.0060.00317.13
8.0.180.0030.00317.13
8.0.170.0000.00817.06
8.0.160.0030.00616.98
8.0.150.0040.00417.00
8.0.140.0050.00317.00
8.0.130.0000.00513.43
8.0.120.0000.00717.09
8.0.110.0030.00417.02
8.0.100.0000.00717.09
8.0.90.0050.00516.88
8.0.80.0120.00317.09
8.0.70.0080.00017.18
8.0.60.0030.00616.96
8.0.50.0040.00416.87
8.0.30.0060.01017.22
8.0.20.0120.00717.40
8.0.10.0050.00317.04
8.0.00.0090.00916.85
7.4.330.0030.00515.08
7.4.320.0030.00316.65
7.4.300.0030.00316.66
7.4.290.0070.00016.67
7.4.280.0070.00016.57
7.4.270.0040.00416.64
7.4.260.0000.00816.53
7.4.250.0080.00016.74
7.4.240.0030.00316.66
7.4.230.0000.00716.45
7.4.220.0070.01016.73
7.4.210.0120.00316.80
7.4.200.0040.00416.57
7.4.160.0090.00616.47
7.4.150.0090.00917.40
7.4.140.0130.01217.86
7.4.130.0110.00916.59
7.4.120.0080.00816.60
7.4.110.0080.00816.59
7.4.100.0080.00916.54
7.4.90.0150.00316.73
7.4.80.0070.01119.39
7.4.70.0120.00416.55
7.4.60.0060.01616.64
7.4.50.0040.00416.75
7.4.40.0080.00816.73
7.4.30.0100.01016.45
7.4.00.0060.01214.95
7.3.330.0030.00313.31
7.3.320.0050.00013.27
7.3.310.0000.00716.41
7.3.300.0040.00416.40
7.3.290.0060.01216.36
7.3.280.0110.00616.39
7.3.270.0150.00317.40
7.3.260.0110.00716.39
7.3.250.0120.00716.51
7.3.240.0110.00716.66
7.3.230.0130.00516.39
7.3.210.0100.00716.55
7.3.200.0060.01016.57
7.3.190.0160.00616.46
7.3.180.0040.01216.48
7.3.170.0100.00716.68
7.3.160.0120.00616.55
7.2.330.0000.01716.67
7.2.320.0110.00816.77
7.2.310.0060.01016.57
7.2.300.0100.01316.75
7.2.290.0100.01316.50
7.2.60.0090.00316.50
7.2.00.0040.00719.39
7.1.200.0080.00415.71
7.1.100.0040.00818.21
7.1.70.0040.00417.13
7.1.60.0130.00320.03
7.1.50.0090.00916.62
7.1.00.0030.07722.45
7.0.200.0590.00014.90
7.0.60.0130.07720.09
7.0.50.0100.05017.98
7.0.40.0170.05720.43
7.0.30.0270.07320.32
7.0.20.0300.05720.30
7.0.10.0100.08320.19
7.0.00.0130.08320.30
5.6.280.0000.03721.05
5.6.210.0100.08020.71
5.6.200.0030.07318.32
5.6.190.0130.08020.63
5.6.180.0270.07320.86
5.6.170.0200.03720.66
5.6.160.0000.04720.67
5.6.150.0030.04018.30
5.6.140.0030.08018.34
5.6.130.0170.07018.37
5.6.120.0170.03321.18
5.6.110.0170.08321.02
5.6.100.0070.08021.07
5.6.90.0000.08721.10
5.6.80.0400.05720.42
5.5.350.0230.07720.58
5.5.340.0070.04318.03
5.5.330.0000.05320.42
5.5.320.0070.07720.38
5.5.310.0300.03720.44
5.5.300.0030.08318.09
5.5.290.0070.04318.14
5.5.280.0130.07720.75
5.5.270.0070.08720.84
5.5.260.0070.07720.90
5.5.250.0130.07720.57
5.5.240.0300.07020.39
5.4.450.0300.08019.32
5.4.440.0230.06319.31
5.4.430.0370.07019.48
5.4.420.0330.07019.61
5.4.410.0270.05319.36
5.4.400.0330.07019.34
5.4.390.0430.05719.21
5.4.380.0330.06718.96
5.4.370.0270.07318.99
5.4.360.0330.06319.23
5.4.350.0330.05019.21
5.4.340.0200.04019.27
5.4.320.0330.06718.99
5.4.310.0230.06019.29
5.4.300.0200.05719.13
5.4.290.0300.04719.24
5.4.280.0300.07319.32
5.4.270.0230.04019.06
5.4.260.0430.06718.95
5.4.250.0230.07719.28
5.4.240.0400.06318.98
5.4.230.0300.05019.15
5.4.220.0270.04719.16
5.4.210.0200.05019.31
5.4.200.0330.06719.15
5.4.190.0230.04018.98
5.4.180.0400.06319.06
5.4.170.0370.07019.15
5.4.160.0270.04019.29
5.4.150.0300.05718.98
5.4.140.0470.05716.41
5.4.130.0270.06016.41
5.4.120.0330.05316.54
5.4.110.0270.05016.61
5.4.100.0270.06316.64
5.4.90.0300.04016.46
5.4.80.0300.05016.60

preferences:
42.29 ms | 401 KiB | 5 Q