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); } })); } } PathController::do_something();

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.0100.01018.30
8.3.50.0130.00317.15
8.3.40.0160.00018.79
8.3.30.0120.00318.80
8.3.20.0080.00018.73
8.3.10.0000.00820.48
8.3.00.0040.00417.63
8.2.180.0090.00616.63
8.2.170.0100.00722.96
8.2.160.0070.00720.32
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00019.70
8.2.110.0070.00320.93
8.2.100.0110.00017.72
8.2.90.0060.00319.14
8.2.80.0050.00317.97
8.2.70.0000.00817.63
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0000.00918.09
8.2.30.0040.00418.08
8.2.20.0000.00817.59
8.2.10.0040.00417.79
8.2.00.0070.00017.57
8.1.280.0100.00325.92
8.1.270.0050.00324.66
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0030.00722.48
8.1.230.0120.00020.92
8.1.220.0080.00018.77
8.1.210.0000.01118.87
8.1.200.0000.01117.23
8.1.190.0040.00417.40
8.1.180.0000.00818.10
8.1.170.0030.00618.84
8.1.160.0030.00518.67
8.1.150.0050.00218.52
8.1.140.0050.00317.25
8.1.130.0070.00017.76
8.1.120.0070.00017.31
8.1.110.0040.00417.21
8.1.100.0000.00717.21
8.1.90.0020.00517.34
8.1.80.0040.00417.35
8.1.70.0030.00317.22
8.1.60.0040.00417.41
8.1.50.0030.00517.43
8.1.40.0000.00817.50
8.1.30.0040.00417.64
8.1.20.0040.00417.56
8.1.10.0020.00517.53
8.1.00.0000.00717.36
8.0.300.0000.00820.02
8.0.290.0020.00516.75
8.0.280.0030.00318.29
8.0.270.0080.00017.18
8.0.260.0070.00016.91
8.0.250.0000.00817.00
8.0.240.0060.00316.84
8.0.230.0000.00716.86
8.0.220.0030.00316.91
8.0.210.0000.00716.76
8.0.200.0000.00716.84
8.0.190.0000.00716.97
8.0.180.0000.00716.80
8.0.170.0030.00616.79
8.0.160.0050.00316.89
8.0.150.0030.00616.84
8.0.140.0000.00816.89
8.0.130.0000.00613.33
8.0.120.0000.00716.89
8.0.110.0040.00416.77
8.0.100.0000.00816.83
8.0.90.0040.00416.88
8.0.80.0040.01116.93
8.0.70.0040.00416.94
8.0.60.0070.00016.79
8.0.50.0020.00516.85
8.0.30.0080.01216.97
8.0.20.0120.00617.06
8.0.10.0000.00716.95
8.0.00.0110.01116.79
7.4.330.0030.00312.88
7.4.320.0000.00616.29
7.4.300.0030.00316.54
7.4.290.0030.00316.38
7.4.280.0000.01116.46
7.4.270.0070.00016.44
7.4.260.0050.00013.33
7.4.250.0070.00016.57
7.4.240.0030.00316.30
7.4.230.0040.00416.29
7.4.220.0180.00716.41
7.4.210.0070.00816.54
7.4.200.0040.00416.64
7.4.190.0000.00716.49
7.4.160.0100.00716.48
7.4.150.0120.00616.65
7.4.140.0120.00816.46
7.4.130.0120.01016.46
7.4.120.0100.00616.36
7.4.110.0110.00716.63
7.4.100.0100.01016.44
7.4.90.0100.01416.51
7.4.80.0140.00316.24
7.4.70.0130.00716.22
7.4.60.0090.00916.38
7.4.50.0000.00616.38
7.4.40.0030.01016.39
7.4.30.0100.00516.12
7.4.10.0100.00714.55
7.4.00.0060.00915.01
7.3.330.0000.00713.12
7.3.320.0000.00513.26
7.3.310.0000.00716.30
7.3.300.0030.00316.25
7.3.290.0120.00316.29
7.3.280.0100.00816.29
7.3.270.0140.00316.54
7.3.260.0070.01016.33
7.3.250.0120.00716.40
7.3.240.0100.00716.23
7.3.230.0100.00616.19
7.3.210.0030.01316.29
7.3.200.0090.01219.39
7.3.190.0130.00916.27
7.3.180.0140.00316.16
7.3.170.0070.01116.36
7.3.160.0180.00416.24
7.3.130.0060.01314.78
7.3.120.0080.00814.78
7.3.110.0100.00714.89
7.3.100.0070.00714.94
7.3.90.0070.01114.90
7.3.80.0000.01514.83
7.3.70.0040.00714.58
7.3.60.0040.00714.59
7.3.50.0090.00614.85
7.3.40.0000.01114.60
7.3.30.0070.00714.76
7.3.20.0070.00316.66
7.3.10.0020.01216.54
7.3.00.0040.00916.40
7.2.330.0130.00316.55
7.2.320.0070.01016.44
7.2.310.0130.00716.46
7.2.300.0120.00416.25
7.2.290.0120.00616.29
7.2.260.0060.01214.80
7.2.250.0120.00614.80
7.2.240.0060.00915.15
7.2.230.0060.01214.85
7.2.220.0110.00715.15
7.2.210.0090.00614.56
7.2.200.0000.01514.98
7.2.190.0070.00715.00
7.2.180.0040.01114.89
7.2.170.0000.01114.85
7.2.160.0150.00414.93
7.2.150.0030.01316.73
7.2.140.0040.01116.61
7.2.130.0030.00816.71
7.2.120.0040.01016.91
7.2.110.0080.00616.81
7.2.100.0060.00816.63
7.2.90.0110.00516.86
7.2.80.0030.00716.85
7.2.70.0030.01016.68
7.2.60.0080.00816.53
7.2.50.0060.00816.73
7.2.40.0090.00516.81
7.2.30.0090.00516.78
7.2.20.0030.01016.82
7.2.10.0090.00416.88
7.2.00.0100.00517.63
7.1.330.0080.00815.64
7.1.320.0070.01015.62
7.1.310.0090.00615.62
7.1.300.0030.01015.39
7.1.290.0030.00815.41
7.1.280.0080.00615.59
7.1.270.0040.01115.69
7.1.260.0060.00915.67
7.1.250.0070.00415.52
7.1.240.0030.01315.58
7.1.230.0000.01215.37
7.1.220.0030.01315.51
7.1.210.0040.00415.73
7.1.200.0050.00715.63
7.1.190.0000.01415.60
7.1.180.0070.00715.57
7.1.170.0060.00615.45
7.1.160.0030.01315.63
7.1.150.0030.00615.69
7.1.140.0060.00915.57
7.1.130.0030.01015.58
7.1.120.0000.00915.59
7.1.110.0090.00315.59
7.1.100.0030.01015.70
7.1.90.0080.00815.45
7.1.80.0040.00815.50
7.1.70.0030.01016.36
7.1.60.0070.00716.51
7.1.50.0040.01316.13
7.1.40.0070.00715.43
7.1.30.0070.00715.66
7.1.20.0090.00615.63
7.1.10.0030.00715.56
7.1.00.0080.03618.95
7.0.330.0080.00315.18
7.0.320.0090.00315.25
7.0.310.0060.01015.37
7.0.300.0060.00615.44
7.0.290.0090.00615.24
7.0.280.0000.01615.34
7.0.270.0040.01115.30
7.0.260.0040.00715.17
7.0.250.0030.00715.33
7.0.240.0000.01715.46
7.0.230.0030.01015.04
7.0.220.0060.00615.23
7.0.210.0070.00715.45
7.0.200.0100.00516.03
7.0.190.0060.00315.37
7.0.180.0090.00315.34
7.0.170.0100.00715.39
7.0.160.0000.01015.35
7.0.150.0030.00615.42
7.0.140.0020.04218.86
7.0.130.0000.01015.20
7.0.120.0020.03818.75
7.0.110.0030.01215.15
7.0.100.0040.01115.41
7.0.90.0060.00615.22
7.0.80.0110.00015.34
7.0.70.0090.00615.02
7.0.60.0100.03817.63
7.0.50.0100.03816.74
7.0.40.0090.04215.49
7.0.30.0130.03715.61
7.0.20.0100.02215.54
7.0.10.0050.02315.48
7.0.00.0030.02515.47
5.6.400.0030.00614.29
5.6.390.0000.00913.89
5.6.380.0000.01314.18
5.6.370.0040.01114.39
5.6.360.0140.00413.84
5.6.350.0000.00914.27
5.6.340.0070.01014.35
5.6.330.0030.01014.08
5.6.320.0060.00914.29
5.6.310.0060.00914.32
5.6.300.0060.00614.40
5.6.290.0030.01014.10
5.6.280.0050.04017.54
5.6.270.0000.01714.07
5.6.260.0060.01014.48
5.6.250.0040.01413.98
5.6.240.0060.00614.40
5.6.230.0120.00314.28
5.6.220.0000.01714.43
5.6.210.0080.04217.34
5.6.200.0050.04916.23
5.6.190.0090.04316.01
5.6.180.0080.03016.16
5.6.170.0090.04716.10
5.6.160.0080.02216.25
5.6.150.0060.02616.17
5.6.140.0070.02516.15
5.6.130.0020.02616.23
5.6.120.0090.02116.16
5.6.110.0090.04016.08
5.6.100.0080.02116.18
5.6.90.0080.03616.28
5.6.80.0030.02515.90
5.6.70.0050.02215.88
5.6.60.0060.02115.75
5.6.50.0150.01716.02
5.6.40.0080.02015.88
5.6.30.0020.02515.79
5.6.20.0020.02215.72
5.6.10.0010.02615.89
5.6.00.0090.02015.80
5.5.380.0070.00414.16
5.5.370.0040.01113.79
5.5.360.0090.00614.09
5.5.350.0050.04717.23
5.5.340.0050.04616.05
5.5.330.0090.03315.95
5.5.320.0050.04216.14
5.5.310.0100.02216.05
5.5.300.0060.02316.07
5.5.290.0070.02215.93
5.5.280.0070.02516.06
5.5.270.0020.03216.10
5.5.260.0020.03215.91
5.5.250.0040.02415.77
5.5.240.0020.02715.58
5.5.230.0070.02015.73
5.5.220.0030.02115.64
5.5.210.0020.02415.72
5.5.200.0030.02415.66
5.5.190.0020.02715.60
5.5.180.0030.02415.77
5.5.170.0030.01314.21
5.5.160.0030.02115.58
5.5.150.0050.02815.83
5.5.140.0020.02415.68
5.5.130.0050.02015.71
5.5.120.0120.02015.69
5.5.110.0040.02815.80
5.5.100.0030.04715.62
5.5.90.0080.02215.69
5.5.80.0070.03015.48
5.5.70.0180.02815.77
5.5.60.0050.03615.51
5.5.50.0020.03515.50
5.5.40.0070.03815.58
5.5.30.0080.03815.56
5.5.20.0050.04015.54
5.5.10.0080.04115.59
5.5.00.0090.03815.41
5.4.450.0050.02015.60
5.4.440.0040.03915.67
5.4.430.0020.02915.58
5.4.420.0020.03215.58
5.4.410.0080.01715.53
5.4.400.0070.02715.44
5.4.390.0050.02015.50
5.4.380.0030.02015.44
5.4.370.0030.02415.39
5.4.360.0030.02515.38
5.4.350.0070.01815.36
5.4.340.0020.02215.34
5.4.330.0020.01011.74
5.4.320.0080.01815.38
5.4.310.0080.01715.39
5.4.300.0030.02215.39
5.4.290.0050.01815.39
5.4.280.0020.02515.39
5.4.270.0090.02015.43
5.4.260.0100.03715.31
5.4.250.0020.04315.39
5.4.240.0050.04015.39
5.4.230.0030.02915.39
5.4.220.0080.04115.36
5.4.210.0070.03715.37
5.4.200.0020.03515.41
5.4.190.0080.04215.34
5.4.180.0070.04015.30
5.4.170.0140.03415.37
5.4.160.0050.02215.38
5.4.150.0100.03915.41
5.4.140.0070.04214.10
5.4.130.0080.01714.11
5.4.120.0080.03514.07
5.4.110.0070.03714.09
5.4.100.0030.02314.11
5.4.90.0090.02414.11
5.4.80.0080.03714.11
5.4.70.0100.03714.12
5.4.60.0020.03214.11
5.4.50.0070.02814.10
5.4.40.0050.03714.16
5.4.30.0030.03814.06
5.4.20.0060.02814.06
5.4.10.0080.03514.08
5.4.00.0020.03713.73
5.3.290.0060.01913.23
5.3.280.0030.03813.15
5.3.270.0050.04313.16
5.3.260.0040.02813.20
5.3.250.0060.02313.16
5.3.240.0040.02513.21
5.3.230.0080.03913.21
5.3.220.0080.03113.17
5.3.210.0050.02413.14
5.3.200.0030.04013.17
5.3.190.0070.04013.19
5.3.180.0020.04113.21
5.3.170.0050.03513.26
5.3.160.0050.04213.15
5.3.150.0040.03713.08
5.3.140.0070.03513.08
5.3.130.0070.04013.07
5.3.120.0050.03713.19
5.3.110.0020.02313.15
5.3.100.0100.03812.89
5.3.90.0050.02312.90
5.3.80.0050.02612.83
5.3.70.0060.02212.83
5.3.60.0020.04212.90
5.3.50.0060.02812.86
5.3.40.0030.03212.95
5.3.30.0070.03712.85
5.3.20.0030.03712.71
5.3.10.0030.03612.71
5.3.00.0070.04112.63
5.2.170.0000.04011.20
5.2.160.0070.05711.16
5.2.150.0000.05311.04
5.2.140.0070.03711.20
5.2.130.0130.04710.99
5.2.120.0070.06010.95
5.2.110.0030.04310.95
5.2.100.0070.05011.14
5.2.90.0070.03311.11
5.2.80.0030.05011.19
5.2.70.0000.03711.10
5.2.60.0070.06311.04
5.2.50.0030.04310.91
5.2.40.0070.03010.98
5.2.30.0030.03710.99
5.2.20.0070.02710.95
5.2.10.0100.05010.85
5.2.00.0070.05710.78
5.1.60.0030.0379.99
5.1.50.0070.05010.07
5.1.40.0000.04310.02
5.1.30.0070.03010.43
5.1.20.0130.04710.39
5.1.10.0070.05710.28
5.1.00.0130.03710.06
5.0.50.0130.0408.58
5.0.40.0070.0308.45
5.0.30.0100.0378.27
5.0.20.0000.0338.23
5.0.10.0100.0208.21
5.0.00.0000.0338.20
4.4.90.0000.0377.52
4.4.80.0000.0377.52
4.4.70.0000.0377.52
4.4.60.0070.0277.52
4.4.50.0070.0307.52
4.4.40.0030.0537.52
4.4.30.0030.0277.52
4.4.20.0000.0377.52
4.4.10.0000.0307.52
4.4.00.0000.0577.52
4.3.110.0030.0337.52
4.3.100.0030.0207.52
4.3.90.0030.0237.52
4.3.80.0000.0277.52
4.3.70.0030.0377.52
4.3.60.0000.0237.52
4.3.50.0000.0307.52
4.3.40.0070.0507.52
4.3.30.0000.0407.52
4.3.20.0030.0377.52
4.3.10.0000.0307.52
4.3.00.0000.0377.52

preferences:
47.18 ms | 401 KiB | 5 Q