3v4l.org

run code in 300+ PHP versions simultaneously
<?php class PathController { public function get_route() { return Response::json(Cache::remember('route-point', 10, function() { foreach (array("Sprint", "Score", "Section") as $type) { $type_count = static::do_something($type); } })); } }

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.60.0030.01418.18
8.3.50.0300.00317.16
8.3.40.0110.00418.84
8.3.30.0000.01518.39
8.3.20.0040.00418.64
8.3.10.0060.00320.27
8.3.00.0000.00819.26
8.2.180.0140.00316.47
8.2.170.0110.00422.96
8.2.160.0030.01319.34
8.2.150.0040.00424.18
8.2.140.0040.01224.66
8.2.130.0000.00726.16
8.2.120.0080.00018.60
8.2.110.0060.00319.23
8.2.100.0080.00417.78
8.2.90.0030.00619.36
8.2.80.0020.00519.37
8.2.70.0030.00617.25
8.2.60.0040.00417.68
8.2.50.0030.00618.07
8.2.40.0050.00318.03
8.2.30.0040.00417.85
8.2.20.0000.00919.15
8.2.10.0000.00717.67
8.2.00.0000.00717.48
8.1.280.0110.00425.92
8.1.270.0080.00024.66
8.1.260.0000.01426.35
8.1.250.0060.00328.09
8.1.240.0090.00022.05
8.1.230.0110.00022.73
8.1.220.0040.00417.74
8.1.210.0030.00618.97
8.1.200.0030.00617.11
8.1.190.0070.00017.28
8.1.180.0040.00418.10
8.1.170.0030.00618.84
8.1.160.0000.00918.64
8.1.150.0040.00418.48
8.1.140.0000.00717.37
8.1.130.0030.00317.67
8.1.120.0040.00417.34
8.1.110.0070.00017.27
8.1.100.0030.00317.38
8.1.90.0000.00717.30
8.1.80.0030.00317.17
8.1.70.0030.00717.31
8.1.60.0040.00417.46
8.1.50.0000.00817.34
8.1.40.0040.00417.36
8.1.30.0000.00717.54
8.1.20.0050.00217.41
8.1.10.0020.00517.37
8.1.00.0070.00017.30
8.0.300.0040.00419.79
8.0.290.0000.00716.58
8.0.280.0040.00418.24
8.0.270.0000.00717.13
8.0.260.0030.00318.19
8.0.250.0000.00716.73
8.0.240.0070.00016.77
8.0.230.0070.00016.79
8.0.220.0030.00316.82
8.0.210.0080.00016.80
8.0.200.0050.00316.81
8.0.190.0030.00516.81
8.0.180.0000.00816.84
8.0.170.0000.00916.70
8.0.160.0070.00016.69
8.0.150.0050.00316.71
8.0.140.0040.00416.63
8.0.130.0050.00013.25
8.0.120.0040.00416.73
8.0.110.0040.00416.66
8.0.100.0030.00516.64
8.0.90.0030.00316.72
8.0.80.0120.00316.73
8.0.70.0030.00516.72
8.0.60.0040.00416.70
8.0.50.0000.00816.71
8.0.30.0150.00317.09
8.0.20.0130.00516.92
8.0.10.0040.00416.77
8.0.00.0080.01316.57
7.4.330.0000.00612.79
7.4.320.0000.00716.40
7.4.300.0000.00616.43
7.4.290.0070.00016.37
7.4.280.0030.00516.36
7.4.270.0030.00316.45
7.4.260.0030.00313.09
7.4.250.0040.00416.29
7.4.240.0050.00316.48
7.4.230.0030.00316.45
7.4.220.0090.01216.48
7.4.210.0120.00316.54
7.4.200.0050.00216.48
7.4.190.0070.00016.43
7.4.160.0060.01016.41
7.4.150.0050.01116.18
7.4.140.0060.01116.54
7.4.130.0080.00816.39
7.4.120.0060.01216.18
7.4.110.0120.01216.29
7.4.100.0030.01616.38
7.4.90.0090.00916.43
7.4.80.0110.00516.40
7.4.70.0120.00816.28
7.4.60.0130.00316.36
7.4.50.0090.00016.22
7.4.40.0090.00616.44
7.4.30.0120.00316.38
7.4.00.0090.01014.79
7.3.330.0000.00713.11
7.3.320.0000.00613.15
7.3.310.0050.00216.21
7.3.300.0000.00716.20
7.3.290.0060.01016.15
7.3.280.0060.01216.19
7.3.270.0100.00616.03
7.3.260.0090.00916.24
7.3.250.0110.01016.37
7.3.240.0120.01216.13
7.3.230.0120.00416.46
7.3.210.0100.00716.16
7.3.200.0030.02419.39
7.3.190.0070.01516.44
7.3.180.0090.00916.34
7.3.170.0120.00316.39
7.3.160.0090.00616.42
7.3.120.0100.00614.46
7.3.110.0090.00814.82
7.3.100.0060.01014.61
7.3.90.0080.00814.61
7.3.80.0070.00714.72
7.3.70.0110.00314.69
7.3.60.0050.00714.51
7.3.50.0050.00514.52
7.3.40.0030.00814.55
7.3.30.0030.00714.69
7.3.20.0080.00516.39
7.3.10.0070.00516.51
7.3.00.0030.01016.50
7.2.330.0090.00916.40
7.2.320.0040.01416.49
7.2.310.0150.00316.21
7.2.300.0170.00316.58
7.2.290.0060.01116.49
7.2.250.0070.01114.74
7.2.240.0050.01214.67
7.2.230.0070.01014.75
7.2.220.0030.00914.65
7.2.210.0040.01014.53
7.2.200.0030.01214.68
7.2.190.0010.01114.71
7.2.180.0090.00514.57
7.2.170.0010.01214.72
7.2.130.0040.00616.70
7.2.120.0030.01216.68
7.2.110.0030.01016.73
7.2.100.0040.00916.90
7.2.90.0040.00716.48
7.2.80.0060.01216.48
7.2.70.0090.00716.37
7.2.60.0020.01116.44
7.2.50.0030.00716.83
7.2.40.0010.01216.78
7.2.30.0100.00116.47
7.2.20.0050.00616.58
7.2.10.0020.01116.57
7.2.00.0040.01017.49
7.1.330.0050.00915.38
7.1.320.0010.00715.53
7.1.310.0060.00515.53
7.1.300.0070.00715.60
7.1.290.0110.00315.54
7.1.280.0030.01015.58
7.1.270.0030.00915.38
7.1.260.0060.00715.35
7.1.250.0030.01015.69
7.1.240.0000.00715.28
7.1.230.0090.00615.42
7.1.220.0040.00415.57
7.1.210.0030.01015.52
7.1.200.0030.01015.62
7.1.190.0050.00515.63
7.1.180.0040.00815.53
7.1.170.0000.01415.50
7.1.160.0030.00915.52
7.1.150.0060.00615.29
7.1.140.0040.00715.61
7.1.130.0100.00315.70
7.1.120.0080.00315.55
7.1.110.0060.00615.32
7.1.100.0040.01115.59
7.1.90.0000.00815.73
7.1.80.0000.01215.63
7.1.70.0090.00316.30
7.1.60.0080.00917.51
7.1.50.0060.01316.01
7.1.40.0040.01115.23
7.1.30.0050.00315.57
7.1.20.0100.00315.52
7.1.10.0060.00615.42
7.1.00.0090.02618.99
7.0.330.0040.01115.06
7.0.320.0030.00915.14
7.0.310.0000.01115.14
7.0.300.0030.01314.98
7.0.290.0030.00615.26
7.0.280.0000.00714.98
7.0.270.0000.00715.19
7.0.260.0080.00314.95
7.0.250.0000.00715.06
7.0.240.0090.00315.23
7.0.230.0040.00415.23
7.0.220.0060.00615.21
7.0.210.0030.00915.31
7.0.200.0050.00515.95
7.0.190.0080.00015.31
7.0.180.0070.00714.99
7.0.170.0120.00314.92
7.0.160.0000.01615.38
7.0.150.0100.00315.28
7.0.140.0040.04218.72
7.0.130.0000.01215.09
7.0.120.0030.02318.69
7.0.110.0050.00515.02
7.0.100.0030.00615.20
7.0.90.0060.00914.96
7.0.80.0060.00315.23
7.0.70.0000.01015.36
7.0.60.0060.04117.65
7.0.50.0050.04216.71
7.0.40.0030.04715.37
7.0.30.0030.05115.52
7.0.20.0070.04315.63
7.0.10.0050.03015.41
7.0.00.0000.03315.52
5.6.380.0000.01414.04
5.6.370.0090.00014.04
5.6.360.0000.00913.95
5.6.350.0050.00514.27
5.6.340.0030.01013.93
5.6.330.0030.01314.05
5.6.320.0100.00313.72
5.6.310.0060.00614.19
5.6.300.0000.01314.28
5.6.290.0040.00814.34
5.6.280.0080.03317.37
5.6.270.0060.00313.91
5.6.260.0030.01014.08
5.6.250.0070.00714.27
5.6.240.0110.00014.20
5.6.230.0040.01114.05
5.6.220.0040.00714.19
5.6.210.0050.03017.24
5.6.200.0070.03415.95
5.6.190.0080.03816.19
5.6.180.0100.04216.17
5.6.170.0070.04516.03
5.6.160.0000.03716.16
5.6.150.0080.04216.11
5.6.140.0090.02616.11
5.6.130.0130.03116.37
5.6.120.0110.04116.07
5.6.110.0050.03916.02
5.6.100.0080.02616.06
5.6.90.0070.02816.14
5.6.80.0050.02315.75
5.6.70.0090.02115.71
5.6.60.0020.02615.93
5.6.50.0050.02215.82
5.6.40.0050.02215.73
5.6.30.0060.02115.89
5.6.20.0080.02115.84
5.6.10.0060.02015.95
5.6.00.0040.02315.72
5.5.380.0030.00711.18
5.5.370.0060.00311.18
5.5.360.0070.00411.18
5.5.350.0180.04015.74
5.5.340.0070.03914.58
5.5.330.0070.04314.57
5.5.320.0070.03914.61
5.5.310.0100.03214.59
5.5.300.0080.04114.55
5.5.290.0040.04514.56
5.5.280.0090.04014.56
5.5.270.0050.02714.62
5.5.260.0030.04314.61
5.5.250.0080.02214.51
5.5.240.0020.02614.29
5.5.230.0040.01914.32
5.5.220.0070.01814.27
5.5.210.0050.02014.28
5.5.200.0050.01814.30
5.5.190.0070.02014.30
5.5.180.0000.02614.24
5.5.170.0070.00311.18
5.5.160.0040.02214.24
5.5.150.0030.02414.30
5.5.140.0020.02514.26
5.5.130.0050.02014.26
5.5.120.0010.02414.24
5.5.110.0080.01814.24
5.5.100.0030.02214.19
5.5.90.0070.01814.25
5.5.80.0080.01714.23
5.5.70.0040.02014.18
5.5.60.0070.01714.21
5.5.50.0060.02014.16
5.5.40.0020.02514.19
5.5.30.0050.02114.22
5.5.20.0040.02214.22
5.5.10.0080.02314.25
5.5.00.0030.04314.23
5.4.450.0030.04215.28
5.4.440.0070.04315.27
5.4.430.0050.04615.29
5.4.420.0070.03815.27
5.4.410.0060.02215.24
5.4.400.0000.02415.04
5.4.390.0030.02315.16
5.4.380.0020.02515.12
5.4.370.0050.01815.16
5.4.360.0050.02215.06
5.4.350.0030.02215.03
5.4.340.0030.02115.06
5.4.330.0060.00311.18
5.4.320.0020.02215.13
5.4.310.0070.01715.03
5.4.300.0060.02015.10
5.4.290.0060.02115.07
5.4.280.0050.01815.11
5.4.270.0020.02215.22
5.4.260.0070.01815.15
5.4.250.0010.02115.22
5.4.240.0030.02215.08
5.4.230.0030.02215.22
5.4.220.0070.01815.03
5.4.210.0030.02215.12
5.4.200.0050.02015.11
5.4.190.0030.02315.11
5.4.180.0000.02415.15
5.4.170.0060.04015.14
5.4.160.0080.01915.11
5.4.150.0070.04015.14
5.4.140.0100.01813.76
5.4.130.0050.04013.76
5.4.120.0070.03413.79
5.4.110.0020.03313.82
5.4.100.0090.03113.82
5.4.90.0050.02713.86
5.4.80.0050.02413.80
5.4.70.0100.03713.84
5.4.60.0030.02313.78
5.4.50.0030.04113.86
5.4.40.0050.03613.75
5.4.30.0060.04013.87
5.4.20.0020.04113.77
5.4.10.0050.04013.76
5.4.00.0040.03813.60
5.3.290.0050.02212.90
5.3.280.0030.02312.81
5.3.270.0050.04112.92
5.3.260.0050.04112.94
5.3.250.0030.03712.89
5.3.240.0090.03512.92
5.3.230.0050.04212.89
5.3.220.0070.04312.91
5.3.210.0120.03712.90
5.3.200.0070.02512.80
5.3.190.0060.04012.87
5.3.180.0070.02312.92
5.3.170.0050.04312.90
5.3.160.0050.02212.87
5.3.150.0080.02412.87
5.3.140.0050.02512.85
5.3.130.0060.03912.85
5.3.120.0070.03012.91
5.3.110.0050.02812.87
5.3.100.0030.03812.71
5.3.90.0040.04012.61
5.3.80.0070.04012.52
5.3.70.0050.03312.59
5.3.60.0030.04212.69
5.3.50.0110.03312.59
5.3.40.0070.02812.56
5.3.30.0090.01612.56
5.3.20.0070.03912.45
5.3.10.0030.04212.38
5.3.00.0020.03412.45
5.2.170.0050.03311.18
5.2.160.0030.02811.27
5.2.150.0020.02311.16
5.2.140.0030.03511.19
5.2.130.0100.02111.14
5.2.120.0020.03611.18
5.2.110.0070.03111.18
5.2.100.0070.02811.15
5.2.90.0060.02011.17
5.2.80.0050.02011.24
5.2.70.0030.02611.06
5.2.60.0030.02911.16
5.2.50.0040.03311.04
5.2.40.0070.03011.09
5.2.30.0040.02711.10
5.2.20.0060.02011.06
5.2.10.0100.02311.05
5.2.00.0090.01710.98
5.1.60.0070.02510.58
5.1.50.0040.01510.50
5.1.40.0050.02310.61
5.1.30.0060.02210.78
5.1.20.0090.02710.87
5.1.10.0030.02110.61
5.1.00.0050.02810.61
5.0.50.0000.01810.09
5.0.40.0080.00810.09
5.0.30.0030.02210.09
5.0.20.0020.01410.09
5.0.10.0030.01110.09
5.0.00.0030.03510.09
4.4.90.0000.02110.09
4.4.80.0000.01710.09
4.4.70.0030.02010.09
4.4.60.0000.01810.09
4.4.50.0050.01210.09
4.4.40.0020.02810.09
4.4.30.0020.02110.09
4.4.20.0040.01710.09
4.4.10.0030.01010.09
4.4.00.0020.03010.09
4.3.110.0050.01110.09
4.3.100.0020.02010.09
4.3.90.0020.02210.09
4.3.80.0030.02810.09
4.3.70.0020.00910.09
4.3.60.0030.01810.09
4.3.50.0030.01910.09
4.3.40.0000.02710.09
4.3.30.0000.01110.09
4.3.20.0000.01310.09
4.3.10.0020.01110.09
4.3.00.0000.01410.09

preferences:
41.02 ms | 401 KiB | 5 Q