3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=0); function get_config(): string { return 42; } get_config();

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.0070.01116.75
8.3.50.0140.00016.14
8.3.40.0070.00718.54
8.3.30.0040.01218.62
8.3.20.0090.00620.09
8.3.10.0000.00923.66
8.3.00.0040.00417.77
8.2.180.0120.00316.50
8.2.170.0070.00722.96
8.2.160.0130.00020.54
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0070.00026.16
8.2.120.0060.00317.50
8.2.110.0030.00720.55
8.2.100.0040.00717.91
8.2.90.0000.00819.11
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0000.00817.92
8.2.50.0050.00318.07
8.2.40.0080.00021.18
8.2.30.0050.00320.61
8.2.20.0090.00017.55
8.2.10.0030.00617.98
8.2.00.0000.00817.92
8.1.280.0130.00725.92
8.1.270.0100.01023.88
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0030.00622.36
8.1.230.0040.00817.43
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0050.00317.11
8.1.180.0030.00518.10
8.1.170.0040.00420.31
8.1.160.0000.00721.98
8.1.150.0040.00418.68
8.1.140.0040.00417.30
8.1.130.0030.00317.56
8.1.120.0040.00417.22
8.1.110.0040.00417.27
8.1.100.0000.00717.31
8.1.90.0000.00717.31
8.1.80.0040.00417.20
8.1.70.0030.00317.30
8.1.60.0050.00317.52
8.1.50.0040.00417.36
8.1.40.0000.00717.44
8.1.30.0000.00817.55
8.1.20.0070.00017.55
8.1.10.0060.00317.55
8.1.00.0030.00517.45
8.0.300.0040.00418.77
8.0.290.0000.00816.63
8.0.280.0030.00318.46
8.0.270.0000.00716.81
8.0.260.0070.00017.06
8.0.250.0000.00917.03
8.0.240.0030.00516.96
8.0.230.0040.00416.81
8.0.220.0000.00816.77
8.0.210.0090.00016.90
8.0.200.0070.00016.94
8.0.190.0040.00416.96
8.0.180.0070.00416.91
8.0.170.0060.00316.93
8.0.160.0080.00016.93
8.0.150.0030.00416.70
8.0.140.0000.00716.75
8.0.130.0040.00413.27
8.0.120.0040.00416.75
8.0.110.0070.00016.93
8.0.100.0000.00816.75
8.0.90.0000.00716.93
8.0.80.0040.01516.82
8.0.70.0020.00516.70
8.0.60.0040.00416.85
8.0.50.0040.00416.73
8.0.30.0090.01116.94
8.0.20.0090.01017.40
8.0.10.0000.00716.90
8.0.00.0120.00616.78
7.4.330.0050.00015.08
7.4.320.0030.00316.39
7.4.300.0030.00616.51
7.4.290.0000.00716.54
7.4.280.0070.00016.50
7.4.270.0040.00416.46
7.4.260.0000.00716.53
7.4.250.0000.00816.32
7.4.240.0020.00516.43
7.4.230.0030.00316.51
7.4.220.0040.01416.54
7.4.210.0090.01316.55
7.4.200.0070.00016.36
7.4.160.0110.00716.57
7.4.150.0050.01317.40
7.4.140.0130.01317.86
7.4.130.0100.00716.47
7.4.120.0080.00916.37
7.4.110.0120.00616.44
7.4.100.0110.01116.18
7.4.90.0120.00916.43
7.4.80.0050.01319.39
7.4.70.0110.00616.35
7.4.60.0100.00716.55
7.4.50.0070.00016.25
7.4.40.0070.01016.42
7.4.30.0100.00716.42
7.4.00.0000.01415.04
7.3.330.0060.00013.21
7.3.320.0050.00013.27
7.3.310.0040.00416.21
7.3.300.0000.00716.27
7.3.290.0040.01216.23
7.3.280.0120.00716.22
7.3.270.0120.00617.40
7.3.260.0070.01016.61
7.3.250.0110.00816.29
7.3.240.0110.01116.38
7.3.230.0100.01016.39
7.3.210.0060.01016.50
7.3.200.0000.01716.37
7.3.190.0170.00016.29
7.3.180.0080.00816.50
7.3.170.0070.01416.40
7.3.160.0100.01016.29
7.2.330.0060.01216.48
7.2.320.0070.01016.50
7.2.310.0070.01416.45
7.2.300.0100.01016.49
7.2.290.0070.01016.43
7.2.60.0100.00316.84
7.2.00.0030.00619.48
7.1.200.0040.00815.48
7.1.100.0090.00618.05
7.1.70.0130.01017.11
7.1.60.0060.01619.50
7.1.50.0060.01616.83
7.1.00.0100.07022.43
7.0.200.0080.00816.34
7.0.60.0100.08019.91
7.0.50.0100.06017.72
7.0.40.0200.06720.26
7.0.30.0300.04320.09
7.0.20.0370.05320.23
7.0.10.0270.03720.28
7.0.00.0070.08720.19
5.6.280.0000.03321.15
5.6.210.0070.03720.61
5.6.200.0030.08018.19
5.6.190.0030.04720.63
5.6.180.3100.04720.61
5.6.170.0200.06320.52
5.6.160.0030.04320.60
5.6.150.0030.04318.26
5.6.140.0130.03718.14
5.6.130.0000.05718.14
5.6.120.0030.08020.89
5.6.110.0070.08320.96
5.6.100.0030.09020.98
5.6.90.0130.07320.99
5.6.80.0130.07720.54
5.6.70.2730.03720.50
5.5.350.0230.07720.40
5.5.340.0070.03318.05
5.5.330.0100.07720.19
5.5.320.0170.04020.41
5.5.310.0230.06720.38
5.5.300.0100.07317.95
5.5.290.0070.05018.08
5.5.280.0100.08020.90
5.5.270.0070.07720.76
5.5.260.0070.04320.64
5.5.250.0100.06720.79
5.5.240.0030.04020.16
5.4.450.0200.06019.45
5.4.440.0270.05319.48
5.4.430.0330.05719.57
5.4.420.0230.05719.20
5.4.410.0200.06719.18
5.4.400.0170.05319.15
5.4.390.0270.05719.15
5.4.380.0500.05019.02
5.4.370.0200.07719.28
5.4.360.0270.05019.06
5.4.350.0230.07019.15
5.4.340.0370.05019.30
5.4.320.0230.05719.25
5.4.310.0270.06319.32
5.4.300.0170.06018.86
5.4.290.0270.05019.14
5.4.280.0230.06319.24
5.4.270.0200.05719.30
5.4.260.0300.05019.22
5.4.250.0230.06318.98
5.4.240.0300.05018.83
5.4.230.0300.04718.86
5.4.220.0330.06319.27
5.4.210.0430.06319.24
5.4.200.0170.05319.14
5.4.190.0300.07019.14
5.4.180.0270.05319.11
5.4.170.0230.06018.86
5.4.160.0200.05319.13
5.4.150.0230.05319.35
5.4.140.0100.06316.55
5.4.130.0300.06016.61
5.4.120.0170.07016.59
5.4.110.0300.06016.65
5.4.100.0270.05016.58
5.4.90.0230.04716.33
5.4.80.0270.06016.31
5.4.70.0300.05316.64
5.4.60.0230.05316.58
5.4.50.0230.04716.38
5.4.40.0230.05316.41
5.4.30.0130.06316.62
5.4.20.0170.05716.59
5.4.10.0170.05716.16
5.4.00.0230.06015.85

preferences:
57.46 ms | 400 KiB | 5 Q