3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo { function bar() {echo "hi!\n";} namespace\bar(); }

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.0060.00319.35
8.3.140.0030.00618.52
8.3.130.0060.00318.45
8.3.120.0000.00918.82
8.3.110.0090.00020.94
8.3.100.0060.00324.06
8.3.90.0070.00726.77
8.3.80.0100.00016.63
8.3.70.0040.01118.30
8.3.60.0070.00718.30
8.3.50.0100.00518.25
8.3.40.0060.01218.59
8.3.30.0070.00718.67
8.3.20.0040.00420.07
8.3.10.0000.00823.66
8.3.00.0080.00019.68
8.2.260.0050.00318.78
8.2.250.0040.00422.09
8.2.240.0060.00318.71
8.2.230.0090.00022.58
8.2.220.0000.00837.54
8.2.210.0100.00726.77
8.2.200.0090.00016.36
8.2.190.0060.01216.58
8.2.180.0130.00318.16
8.2.170.0110.01118.95
8.2.160.0160.00322.96
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0070.00719.23
8.2.110.0100.00020.53
8.2.100.0100.00317.59
8.2.90.0000.00819.27
8.2.80.0000.00817.97
8.2.70.0000.00917.50
8.2.60.0030.00617.93
8.2.50.0000.00918.07
8.2.40.0000.00818.03
8.2.30.0040.00417.99
8.2.20.0050.00217.93
8.2.10.0050.00217.84
8.2.00.0050.00218.12
8.1.300.0030.00618.38
8.1.290.0040.00718.88
8.1.280.0030.01025.92
8.1.270.0040.00420.37
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0070.00717.13
8.1.230.0060.00617.77
8.1.220.0030.00517.74
8.1.210.0060.00318.77
8.1.200.0050.00517.10
8.1.190.0080.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00818.41
8.1.160.0060.00318.85
8.1.150.0030.00320.25
8.1.140.0070.00017.58
8.1.130.0000.00717.32
8.1.120.0040.00317.24
8.1.110.0040.00417.30
8.1.100.0040.00417.25
8.1.90.0000.00717.30
8.1.80.0030.00617.33
8.1.70.0100.00017.37
8.1.60.0040.00417.50
8.1.50.0000.00717.27
8.1.40.0040.00417.47
8.1.30.0040.00717.49
8.1.20.0040.00417.41
8.1.10.0050.00317.34
8.1.00.0050.00217.36
8.0.300.0080.00018.77
8.0.290.0060.00316.75
8.0.280.0030.00318.43
8.0.270.0030.00618.46
8.0.260.0040.00416.74
8.0.250.0000.00716.84
8.0.240.0080.00016.79
8.0.230.0030.00316.84
8.0.220.0090.00016.77
8.0.210.0070.00016.76
8.0.200.0040.00416.71
8.0.190.0030.00516.77
8.0.180.0040.00416.80
8.0.170.0080.00016.77
8.0.160.0060.00316.75
8.0.150.0040.00416.64
8.0.140.0040.00416.75
8.0.130.0030.00313.20
8.0.120.0000.00816.77
8.0.110.0070.00016.67
8.0.100.0080.00016.77
8.0.90.0000.00716.65
8.0.80.0000.01516.71
8.0.70.0030.00516.64
8.0.60.0040.00416.54
8.0.50.0030.00316.70
8.0.30.0070.01116.96
8.0.20.0130.00717.40
8.0.10.0030.00416.94
8.0.00.0070.01016.52
7.4.330.0000.00715.55
7.4.320.0060.00016.47
7.4.300.0000.00616.46
7.4.290.0040.00416.57
7.4.280.0030.00516.43
7.4.270.0030.00316.43
7.4.260.0070.00016.48
7.4.250.0070.00016.29
7.4.240.0000.00716.41
7.4.230.0030.00316.19
7.4.220.0000.00816.56
7.4.210.0060.00816.53
7.4.200.0040.00416.18
7.4.160.0100.00916.40
7.4.150.0130.00317.40
7.4.140.0090.00817.86
7.4.130.0110.00616.44
7.4.120.0120.00816.44
7.4.110.0100.00716.44
7.4.100.0060.01316.43
7.4.90.0110.00516.66
7.4.80.0100.01619.39
7.4.70.0040.02116.50
7.4.60.0070.01316.51
7.4.50.0030.01416.29
7.4.40.0120.00316.32
7.4.10.0070.01116.54
7.4.00.0070.01215.71
7.3.330.0000.00613.16
7.3.320.0060.00013.19
7.3.310.0000.00716.27
7.3.300.0030.00316.14
7.3.290.0030.01116.21
7.3.280.0120.00816.19
7.3.270.0090.00817.40
7.3.260.0110.00916.40
7.3.250.0080.01016.38
7.3.240.0100.00916.31
7.3.230.0110.00816.28
7.3.210.0050.01116.14
7.3.200.0170.00016.41
7.3.190.0090.00616.25
7.3.180.0030.01316.51
7.3.170.0120.00416.46
7.3.160.0120.00416.59
7.3.130.0060.01316.29
7.3.120.0070.01316.34
7.3.110.0060.01016.43
7.3.100.0040.01215.43
7.3.90.0060.00915.52
7.3.80.0090.00515.42
7.3.70.0090.00615.41
7.3.60.0050.00615.52
7.3.50.0060.00915.55
7.3.40.0020.01015.54
7.3.30.0050.01015.41
7.3.20.0040.01116.55
7.3.10.0020.01616.38
7.3.00.0070.01016.30
7.2.330.0070.01116.63
7.2.320.0120.00616.79
7.2.310.0000.01816.71
7.2.300.0110.01116.71
7.2.290.0030.01316.62
7.2.260.0070.00716.65
7.2.250.0070.01316.18
7.2.240.0040.01516.55
7.2.230.0080.01015.58
7.2.220.0120.00615.55
7.2.210.0030.01415.48
7.2.200.0080.00915.68
7.2.190.0090.00315.68
7.2.180.0070.00915.54
7.2.170.0080.00915.63
7.2.160.0080.01015.74
7.2.150.0030.01416.66
7.2.140.0060.00916.50
7.2.130.0120.00616.64
7.2.120.0050.00916.64
7.2.110.0070.01216.68
7.2.100.0080.00916.68
7.2.90.0070.00716.58
7.2.80.0080.00816.46
7.2.70.0070.00816.58
7.2.60.0100.00616.48
7.2.50.0100.00716.62
7.2.40.0070.01016.79
7.2.30.0090.01016.57
7.2.20.0170.00917.29
7.2.10.0110.01217.17
7.2.00.0170.00817.02
7.1.330.0070.01017.20
7.1.320.0080.00915.56
7.1.310.0070.00815.43
7.1.300.0110.00515.43
7.1.290.0060.01115.52
7.1.280.0060.00815.32
7.1.270.0090.00915.42
7.1.260.0070.00915.51
7.1.250.0050.01215.40
7.1.240.0080.00715.29
7.1.230.0040.01215.25
7.1.220.0120.00515.23
7.1.210.0120.00515.37
7.1.200.0070.01115.29
7.1.190.0090.00715.44
7.1.180.0120.00315.53
7.1.170.0090.00715.58
7.1.160.0110.00815.50
7.1.150.0100.00815.56
7.1.140.0140.01016.00
7.1.130.0160.00916.00
7.1.120.0120.01015.99
7.1.110.0150.00715.66
7.1.100.0110.01115.73
7.1.90.0160.00715.64
7.1.80.0120.00815.52
7.1.70.0130.00815.26
7.1.60.0230.00824.21
7.1.50.0200.01324.18
7.1.40.0240.00923.91
7.1.30.0180.01424.01
7.1.20.0200.00924.05
7.1.10.0140.00915.05
7.1.00.0150.00915.09
7.0.330.0190.00013.01
7.0.320.0000.01813.38
7.0.310.0140.00513.32
7.0.300.0150.00013.27
7.0.290.0140.00713.39
7.0.280.0130.00013.21
7.0.270.0160.00815.32
7.0.260.0200.00715.20
7.0.250.0170.00914.70
7.0.240.0240.01014.76
7.0.230.0180.00814.69
7.0.220.0160.01014.84
7.0.210.0200.00614.18
7.0.200.0150.00914.34
7.0.190.0220.00614.16
7.0.180.0130.00713.91
7.0.170.0390.00914.02
7.0.160.0230.00613.97
7.0.150.0170.00813.91
7.0.140.0150.00814.00
7.0.130.0220.00714.16
7.0.120.0160.01214.12
7.0.110.0180.00313.96
7.0.100.0350.01014.03
7.0.90.0180.01013.87
7.0.80.0230.00814.09
7.0.70.0280.00813.90
7.0.60.0210.01014.01
7.0.50.0160.01014.01
7.0.40.0180.00714.19
7.0.30.0180.00614.24
7.0.20.0190.00714.21
7.0.10.0230.00614.09
7.0.00.0200.00914.08
5.6.400.0060.00913.83
5.6.390.0070.01313.93
5.6.380.0090.00913.84
5.6.370.0030.01314.27
5.6.360.0080.00814.21
5.6.350.0130.00713.88
5.6.340.0070.01013.89
5.6.330.0030.01213.89
5.6.320.0140.00614.11
5.6.310.0080.01114.08
5.6.300.0130.04218.40
5.6.290.0150.04718.52
5.6.280.0120.04118.47
5.6.270.0120.05818.49
5.6.260.0130.04018.64
5.6.250.0130.03918.57
5.6.240.0090.04918.51
5.6.230.0130.04718.51
5.6.220.0160.04118.52
5.6.210.0130.04118.72
5.6.200.0120.05218.54
5.6.190.0090.04318.48
5.6.180.0150.04218.52
5.6.170.0090.04818.55
5.6.160.0100.04118.52
5.6.150.0150.04518.55
5.6.140.0090.04218.59
5.6.130.0080.04218.53
5.6.120.0090.04418.58
5.6.110.0120.03918.45
5.6.100.0130.04218.52
5.6.90.0130.04218.51
5.6.80.0080.03918.13
5.6.70.0100.03818.16
5.6.60.0110.03918.23
5.6.50.0110.04618.07
5.6.40.0130.03618.08
5.6.30.0110.03718.10
5.6.20.0070.04318.09
5.6.10.0140.04218.11
5.6.00.0120.03918.06
5.5.380.0130.00314.02
5.5.370.0100.00714.04
5.5.360.0100.00613.82
5.5.350.0150.00314.26
5.5.340.0130.00313.88
5.5.330.0040.01413.96
5.5.320.0070.01414.01
5.5.310.0140.01113.44
5.5.300.0140.00314.04
5.5.290.0080.01113.91
5.5.280.0040.01313.66
5.5.270.0110.00414.14
5.5.260.0110.00713.81
5.5.250.0100.00714.16
5.5.240.0120.01213.88
5.5.230.0140.00613.98
5.5.220.0050.01113.98
5.5.210.0120.00613.82
5.5.200.0180.00013.84
5.5.190.0100.00713.50
5.5.180.0040.01413.82
5.5.170.0080.00913.86
5.5.160.0090.01113.65
5.5.150.0030.01413.54
5.5.140.0110.00813.80
5.5.130.0090.00913.93
5.5.120.0040.01214.05
5.5.110.0100.00913.73
5.5.100.0040.01713.66
5.5.90.0090.00913.60
5.5.80.0040.01214.09
5.5.70.0070.01013.94
5.5.60.0090.00913.66
5.5.50.0100.00713.50
5.5.40.0110.01113.74
5.5.30.0160.00413.45
5.5.20.0120.00913.63
5.5.10.0130.00613.74
5.5.00.0110.00813.73
5.4.450.0000.01210.95
5.4.440.0080.00410.66
5.4.430.0120.00011.08
5.4.420.0110.00610.80
5.4.410.0040.01210.84
5.4.400.0110.00410.81
5.4.390.0080.00810.96
5.4.380.0030.01010.97
5.4.370.0060.00610.82
5.4.360.0030.00810.68
5.4.350.0030.00810.55
5.4.340.0060.00610.64
5.4.330.0030.01310.55
5.4.320.0100.00610.56
5.4.310.0000.01010.48
5.4.300.0000.01210.56
5.4.290.0090.00310.72
5.4.280.0080.00410.56
5.4.270.0040.00711.00
5.4.260.0030.00710.56
5.4.250.0040.01110.97
5.4.240.0050.00510.73
5.4.230.0000.01210.73
5.4.220.0160.02210.64
5.4.210.0120.00010.75
5.4.200.0090.00310.29
5.4.190.0050.01010.89
5.4.180.0080.00310.73
5.4.170.0100.00310.74
5.4.160.0040.00810.91
5.4.150.0080.00510.88
5.4.140.0090.00610.53
5.4.130.0070.00510.68
5.4.120.0050.00510.88
5.4.110.0120.00310.68
5.4.100.0080.00410.61
5.4.90.0090.00310.64
5.4.80.0090.00310.41
5.4.70.0060.00310.25
5.4.60.0000.01110.77
5.4.50.0100.00210.63
5.4.40.0090.00310.53
5.4.30.0090.00610.38
5.4.20.0060.01310.77
5.4.10.0000.01210.71
5.4.00.0110.00010.46
5.3.290.0100.00710.58
5.3.280.0000.01310.40
5.3.270.0120.00810.53
5.3.260.0130.00510.42
5.3.250.0090.00910.45
5.3.240.0070.00710.21
5.3.230.0110.00310.36
5.3.220.0030.01010.24
5.3.210.0070.00710.25
5.3.200.0040.00910.36
5.3.190.0130.00010.40
5.3.180.0130.00010.54
5.3.170.0040.01010.37
5.3.160.0080.00510.52
5.3.150.0040.01210.48
5.3.140.0110.00810.40
5.3.130.0090.01210.29
5.3.120.0040.00910.41
5.3.110.0050.01010.46
5.3.100.0070.00710.38
5.3.90.0090.00510.34
5.3.80.0160.00010.17
5.3.70.0100.00510.20
5.3.60.0070.00710.34
5.3.50.0040.01110.21
5.3.40.0110.00410.17
5.3.30.0080.00810.32
5.3.20.0110.00410.34
5.3.10.0040.01210.17
5.3.00.0060.01210.17
5.2.170.0080.00410.17
5.2.160.0100.00510.17
5.2.150.0000.01110.17
5.2.140.0060.00610.17
5.2.130.0080.00810.17
5.2.120.0070.00410.17
5.2.110.0060.00610.17
5.2.100.0130.00310.17
5.2.90.0110.00410.17
5.2.80.0060.00610.17
5.2.70.0110.00410.17
5.2.60.0100.00310.17
5.2.50.0110.00510.17
5.2.40.0160.00010.17
5.2.30.0090.00610.17
5.2.20.0100.00510.17
5.2.10.0110.00410.17
5.2.00.0100.00010.17
5.1.60.0060.00410.17
5.1.50.0030.00910.17
5.1.40.0000.01110.17
5.1.30.0140.00010.17
5.1.20.0080.00310.17
5.1.10.0050.00510.17
5.1.00.0130.00010.17
5.0.50.0080.00410.17
5.0.40.0040.00710.17
5.0.30.0030.00710.17
5.0.20.0090.00010.17
5.0.10.0040.00410.17
5.0.00.0040.00410.17
4.4.90.0000.00910.17
4.4.80.0080.00010.17
4.4.70.0000.01010.17
4.4.60.0030.00610.17
4.4.50.0090.00010.17
4.4.40.0070.00010.17
4.4.30.0060.00010.17
4.4.20.0100.00010.17
4.4.10.0040.00410.17
4.4.00.0060.00310.17
4.3.110.0040.00410.17
4.3.100.0050.00210.17
4.3.90.0030.00310.17
4.3.80.0070.00010.17
4.3.70.0030.00310.17
4.3.60.0000.00710.17
4.3.50.0070.00010.17
4.3.40.0030.00310.17
4.3.30.0040.00210.17
4.3.20.0000.00810.17
4.3.10.0060.00010.17
4.3.00.0060.00010.17

preferences:
57.56 ms | 403 KiB | 5 Q