3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(json_decode('{“data”:[{“user_id”:”42”, “name”:”Bob”, “links”:[{“rel”:”self”, “href”:”http://api.example.com/users/42”}]}, {“user_id”:”22”, “name”:”Frank”, “links”: [{“rel”:”self”, “href”:”http://api.example.com/users/22”}]}, {“user_id”:”125”, “name”: “Sally”, “links”:[{“rel”:”self”, “href”:”http://api.example.com/users/125”}]}], “links”:[{“rel”:“first”, “href”:”http://api.example.com/users?offset=0&limit=3”}, {“rel”:“last”, “href”:”http://api.example.com/users?offset=55&limit=3”}, {“rel”:“previous”, “href”:”http://api.example.com/users?offset=3&limit=3”}, {“rel”:”next”, “href”:”http://api.example.com/users?offset=9&limit=3”}]}', true));

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.0120.00618.48
8.3.30.0070.00720.39
8.3.20.0070.00020.18
8.3.10.0000.00822.15
8.3.00.0080.00022.34
8.2.170.0150.00722.96
8.2.160.0100.00720.35
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0030.00619.16
8.2.110.0060.00322.24
8.2.100.0090.00319.36
8.2.90.0000.00819.09
8.2.80.0040.00419.39
8.2.70.0040.00417.38
8.2.60.0000.00717.80
8.2.50.0040.00418.07
8.2.40.0070.00018.09
8.2.30.0030.00517.87
8.2.20.0070.00017.54
8.2.10.0050.00217.56
8.2.00.0030.00617.51
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.92
8.1.230.0100.00419.05
8.1.220.0000.00717.74
8.1.210.0080.00018.77
8.1.200.0000.01017.00
8.1.190.0060.00317.43
8.1.180.0030.00718.86
8.1.170.0090.00018.64
8.1.160.0000.00722.10
8.1.150.0040.00418.63
8.1.140.0000.00817.23
8.1.130.0070.00317.52
8.1.120.0050.00317.23
8.1.110.0040.00417.30
8.1.100.0040.00417.32
8.1.90.0040.00417.40
8.1.80.0040.00417.33
8.1.70.0000.00717.31
8.1.60.0030.00617.46
8.1.50.0030.00617.32
8.1.40.0040.00417.40
8.1.30.0080.00017.47
8.1.20.0000.00817.57
8.1.10.0050.00217.25
8.1.00.0030.00717.32
8.0.300.0030.00318.77
8.0.290.0040.00417.05
8.0.280.0070.00018.32
8.0.270.0000.00717.13
8.0.260.0000.00716.58
8.0.250.0030.00316.81
8.0.240.0040.00516.73
8.0.230.0040.00416.85
8.0.220.0070.00016.73
8.0.210.0030.00316.77
8.0.200.0070.00016.85
8.0.190.0040.00416.84
8.0.180.0070.00016.80
8.0.170.0000.00816.70
8.0.160.0030.00316.77
8.0.150.0000.00716.66
8.0.140.0040.00416.75
8.0.130.0060.00013.11
8.0.120.0000.00816.63
8.0.110.0070.00016.69
8.0.100.0000.00816.63
8.0.90.0000.00716.76
8.0.80.0140.00716.69
8.0.70.0000.00716.72
8.0.60.0070.00016.63
8.0.50.0080.00016.88
8.0.30.0080.01416.87
8.0.20.0100.00817.40
8.0.10.0050.00216.89
8.0.00.0090.00916.60
7.4.330.0000.00515.00
7.4.320.0070.00016.47
7.4.300.0050.00216.45
7.4.290.0000.00716.31
7.4.280.0070.00016.52
7.4.270.0000.00816.52
7.4.260.0030.00616.29
7.4.250.0050.00216.43
7.4.240.0040.00416.39
7.4.230.0000.00716.19
7.4.220.0110.00716.54
7.4.210.0100.00716.47
7.4.200.0050.00316.36
7.4.190.0030.00516.34
7.4.160.0060.00916.48
7.4.150.0100.00717.40
7.4.140.0190.01617.86
7.4.130.0080.00816.28
7.4.120.0060.01316.31
7.4.110.0130.00316.28
7.4.100.0060.01216.49
7.4.90.0140.00716.32
7.4.80.0110.00719.39
7.4.70.0130.00316.32
7.4.60.0120.00416.30
7.4.50.0080.00016.18
7.4.40.0090.00622.77
7.4.30.0080.01316.28
7.4.00.0060.00814.85
7.3.330.0000.00513.07
7.3.320.0000.00613.13
7.3.310.0070.00016.09
7.3.300.0060.00016.12
7.3.290.0090.00616.19
7.3.280.0070.01016.12
7.3.270.0000.01717.40
7.3.260.0030.01416.43
7.3.250.0070.01216.29
7.3.240.0040.01216.14
7.3.230.0110.00616.39
7.3.210.0060.01016.14
7.3.200.0180.00419.39
7.3.190.0090.00916.23
7.3.180.0000.01516.17
7.3.170.0150.00016.30
7.3.160.0060.00916.38
7.3.120.0100.00714.72
7.3.110.0080.00814.69
7.3.100.0030.00914.55
7.3.90.0060.00314.66
7.3.80.0030.00714.82
7.3.70.0060.00314.77
7.3.60.0080.00814.78
7.3.50.0090.00614.64
7.3.40.0040.01114.64
7.3.30.0030.00914.76
7.3.20.0120.00016.67
7.3.10.0050.01016.47
7.3.00.0020.00816.27
7.2.330.0090.00916.49
7.2.320.0040.01516.54
7.2.310.0080.00816.39
7.2.300.0170.00716.32
7.2.290.0080.00816.40
7.2.250.0030.01614.59
7.2.240.0030.01614.92
7.2.230.0030.00614.76
7.2.220.0030.01414.70
7.2.210.0060.00315.05
7.2.200.0030.00914.77
7.2.190.0090.00914.92
7.2.180.0140.00314.93
7.2.170.0090.00614.84
7.2.130.0050.00716.84
7.2.120.0050.00716.50
7.2.110.0060.00716.54
7.2.100.0090.00416.70
7.2.90.0070.00716.83
7.2.80.0090.00616.76
7.2.70.0030.00916.85
7.2.60.0060.00816.77
7.2.50.0030.00816.63
7.2.40.0000.01116.66
7.2.30.0070.00516.76
7.2.20.0080.00616.66
7.2.10.0060.00816.79
7.2.00.0070.00517.54
7.1.330.0110.00415.49
7.1.320.0070.00715.62
7.1.310.0070.00315.79
7.1.300.0030.01215.71
7.1.290.0030.00615.69
7.1.280.0090.00615.79
7.1.270.0130.00015.80
7.1.260.0090.00015.58
7.1.250.0020.01015.63
7.1.240.0060.00315.43
7.1.230.0000.01115.59
7.1.220.0050.00315.68
7.1.210.0000.01315.77
7.1.200.0000.01015.75
7.1.190.0000.01315.48
7.1.180.0100.00315.81
7.1.170.0070.00715.65
7.1.160.0110.00015.79
7.1.150.0030.00915.66
7.1.140.0060.00615.66
7.1.130.0080.00415.39
7.1.120.0030.00615.66
7.1.110.0070.00415.55
7.1.100.0050.00916.83
7.1.90.0040.00415.59
7.1.80.0030.01015.59
7.1.70.0020.00716.29
7.1.60.0070.01217.59
7.1.50.0080.01216.14
7.1.40.0130.00015.52
7.1.30.0070.01015.68
7.1.20.0030.00615.75
7.1.10.0000.01315.74
7.1.00.0050.01818.99
7.0.330.0100.00315.48
7.0.320.0100.00015.22
7.0.310.0000.01114.99
7.0.300.0030.00915.30
7.0.290.0000.01415.42
7.0.280.0060.00315.43
7.0.270.0030.01315.48
7.0.260.0030.01015.14
7.0.250.0070.00415.07
7.0.240.0040.01215.41
7.0.230.0130.00315.30
7.0.220.0040.01115.14
7.0.210.0060.00615.02
7.0.200.0060.00615.83
7.0.190.0040.01115.30
7.0.180.0040.00415.05
7.0.170.0040.01115.26
7.0.160.0000.01215.03
7.0.150.0130.00315.21
7.0.140.0030.04218.55
7.0.130.0040.00415.26
7.0.120.0000.01515.25
7.0.110.0000.01215.47
7.0.100.0070.00715.05
7.0.90.0060.00615.41
7.0.80.0060.00915.21
7.0.70.2430.03017.51
7.0.60.0070.03917.67
7.0.50.0020.03216.43
7.0.40.0100.04516.81
7.0.30.0310.03316.53
7.0.20.0190.03716.70
7.0.10.0130.02516.59
7.0.00.0070.04416.66
5.6.380.0000.01013.75
5.6.370.0040.01114.29
5.6.360.0040.01114.30
5.6.350.0030.00314.20
5.6.340.0070.00714.16
5.6.330.0070.00714.22
5.6.320.0060.00614.11
5.6.310.0090.00614.15
5.6.300.0000.01414.36
5.6.290.0060.00314.19
5.6.280.0000.04317.65
5.6.270.0040.00814.34
5.6.260.0070.00614.29
5.6.250.0000.01114.10
5.6.240.0060.00614.06
5.6.230.0130.00314.05
5.6.220.0070.00714.02
5.6.210.0060.04317.33
5.6.200.0070.02816.13
5.6.190.0050.03217.31
5.6.180.0120.04017.19
5.6.170.0170.01917.22
5.6.160.0110.04117.47
5.6.150.0050.04015.95
5.6.140.0070.04516.04
5.6.130.0080.03615.97
5.6.120.0080.02017.60
5.6.110.0140.03617.49
5.6.100.0030.04917.47
5.6.90.0060.04317.50
5.6.80.0070.04317.18
5.6.70.0030.04717.09
5.6.60.0040.00414.16
5.6.50.0110.00013.97
5.6.40.0100.00314.03
5.6.30.0130.00314.02
5.6.20.0030.00713.74
5.6.10.0070.00413.97
5.6.00.0050.00513.86
5.5.380.0030.00910.80
5.5.370.0030.00610.69
5.5.360.0040.00410.94
5.5.350.0010.04115.39
5.5.340.0040.02814.35
5.5.330.0030.04815.58
5.5.320.0060.04515.46
5.5.310.0160.03815.56
5.5.300.0080.02214.41
5.5.290.0030.04614.40
5.5.280.0070.02315.86
5.5.270.0110.04115.97
5.5.260.0070.03315.81
5.5.250.0000.04715.73
5.5.240.0060.04115.50
5.5.230.0040.01110.64
5.5.220.0030.00610.59
5.5.210.0040.00410.59
5.5.200.0070.00010.80
5.5.190.0000.00910.64
5.5.180.0030.00310.95
5.5.170.0060.00610.81
5.5.160.0000.00910.81
5.5.150.0050.00210.67
5.5.140.0100.00010.73
5.5.130.0030.01010.49
5.5.120.0000.00910.69
5.5.110.0050.00510.87
5.5.100.0040.00410.89
5.5.90.0030.00510.77
5.5.80.0050.00010.45
5.5.70.0040.00810.82
5.5.60.0060.00310.89
5.5.50.0030.00510.82
5.5.40.0080.00010.61
5.5.30.0050.00510.46
5.5.20.0050.00210.86
5.5.10.0000.01210.87
5.5.00.0030.00710.75
5.4.450.0200.03515.13
5.4.440.0450.03415.01
5.4.430.0340.03015.07
5.4.420.0500.02315.34
5.4.410.0070.03114.90
5.4.400.0460.02614.67
5.4.390.0500.03214.85
5.4.380.0080.03714.67
5.4.370.0100.02514.73
5.4.360.0100.02414.67
5.4.350.0050.02011.35
5.4.340.0080.01911.38
5.4.330.0070.00010.86
5.4.320.0030.02111.68
5.4.310.0090.02011.62
5.4.300.0080.02211.66
5.4.290.0030.03111.57
5.4.280.0070.02011.59
5.4.270.0070.02011.48
5.4.260.0050.02511.57
5.4.250.0070.02411.51
5.4.240.0120.02214.57
5.4.230.0030.02814.73
5.4.220.0060.02814.85
5.4.210.0040.03014.88
5.4.200.0060.02814.88
5.4.190.0080.02314.80
5.4.180.0040.03114.89
5.4.170.0100.02514.83
5.4.160.0000.03114.91
5.4.150.0010.03514.79
5.4.140.0100.02513.65
5.4.130.0060.02613.53
5.4.120.0050.02613.60
5.4.110.0050.02913.68
5.4.100.0020.02913.54
5.4.90.0030.03113.47
5.4.80.0080.02513.57
5.4.70.0030.02813.60
5.4.60.0100.02213.53
5.4.50.0040.02813.53
5.4.40.0060.02313.51
5.4.30.0050.03513.56
5.4.20.0060.02613.61
5.4.10.0080.02813.53
5.4.00.0030.03013.40
5.3.290.0040.02811.64
5.3.280.0020.03112.42
5.3.270.0030.02812.56
5.3.260.0070.02712.36
5.3.250.0040.03112.34
5.3.240.0080.02712.38
5.3.230.0070.03112.25
5.3.220.0080.02812.41
5.3.210.0050.02712.38
5.3.200.0080.02612.37
5.3.190.0030.03212.36
5.3.180.0030.03012.51
5.3.170.0050.03612.43
5.3.160.0080.02312.52
5.3.150.0110.02112.40
5.3.140.0070.02912.36
5.3.130.0080.02712.29
5.3.120.0100.02712.42
5.3.110.0070.03012.49
5.3.100.0050.02712.23
5.3.90.0100.02812.09
5.3.80.0080.02512.09
5.3.70.0050.02812.09
5.3.60.0110.02212.13
5.3.50.0050.02912.01
5.3.40.0110.02612.08
5.3.30.0030.03212.04
5.3.20.0060.02812.00
5.3.10.0060.02611.75
5.3.00.0030.03011.78
5.2.170.0020.02410.61
5.2.160.0030.02510.64
5.2.150.0070.02210.65
5.2.140.0080.02010.69
5.2.130.0040.02210.63
5.2.120.0020.02310.63
5.2.110.0050.02210.63
5.2.100.0060.02110.63
5.2.90.0030.02110.63
5.2.80.0050.02310.62
5.2.70.0020.02510.58
5.2.60.0030.02510.52
5.2.50.0050.02110.59
5.2.40.0020.02510.52
5.2.30.0000.02510.57
5.2.20.0030.02210.52
5.2.10.0050.02310.52
5.2.00.0020.02510.43
5.1.60.0050.02010.04
5.1.50.0030.01910.15
5.1.40.0090.01510.18
5.1.30.0050.02110.19
5.1.20.0030.02010.25
5.1.10.0020.02310.12
5.1.00.0100.01310.12
5.0.50.0050.0159.33
5.0.40.0020.0159.25
5.0.30.0050.0219.20
5.0.20.0050.0159.21
5.0.10.0020.0179.17
5.0.00.0030.0229.13
4.4.90.0000.0137.97
4.4.80.0030.0117.97
4.4.70.0030.0177.99
4.4.60.0060.0137.92
4.4.50.0030.0127.95
4.4.40.0030.0187.95
4.4.30.0030.0118.15
4.4.20.0030.0128.15
4.4.10.0070.0088.15
4.4.00.0030.0208.15
4.3.110.0030.0128.15
4.3.100.0050.0138.15
4.3.90.0030.0128.15
4.3.80.0000.0198.15
4.3.70.0030.0128.15
4.3.60.0040.0108.15
4.3.50.0050.0158.15
4.3.40.0050.0158.15
4.3.30.0020.0138.15
4.3.20.0000.0188.15
4.3.10.0020.0148.15
4.3.00.0040.0098.77

preferences:
43.87 ms | 400 KiB | 5 Q