3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Derp { public static function herp() { echo 'herp de derp' . PHP_EOL; } } $foo = 'Derp'; $foo::herp();

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.0110.00718.18
8.3.50.0100.00716.48
8.3.40.0040.01118.68
8.3.30.0120.00318.61
8.3.20.0000.00720.21
8.3.10.0050.00321.59
8.3.00.0030.00521.57
8.2.180.0030.01018.54
8.2.170.0110.00722.96
8.2.160.0030.01220.39
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.86
8.2.110.0030.00722.20
8.2.100.0000.01117.84
8.2.90.0000.00817.75
8.2.80.0000.00817.97
8.2.70.0030.00617.93
8.2.60.0080.00018.22
8.2.50.0080.00018.10
8.2.40.0070.00019.47
8.2.30.0040.00419.18
8.2.20.0000.00817.94
8.2.10.0070.00018.04
8.2.00.0000.00718.05
8.1.280.0040.01125.92
8.1.270.0070.00020.38
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0080.00023.83
8.1.230.0080.00419.14
8.1.220.0080.00017.74
8.1.210.0070.00318.77
8.1.200.0060.00317.23
8.1.190.0060.00317.23
8.1.180.0080.00018.10
8.1.170.0000.00718.91
8.1.160.0000.00718.77
8.1.150.0040.00420.38
8.1.140.0060.00319.48
8.1.130.0000.00718.95
8.1.120.0030.00517.39
8.1.110.0000.00817.26
8.1.100.0040.00417.27
8.1.90.0000.00817.43
8.1.80.0040.00417.38
8.1.70.0030.00517.27
8.1.60.0040.00417.59
8.1.50.0000.00817.54
8.1.40.0040.00417.48
8.1.30.0000.00817.54
8.1.20.0040.00417.58
8.1.10.0000.00717.47
8.1.00.0040.00417.54
8.0.300.0040.00419.66
8.0.290.0080.00016.63
8.0.280.0030.00318.47
8.0.270.0070.00017.16
8.0.260.0030.00317.20
8.0.250.0000.00716.88
8.0.240.0100.00016.91
8.0.230.0030.00316.88
8.0.220.0030.00316.85
8.0.210.0080.00016.75
8.0.200.0030.00316.91
8.0.190.0070.00016.78
8.0.180.0050.00216.91
8.0.170.0000.00716.80
8.0.160.0000.00716.75
8.0.150.0040.00416.84
8.0.140.0080.00016.75
8.0.130.0000.00513.19
8.0.120.0000.00716.79
8.0.110.0000.00716.81
8.0.100.0040.00416.68
8.0.90.0000.00716.77
8.0.80.0070.01116.88
8.0.70.0000.00716.69
8.0.60.0040.00416.86
8.0.50.0000.00716.88
8.0.30.0060.01317.17
8.0.20.0120.01117.40
8.0.10.0030.00416.99
8.0.00.0140.00416.86
7.4.330.0050.00015.55
7.4.320.0030.00316.48
7.4.300.0040.00416.54
7.4.290.0040.00416.33
7.4.280.0050.00516.61
7.4.270.0020.00516.35
7.4.260.0070.00016.39
7.4.250.0020.00516.59
7.4.240.0000.00716.52
7.4.230.0000.00716.69
7.4.220.0120.00616.50
7.4.210.0090.00416.50
7.4.200.0000.00716.64
7.4.160.0110.00516.47
7.4.150.0060.01617.40
7.4.140.0080.01317.86
7.4.130.0150.00416.38
7.4.120.0100.01116.45
7.4.110.0140.01116.58
7.4.100.0080.00816.52
7.4.90.0050.01216.39
7.4.80.0120.00919.39
7.4.70.0090.00616.41
7.4.60.0070.01016.38
7.4.50.0060.00616.21
7.4.40.0040.01816.36
7.4.30.0050.01516.50
7.4.10.0040.01214.66
7.4.00.0050.00814.93
7.3.330.0000.00613.36
7.3.320.0030.00313.16
7.3.310.0080.00016.15
7.3.300.0000.00716.25
7.3.290.0090.00716.29
7.3.280.0080.01116.27
7.3.270.0160.00817.40
7.3.260.0110.00916.43
7.3.250.0080.01016.36
7.3.240.0120.00916.52
7.3.230.0100.00716.39
7.3.210.0100.00716.54
7.3.200.0090.01116.58
7.3.190.0110.00616.46
7.3.180.0070.01416.54
7.3.170.0110.01116.46
7.3.160.0150.00016.42
7.3.130.0060.01214.61
7.3.120.0030.01314.94
7.3.110.0090.00914.79
7.3.100.0030.01014.89
7.3.90.0100.00714.96
7.3.80.0100.00714.78
7.3.70.0090.01414.91
7.3.60.0080.01114.48
7.3.50.0070.01214.89
7.3.40.0110.00814.53
7.3.30.0080.01214.56
7.3.20.0130.00716.64
7.3.10.0040.01516.55
7.3.00.0040.01316.84
7.2.330.0060.01016.70
7.2.320.0120.00816.71
7.2.310.0100.00616.54
7.2.300.0100.00616.68
7.2.290.0110.00716.54
7.2.260.0110.00415.09
7.2.250.0030.01515.07
7.2.240.0070.00714.52
7.2.230.0070.01014.79
7.2.220.0130.00814.80
7.2.210.0050.01414.71
7.2.200.0090.00914.96
7.2.190.0090.00914.89
7.2.180.0080.01214.92
7.2.170.0030.01415.05
7.2.160.0040.01914.93
7.2.150.0070.01116.54
7.2.140.0050.01416.66
7.2.130.0150.00016.90
7.2.120.0120.00316.70
7.2.110.0040.00716.78
7.2.100.0030.01416.70
7.2.90.0070.00717.01
7.2.80.0070.01016.71
7.2.70.0030.00816.88
7.2.60.0070.00716.63
7.2.50.0050.00816.67
7.2.40.0120.00316.89
7.2.30.0100.00616.82
7.2.20.0060.00916.88
7.2.10.0060.00916.57
7.2.00.0100.00716.84
7.1.330.0000.01615.43
7.1.320.0100.00815.82
7.1.310.0090.01215.67
7.1.300.0100.00815.58
7.1.290.0070.01015.82
7.1.280.0050.01415.48
7.1.270.0030.01215.79
7.1.260.0130.00315.73
7.1.250.0120.00615.83
7.1.240.0030.01015.79
7.1.230.0000.01515.61
7.1.220.0080.00415.48
7.1.210.0050.00515.52
7.1.200.0080.00415.70
7.1.190.0000.01315.68
7.1.180.0040.00415.70
7.1.170.0090.00315.41
7.1.160.0060.00915.66
7.1.150.0060.00915.76
7.1.140.0030.00815.78
7.1.130.0000.01415.36
7.1.120.0000.00915.66
7.1.110.0000.01115.64
7.1.100.0000.01015.55
7.1.90.0000.01315.57
7.1.80.0070.00715.74
7.1.70.0030.00816.51
7.1.60.0070.00516.49
7.1.50.0070.01015.74
7.1.40.0090.00315.76
7.1.30.1620.04226.09
7.1.20.1760.03525.98
7.1.10.1690.03417.89
7.1.00.1880.04018.02
7.0.330.0040.01215.00
7.0.320.0030.00715.13
7.0.310.0030.01015.32
7.0.300.0000.01215.34
7.0.290.0040.01115.16
7.0.280.0000.01715.55
7.0.270.0000.01015.18
7.0.260.0060.00315.43
7.0.250.0030.01015.37
7.0.240.0070.00715.52
7.0.230.0030.00915.29
7.0.220.0060.01015.13
7.0.210.0000.00815.17
7.0.200.0050.01116.15
7.0.190.0040.00715.27
7.0.180.0030.01215.38
7.0.170.1350.04017.76
7.0.160.1360.03617.71
7.0.150.2000.03917.60
7.0.140.1920.03717.66
7.0.130.1940.04017.70
7.0.120.1940.03617.73
7.0.110.1430.03917.54
7.0.100.1420.03217.54
7.0.90.1350.03517.74
7.0.80.1200.03617.80
7.0.70.1640.03417.80
7.0.60.1650.03717.73
7.0.50.1760.04117.82
7.0.40.1430.03816.70
7.0.30.1430.03316.70
7.0.20.1510.03816.80
7.0.10.2020.04016.62
7.0.00.2030.04516.67
5.6.400.0070.01014.11
5.6.390.0070.00714.45
5.6.380.0040.00814.01
5.6.370.0030.00614.29
5.6.360.0060.00314.09
5.6.350.0070.00714.13
5.6.340.0070.01014.28
5.6.330.0040.00814.53
5.6.320.0040.00714.05
5.6.310.0030.01214.14
5.6.300.0080.00314.48
5.6.290.0000.00914.23
5.6.280.0030.00714.05
5.6.270.0070.00714.23
5.6.260.0060.00614.54
5.6.250.0080.00814.39
5.6.240.0030.00814.17
5.6.230.0090.00314.20
5.6.220.0090.00614.43
5.6.210.0070.01014.48
5.6.200.0040.00814.19
5.6.190.0070.00714.48
5.6.180.0030.00614.11
5.6.170.0030.00714.38
5.6.160.0030.01014.41
5.6.150.0000.01414.37
5.6.140.0060.00914.40
5.6.130.0080.00414.56
5.6.120.0030.00914.65
5.6.110.0100.00314.22
5.6.100.0090.00314.28
5.6.90.0030.01314.25
5.6.80.0090.00314.55
5.6.70.0070.00714.36
5.6.60.0060.00314.30
5.6.50.0030.00914.07
5.6.40.0060.00914.07
5.6.30.0100.00314.23
5.6.20.0060.00914.27
5.6.10.0060.01314.29
5.6.00.0000.01114.23

preferences:
57.07 ms | 400 KiB | 5 Q