3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); function foobar(): void { https://www.pinja.com echo 'Hello world'; } foobar();

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.4.10.0170.00319.46
8.3.140.0150.00016.45
8.3.130.0040.00418.65
8.3.120.0080.00020.70
8.3.110.0040.00416.75
8.3.100.0090.00624.06
8.3.90.0040.00426.77
8.3.80.0000.00916.63
8.3.70.0140.00718.15
8.3.60.0090.00918.08
8.3.50.0150.00524.52
8.3.40.0090.00621.90
8.3.30.0130.00318.72
8.3.20.0000.00724.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.260.0120.00616.58
8.2.250.0070.00016.32
8.2.240.0090.00616.88
8.2.230.0060.00320.94
8.2.220.0050.00337.54
8.2.210.0050.00326.77
8.2.200.0080.00016.50
8.2.190.0130.00616.63
8.2.180.0070.00725.92
8.2.170.0110.00418.96
8.2.160.0090.00622.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00320.36
8.2.110.0030.00620.46
8.2.100.0060.00617.74
8.2.90.0000.00817.63
8.2.80.0070.00418.62
8.2.70.0040.00417.63
8.2.60.0030.00617.63
8.2.50.0030.00618.10
8.2.40.0050.00219.30
8.2.30.0070.00019.04
8.2.20.0050.00217.83
8.2.10.0040.00419.13
8.2.00.0040.00419.04
8.1.300.0060.00318.15
8.1.290.0090.00030.84
8.1.280.0100.01025.92
8.1.270.0030.00523.99
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00723.86
8.1.230.0030.00920.70
8.1.220.0000.00818.39
8.1.210.0050.00318.77
8.1.200.0000.00817.11
8.1.190.0080.00417.10
8.1.180.0030.00518.10
8.1.170.0050.00318.56
8.1.160.0070.00018.94
8.1.150.0040.00418.66
8.1.140.0030.00318.67
8.1.130.0070.00017.33
8.1.120.0040.00417.22
8.1.110.0040.00417.32
8.1.100.0000.00717.32
8.1.90.0050.00317.21
8.1.80.0000.00817.38
8.1.70.0000.00717.31
8.1.60.0000.00817.50
8.1.50.0050.00217.34
8.1.40.0000.00817.47
8.1.30.0040.00417.47
8.1.20.0070.00017.54
8.1.10.0040.00417.41
8.1.00.0080.00017.42
8.0.300.0070.00018.77
8.0.290.0000.00816.63
8.0.280.0000.00718.29
8.0.270.0030.00316.69
8.0.260.0030.00316.78
8.0.250.0040.00416.70
8.0.240.0030.00316.86
8.0.230.0030.00316.84
8.0.220.0030.00316.77
8.0.210.0000.00716.67
8.0.200.0060.00316.75
8.0.190.0000.00716.84
8.0.180.0040.00416.80
8.0.170.0080.00016.62
8.0.160.0040.00416.65
8.0.150.0020.00516.75
8.0.140.0030.00316.73
8.0.130.0000.00513.23
8.0.120.0050.00316.81
8.0.110.0040.00416.75
8.0.100.0000.00816.74
8.0.90.0030.00516.78
8.0.80.0120.00516.77
8.0.70.0040.00416.63
8.0.60.0000.00716.86
8.0.50.0000.00716.66
8.0.30.0120.00416.69
8.0.20.0130.00816.86
8.0.10.0050.00316.88
8.0.00.0070.01116.72
7.4.330.0030.00316.50
7.4.320.0060.00016.51
7.4.300.0000.00616.58
7.4.290.0040.00416.48
7.4.280.0040.00416.28
7.4.270.0030.00316.54
7.4.260.0050.00013.21
7.4.250.0060.00316.48
7.4.240.0050.00216.42
7.4.230.0000.00716.34
7.4.220.0000.00716.56
7.4.210.0030.01316.43
7.4.200.0020.00716.27
7.4.130.0130.00616.41
7.4.120.0120.00616.29
7.4.110.0120.00516.42
7.4.100.0110.00816.45
7.4.90.0090.01016.38
7.4.80.0080.00916.52
7.4.70.0100.00716.45
7.4.60.0110.00616.44
7.4.50.0080.01216.42
7.4.40.0120.00916.46
7.4.30.0070.01016.48
7.4.20.0100.00916.58
7.4.10.0100.00916.35
7.4.00.0100.00716.17
7.3.330.0030.00316.28
7.3.320.0000.00513.19
7.3.310.0000.00716.20
7.3.300.0000.00716.27
7.3.290.0050.01216.17
7.3.260.0180.00616.38
7.3.240.0090.00816.47
7.3.230.0060.01016.41
7.3.220.0140.00416.32
7.3.210.0090.00816.35
7.3.200.0150.00316.44
7.3.190.0170.00316.43
7.3.180.0060.01116.40
7.3.170.0070.01016.22
7.3.160.0070.01016.36
7.3.150.0070.01016.20
7.3.140.0110.01016.44
7.3.130.0070.01116.51
7.3.120.0110.00716.25
7.3.110.0100.00716.18
7.3.100.0070.01316.33
7.3.90.0130.00416.36
7.3.80.0140.00416.30
7.3.70.0080.00916.34
7.3.60.0030.01416.41
7.3.50.0100.00616.29
7.3.40.0080.00816.27
7.3.30.0080.00916.28
7.3.20.0090.00916.22
7.3.10.0080.01016.26
7.3.00.0140.00716.18
7.2.340.0060.01016.55
7.2.330.0060.01416.44
7.2.320.0140.00216.59
7.2.310.0070.00916.54
7.2.300.0060.01216.49
7.2.290.0100.01016.49
7.2.280.0130.00716.28
7.2.270.0070.00916.51
7.2.260.0130.00516.34
7.2.250.0060.01616.32
7.2.240.0090.01216.47
7.2.230.0140.00816.43
7.2.220.0040.01316.36
7.2.210.0090.01216.61
7.2.200.0090.00916.54
7.2.190.0140.00416.52
7.2.180.0110.00616.29
7.2.170.0100.00916.42
7.2.160.0100.00816.27
7.2.150.0080.01316.41
7.2.140.0070.01216.24
7.2.130.0080.00916.21
7.2.120.0100.01116.47
7.2.110.0070.01116.36
7.2.100.0100.00916.46
7.2.90.0220.00516.42
7.2.80.0140.00416.42
7.2.70.0060.01316.46
7.2.60.0110.01016.41
7.2.50.0130.01016.47
7.2.40.0170.00316.45
7.2.30.0040.01416.49
7.2.20.0120.00716.29
7.2.10.0130.01016.27
7.2.00.0190.00916.52
7.1.330.0210.00715.31
7.1.320.0200.00815.30
7.1.310.0130.01315.35
7.1.300.0320.01115.50
7.1.290.0150.01515.45
7.1.280.0250.00315.54
7.1.270.0180.01015.37
7.1.260.0270.01015.37
7.1.250.0220.00915.19
7.1.240.0270.00815.22
7.1.230.0160.01615.45
7.1.220.0260.00715.25
7.1.210.0170.01415.39
7.1.200.0230.00615.41
7.1.190.0240.00515.38
7.1.180.0220.00715.43
7.1.170.0230.00615.34
7.1.160.0320.00615.25
7.1.150.0250.00315.44
7.1.140.0140.01415.41
7.1.130.0280.00015.48
7.1.120.0190.00815.21
7.1.110.0200.01015.39
7.1.100.0150.01515.35
7.1.90.0180.01515.63
7.1.80.0090.01815.44
7.1.70.0250.00315.36
7.1.60.0210.00715.45
7.1.50.0320.00215.43
7.1.40.0260.00715.55
7.1.30.0240.00415.26
7.1.20.0220.01015.27
7.1.10.0140.01415.15
7.1.00.0190.00815.33
7.0.330.0240.01314.98
7.0.320.0210.00815.34
7.0.310.0160.01315.03
7.0.300.0240.00315.25
7.0.290.0240.00315.09
7.0.280.0200.00715.10
7.0.270.0250.01415.01
7.0.260.0230.00615.05
7.0.250.0230.00715.31
7.0.240.0190.01015.35
7.0.230.0200.00715.30
7.0.220.0190.01015.16
7.0.210.0310.00015.16
7.0.200.0220.00615.29
7.0.190.0260.00415.23
7.0.180.0200.01315.25
7.0.170.0300.00315.13
7.0.160.0220.00515.08
7.0.150.0170.01115.16
7.0.140.0250.00615.13
7.0.130.0110.01415.02
7.0.120.0320.00415.19
7.0.110.0170.01315.16
7.0.100.0210.00815.26
7.0.90.0190.00815.22
7.0.80.0100.01715.04
7.0.70.0270.00614.93
7.0.60.0220.00815.23
7.0.50.0160.01215.11
7.0.40.0290.00215.18
7.0.30.0250.01415.16
7.0.20.0220.00715.16
7.0.10.0170.00915.14
7.0.00.0180.01215.16
5.6.400.0280.00815.79
5.6.390.0180.01115.75
5.6.380.0160.01315.38
5.6.370.0210.00715.90
5.6.360.0100.01815.62
5.6.350.0200.01015.59
5.6.340.0160.01315.75
5.6.330.0290.00415.53
5.6.320.0130.01615.69
5.6.310.0160.01415.64
5.6.300.0180.01115.69
5.6.290.0100.02015.62
5.6.280.0200.00915.71
5.6.270.0210.00815.80
5.6.260.0220.00715.54
5.6.250.0240.00815.68
5.6.240.0190.01015.65
5.6.230.0180.01115.77
5.6.220.0200.01015.61
5.6.210.0190.01215.67
5.6.200.0180.01315.65
5.6.190.0150.01815.66
5.6.180.0220.00715.56
5.6.170.0190.01115.48
5.6.160.0240.00615.58
5.6.150.0200.01715.68
5.6.140.0100.01715.72
5.6.130.0210.01515.74
5.6.120.0250.00615.68
5.6.110.0290.00515.40
5.6.100.0140.01415.78
5.6.90.0160.01315.59
5.6.80.0200.00915.40
5.6.70.0230.00415.81
5.6.60.0160.01215.47
5.6.50.0210.00815.63
5.6.40.0150.01515.89
5.6.30.0220.01115.69
5.6.20.0180.01215.63
5.6.10.0170.01315.66
5.6.00.0110.01915.70
5.5.380.0250.00915.85
5.5.370.0260.01115.68
5.5.360.0170.01115.54
5.5.350.0220.00715.76
5.5.340.0150.01615.50
5.5.330.0170.01315.67
5.5.320.0250.00315.43
5.5.310.0130.01515.84
5.5.300.0180.01115.77
5.5.290.0180.01115.48
5.5.280.0220.01515.85
5.5.270.0220.00715.51
5.5.260.0220.00715.44
5.5.250.0140.01815.53
5.5.240.0250.00715.56
5.5.230.0100.02015.47
5.5.220.0220.00515.44
5.5.210.0140.01515.70
5.5.200.0190.01215.39
5.5.190.0160.01115.59
5.5.180.0170.01415.44
5.5.170.0170.01415.79
5.5.160.0150.01515.54
5.5.150.0260.00715.54
5.5.140.0230.01015.39
5.5.130.0180.01115.51
5.5.120.0150.01615.58
5.5.110.0150.01515.55
5.5.100.0220.00615.45
5.5.90.0140.01415.59
5.5.80.0160.01315.56
5.5.70.0180.01415.57
5.5.60.0220.00715.53
5.5.50.0260.00015.36
5.5.40.0230.00315.32
5.5.30.0160.01215.44
5.5.20.0250.00415.58
5.5.10.0260.00315.22
5.5.00.0250.00615.38
5.4.450.0130.01013.03
5.4.440.0160.00813.03
5.4.430.0100.01113.03
5.4.420.0120.00913.03
5.4.410.0190.00613.03
5.4.400.0190.00313.03
5.4.390.0130.00813.03
5.4.380.0110.01113.03
5.4.370.0200.00413.03
5.4.360.0150.00713.03
5.4.350.0140.00713.03
5.4.340.0190.00613.03
5.4.330.0220.00413.03
5.4.320.0160.01213.03
5.4.310.0180.01113.03
5.4.300.0110.01113.03
5.4.290.0180.00513.03
5.4.280.0210.00313.03
5.4.270.0230.00713.03
5.4.260.0160.00513.03
5.4.250.0200.00313.03
5.4.240.0160.00813.03
5.4.230.0120.00913.03
5.4.220.0180.00313.03
5.4.210.0180.00313.03
5.4.200.0210.00413.03
5.4.190.0180.00513.03
5.4.180.0130.00813.03
5.4.170.0190.00613.03
5.4.160.0140.00813.03
5.4.150.0100.01313.03
5.4.140.0110.01113.03
5.4.130.0150.00613.03
5.4.120.0110.01113.03
5.4.110.0160.00613.03
5.4.100.0180.00413.03
5.4.90.0220.00013.03
5.4.80.0200.00313.03
5.4.70.0130.00913.03
5.4.60.0130.00913.03
5.4.50.0140.00713.03
5.4.40.0100.01013.03
5.4.30.0100.01013.03
5.4.20.0160.00413.03
5.4.10.0120.00813.03
5.4.00.0140.00713.03
5.3.290.0080.01713.07
5.3.280.0120.01613.03
5.3.270.0170.01013.03
5.3.260.0160.01113.03
5.3.250.0180.00513.03
5.3.240.0190.00413.03
5.3.230.0130.00813.03
5.3.220.0090.01213.03
5.3.210.0150.00813.03
5.3.200.0170.00713.03
5.3.190.0140.01013.03
5.3.180.0150.00813.03
5.3.170.0130.00913.03
5.3.160.0160.00513.03
5.3.150.0080.01513.03
5.3.140.0190.00313.03
5.3.130.0140.00913.03
5.3.120.0150.00913.03
5.3.110.0150.00913.03
5.3.100.0160.00513.03
5.3.90.0150.00813.03
5.3.80.0100.01013.03
5.3.70.0140.01413.03
5.3.60.0150.00713.03
5.3.50.0080.01413.03
5.3.40.0120.00913.03
5.3.30.0110.01113.03
5.3.20.0050.01613.03
5.3.10.0180.00713.03
5.3.00.0180.00613.03
5.2.170.0130.00413.03
5.2.160.0040.01413.03
5.2.150.0120.00813.03
5.2.140.0090.00913.03
5.2.130.0120.00813.03
5.2.120.0150.00413.03
5.2.110.0090.00913.03
5.2.100.0220.00913.03
5.2.90.0110.01113.03
5.2.80.0110.01113.03
5.2.70.0140.00613.03
5.2.60.0130.01113.03
5.2.50.0150.00813.03
5.2.40.0160.00313.03
5.2.30.0090.00913.03
5.2.20.0130.00413.03
5.2.10.0100.01013.03
5.2.00.0100.00813.03
5.1.60.0100.01013.03
5.1.50.0090.00613.03
5.1.40.0070.01013.03
5.1.30.0130.00513.03
5.1.20.0140.00313.03
5.1.10.0120.00813.03
5.1.00.0130.00613.03
5.0.50.0120.00413.03
5.0.40.0120.00313.03
5.0.30.0110.00713.03
5.0.20.0000.01613.03
5.0.10.0110.00413.03
5.0.00.0090.00913.03
4.4.90.0030.00913.03
4.4.80.0070.00213.03
4.4.70.0060.00313.03
4.4.60.0000.00813.03
4.4.50.0100.00013.03
4.4.40.0100.00013.03
4.4.30.0040.00413.03
4.4.20.0130.00013.03
4.4.10.0070.00413.03
4.4.00.0040.00413.03
4.3.110.0090.00013.03
4.3.100.0070.00313.03
4.3.90.0040.00813.03
4.3.80.0100.00013.03
4.3.70.0040.00513.03
4.3.60.0090.00313.03
4.3.50.0100.00013.03
4.3.40.0040.00513.03
4.3.30.0040.00413.03
4.3.20.0040.00413.03
4.3.10.0090.00013.03
4.3.00.0040.00413.03

preferences:
39.17 ms | 403 KiB | 5 Q