3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '<pre>'; var_dump(json_encode(json_decode('{"objects":{"object":[ { "type" : "route", "link" : { "type" : "locator", "href" : "http://rest.db.ripe.net/ripe/route/213.239.160.0/20AS15703" }, "source" : { "id" : "ripe" }, "primary-key" : { "attribute" : [ { "name" : "route", "value" : "213.239.160.0/20" }, { "name" : "origin", "value" : "AS15703" } ] }, "attributes" : { "attribute" : [ { "name" : "route", "value" : "213.239.160.0/20" }, { "name" : "descr", "value" : "TrueServer BV" }, { "link" : { "type" : "locator", "href" : "http://rest.db.ripe.net/ripe/aut-num/AS15703" }, "name" : "origin", "value" : "AS15703", "referenced-type" : "aut-num" }, { "link" : { "type" : "locator", "href" : "http://rest.db.ripe.net/ripe/mntner/TRUESERVER-MNT" }, "name" : "mnt-by", "value" : "TRUESERVER-MNT", "referenced-type" : "mntner" }, { "name" : "created", "value" : "2002-04-10T11:20:37Z" }, { "name" : "last-modified", "value" : "2002-04-10T11:20:37Z" }, { "name" : "source", "value" : "RIPE", "comment" : "Filtered" } ] } } ] }, "terms-and-conditions" : { "type" : "locator", "href" : "http://www.ripe.net/db/support/db-terms-conditions.pdf" } }'))); echo '</pre>';

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.0040.01218.68
8.3.30.0070.00719.09
8.3.20.0040.00420.35
8.3.10.0040.00421.90
8.3.00.0060.00323.52
8.2.170.0070.01422.96
8.2.160.0070.00722.21
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0060.00317.50
8.2.110.0000.00919.43
8.2.100.0140.00017.63
8.2.90.0070.00019.27
8.2.80.0040.00417.97
8.2.70.0060.00317.37
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0030.00520.97
8.2.30.0000.00719.68
8.2.20.0040.00417.63
8.2.10.0000.00818.06
8.2.00.0090.00017.92
8.1.270.0030.00620.24
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00323.83
8.1.230.0080.00417.66
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0050.00221.95
8.1.150.0050.00218.68
8.1.140.0000.00717.25
8.1.130.0050.00317.57
8.1.120.0040.00417.18
8.1.110.0050.00317.33
8.1.100.0000.00717.30
8.1.90.0000.00717.23
8.1.80.0040.00417.36
8.1.70.0050.00217.34
8.1.60.0040.00417.49
8.1.50.0080.00017.30
8.1.40.0070.00017.36
8.1.30.0060.00317.46
8.1.20.0040.00417.44
8.1.10.0070.00017.30
8.1.00.0060.00317.39
8.0.300.0040.00418.77
8.0.290.0040.00416.60
8.0.280.0070.00018.34
8.0.270.0030.00317.14
8.0.260.0030.00317.07
8.0.250.0000.00716.79
8.0.240.0080.00016.72
8.0.230.0000.00816.73
8.0.220.0030.00516.77
8.0.210.0060.00316.76
8.0.200.0030.00316.84
8.0.190.0000.00716.75
8.0.180.0000.00716.82
8.0.170.0000.00716.68
8.0.160.0030.00616.73
8.0.150.0050.00316.72
8.0.140.0040.00316.61
8.0.130.0060.00013.20
8.0.120.0080.00016.68
8.0.110.0000.00716.70
8.0.100.0000.00716.71
8.0.90.0030.00516.59
8.0.80.0030.01716.73
8.0.70.0040.00416.76
8.0.60.0050.00216.69
8.0.50.0050.00316.67
8.0.30.0080.01016.84
8.0.20.0110.01017.40
8.0.10.0080.00016.68
8.0.00.0110.00916.62
7.4.330.0060.00015.08
7.4.320.0030.00316.38
7.4.300.0030.00316.48
7.4.290.0040.00416.28
7.4.280.0000.00716.45
7.4.270.0040.00416.35
7.4.260.0000.00716.41
7.4.250.0050.00316.45
7.4.240.0050.00216.37
7.4.230.0030.00316.18
7.4.220.0080.01116.59
7.4.210.0120.00616.50
7.4.200.0000.00716.27
7.4.160.0110.00416.39
7.4.150.0120.00817.40
7.4.140.0100.00817.86
7.4.130.0140.00616.42
7.4.120.0060.01216.41
7.4.110.0040.01216.41
7.4.100.0100.01416.39
7.4.90.0080.00916.19
7.4.80.0060.01219.39
7.4.70.0100.00616.41
7.4.60.0090.00616.30
7.4.50.0000.00416.36
7.4.40.0130.00316.52
7.4.30.0140.00916.36
7.4.00.0030.01314.70
7.3.330.0050.00013.00
7.3.320.0000.00512.93
7.3.310.0000.00716.16
7.3.300.0000.00716.13
7.3.290.0070.01016.09
7.3.280.0060.01216.17
7.3.270.0130.00417.40
7.3.260.0110.01216.17
7.3.250.0120.00916.23
7.3.240.0000.01816.24
7.3.230.0120.00916.39
7.3.210.0000.01616.36
7.3.200.0100.00716.34
7.3.190.0050.01216.48
7.3.180.0090.00616.29
7.3.170.0100.00616.27
7.3.160.0120.00316.34
7.2.330.0100.00716.45
7.2.320.0060.01216.29
7.2.310.0060.01216.43
7.2.300.0090.00916.27
7.2.290.0060.01016.12
7.2.00.0030.00919.38
7.1.100.0060.00617.95
7.1.70.0060.00316.95
7.1.60.0140.01019.42
7.1.50.0000.01916.86
7.1.00.0030.07322.37
7.0.200.0220.00414.61
7.0.90.0030.05319.97
7.0.80.0670.08319.99
7.0.70.0500.06019.89
7.0.60.0570.08020.07
7.0.50.0600.08020.32
7.0.40.0070.08020.09
7.0.30.0100.08020.09
7.0.20.0030.09720.15
7.0.10.0100.07320.14
7.0.00.0200.07020.01
5.6.280.0000.03321.07
5.6.240.0070.08720.50
5.6.230.0100.06020.67
5.6.220.0000.08720.52
5.6.210.0130.06720.66
5.6.200.0000.08021.03
5.6.190.0070.07321.03
5.6.180.0130.08020.95
5.6.170.0070.04321.07
5.6.160.0100.06321.03
5.6.150.0130.07321.13
5.6.140.0070.08321.00
5.6.130.0070.08321.08
5.6.120.0070.08021.10
5.6.110.0000.05321.03
5.6.100.0170.04321.10
5.6.90.0000.06321.08
5.6.80.0000.08320.44
5.6.70.0030.06320.44
5.6.60.0130.06320.47
5.6.50.0070.05720.31
5.6.40.0070.07720.45
5.6.30.0030.08320.43
5.6.20.0200.03320.45
5.6.10.0030.06020.46
5.6.00.0070.05020.26
5.5.380.0070.08020.48
5.5.370.0170.08020.37
5.5.360.0070.08320.55
5.5.350.0130.07720.32
5.5.340.0130.06720.89
5.5.330.0100.08020.88
5.5.320.0070.08020.73
5.5.310.0070.07720.84
5.5.300.0130.07320.88
5.5.290.0100.08020.82
5.5.280.0170.04020.89
5.5.270.0000.06020.81
5.5.260.0070.07320.85
5.5.250.0100.06020.58
5.5.240.0100.04320.12
5.5.230.0100.05720.20
5.5.220.0130.07020.25
5.5.210.0100.07720.13
5.5.200.0000.05020.27
5.5.190.0070.05719.97
5.5.180.0000.08720.15
5.5.160.0100.04020.12
5.5.150.0200.06720.14
5.5.140.0000.08320.16
5.5.130.0030.08020.16
5.5.120.0030.05320.07
5.5.110.0130.05019.98
5.5.100.0070.07020.05
5.5.90.0130.06320.06
5.5.80.0130.05020.06
5.5.70.0000.04320.10
5.5.60.0100.04320.09
5.5.50.0030.04020.14
5.5.40.0000.04320.08
5.5.30.0030.04320.05
5.5.20.0100.04020.13
5.5.10.0070.03719.96
5.5.00.0070.03320.00
5.4.450.0100.05319.27
5.4.440.0070.07719.55
5.4.430.0130.07019.42
5.4.420.0130.07719.13
5.4.410.0070.07719.26
5.4.400.0000.04718.95
5.4.390.0030.05019.11
5.4.380.0070.06719.12
5.4.370.0070.05718.96
5.4.360.0030.06019.07
5.4.350.0070.07719.14
5.4.340.0100.03719.06
5.4.320.0100.05018.80
5.4.310.0100.04018.95
5.4.300.0000.07319.04
5.4.290.0100.05719.14
5.4.280.0100.06319.04
5.4.270.0030.08319.11
5.4.260.0000.05318.96
5.4.250.0100.04318.80
5.4.240.0100.06019.14
5.4.230.0030.03718.77
5.4.220.0030.04719.04
5.4.210.0030.03719.23
5.4.200.0100.03718.96
5.4.190.0000.04019.04
5.4.180.0030.03719.02
5.4.170.0000.04019.09
5.4.160.0070.03319.09
5.4.150.0030.03319.12
5.4.140.0100.02716.22
5.4.130.0030.03316.07
5.4.120.0000.03716.24
5.4.110.0030.06316.30
5.4.100.0030.03716.46
5.4.90.0100.05716.33
5.4.80.0000.05016.20
5.4.70.0000.03716.22
5.4.60.0070.03016.32
5.4.50.0000.04016.20
5.4.40.0030.06316.35
5.4.30.0070.04016.18
5.4.20.0100.03016.41
5.4.10.0000.04016.39
5.4.00.0030.03315.73
5.3.290.0070.05014.54
5.3.280.0070.05714.55
5.3.270.0030.04714.44
5.3.260.0030.03314.48
5.3.250.0030.03714.53
5.3.240.0070.07014.48
5.3.230.0030.03314.53
5.3.220.0100.05314.56
5.3.210.0170.04014.57
5.3.200.0030.04014.50
5.3.190.0030.08014.54
5.3.180.0000.04014.45
5.3.170.0100.07314.49
5.3.160.0030.03314.57
5.3.150.0170.06014.57
5.3.140.0000.04014.57
5.3.130.0000.04014.48
5.3.120.0030.05714.54
5.3.110.0030.03714.55
5.3.100.0070.03713.91
5.3.90.0000.03714.05
5.3.80.0030.03713.79
5.3.70.0130.02314.02
5.3.60.0030.03313.97
5.3.50.0000.05313.95
5.3.40.0070.03313.92
5.3.30.0070.02713.68
5.3.20.0070.03013.70
5.3.10.0000.04013.66
5.3.00.0000.03313.59
5.2.170.0000.03011.00
5.2.160.0030.03311.01
5.2.150.0030.02711.20
5.2.140.0070.03711.19
5.2.130.0100.03711.07
5.2.120.0030.02711.10
5.2.110.0030.02711.06
5.2.100.0030.02710.96
5.2.90.0000.03311.04
5.2.80.0000.02711.10
5.2.70.0000.03310.93
5.2.60.0000.03711.05
5.2.50.0000.03010.85
5.2.40.0000.04311.01
5.2.30.0030.03311.02
5.2.20.0030.02710.85
5.2.10.0000.02710.93
5.2.00.0000.03010.80
5.1.60.0070.0209.98
5.1.50.0000.02710.00
5.1.40.0030.02310.00
5.1.30.0030.02710.34
5.1.20.0030.02310.20
5.1.10.0000.02710.11
5.1.00.0000.02710.05
5.0.50.0030.0208.60
5.0.40.0030.0378.46
5.0.30.0000.0308.21
5.0.20.0000.0208.30
5.0.10.0070.0378.27
5.0.00.0070.0638.23
4.4.90.0030.0137.24
4.4.80.0000.0177.24
4.4.70.0070.0107.24
4.4.60.0030.0137.24
4.4.50.0030.0137.24
4.4.40.0000.0237.24
4.4.30.0000.0177.24
4.4.20.0030.0137.24
4.4.10.0030.0137.24
4.4.00.0000.0307.24
4.3.110.0000.0177.24
4.3.100.0070.0107.24
4.3.90.0000.0207.24
4.3.80.0100.0477.24
4.3.70.0030.0237.24
4.3.60.0030.0137.24
4.3.50.0030.0377.24
4.3.40.0000.0577.24
4.3.30.0070.0337.24
4.3.20.0000.0337.24
4.3.10.0070.0337.24
4.3.00.0000.0337.24

preferences:
56.76 ms | 400 KiB | 5 Q