3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function something(int $int, string $string) { var_dump($int, $string); } something("10", 5);

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.0060.00918.56
8.3.50.0060.01221.91
8.3.40.0140.00718.84
8.3.30.0150.00418.76
8.3.20.0000.00822.12
8.3.10.0070.00023.65
8.3.00.0050.00319.38
8.2.180.0110.00418.51
8.2.170.0040.01118.81
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0050.00320.44
8.2.120.0000.00826.35
8.2.110.0070.00321.18
8.2.100.0090.00318.04
8.2.90.0080.00019.08
8.2.80.0000.00917.97
8.2.70.0040.00417.63
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0050.00319.29
8.2.30.0000.00820.56
8.2.20.0030.00617.79
8.2.10.0000.00718.02
8.2.00.0080.00418.05
8.1.280.0170.00025.92
8.1.270.0040.00424.66
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00323.83
8.1.230.0040.00817.52
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.13
8.1.190.0040.00417.70
8.1.180.0040.00418.10
8.1.170.0030.00518.56
8.1.160.0040.00421.94
8.1.150.0000.00718.63
8.1.140.0080.00019.44
8.1.130.0030.00317.57
8.1.120.0000.00817.31
8.1.110.0000.00717.34
8.1.100.0040.00417.21
8.1.90.0000.00717.37
8.1.80.0030.00417.28
8.1.70.0070.00017.29
8.1.60.0090.00017.39
8.1.50.0000.00817.47
8.1.40.0000.00817.43
8.1.30.0060.00317.42
8.1.20.0040.00417.51
8.1.10.0030.00517.57
8.1.00.0000.00817.30
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0000.00718.28
8.0.270.0070.00017.03
8.0.260.0030.00317.10
8.0.250.0040.00417.00
8.0.240.0000.00716.94
8.0.230.0000.00816.91
8.0.220.0030.00316.94
8.0.210.0000.00816.93
8.0.200.0040.00416.90
8.0.190.0000.00816.95
8.0.180.0030.00616.86
8.0.170.0050.00316.80
8.0.160.0040.00416.86
8.0.150.0000.00716.89
8.0.140.0030.00316.70
8.0.130.0060.00013.32
8.0.120.0050.00316.80
8.0.110.0000.00716.76
8.0.100.0080.00016.76
8.0.90.0040.00416.92
8.0.80.0150.00016.86
8.0.70.0040.00416.93
8.0.60.0050.00316.90
8.0.50.0000.00716.84
8.0.30.0140.00516.87
8.0.20.0110.01117.40
8.0.10.0040.00416.83
8.0.00.0120.00616.86
7.4.330.0020.00216.83
7.4.320.0040.00416.38
7.4.300.0030.00316.41
7.4.290.0060.00016.36
7.4.280.0060.00316.53
7.4.270.0030.00316.54
7.4.260.0030.00316.27
7.4.250.0040.00416.53
7.4.240.0020.00516.43
7.4.230.0030.00316.62
7.4.220.0200.00616.43
7.4.210.0060.01516.48
7.4.200.0030.00316.27
7.4.160.0060.00916.33
7.4.150.0150.00317.40
7.4.140.0130.00817.86
7.4.130.0130.00616.47
7.4.120.0100.01016.48
7.4.110.0150.00316.20
7.4.100.0000.01616.53
7.4.90.0070.01016.46
7.4.80.0070.01019.39
7.4.70.0120.00916.44
7.4.60.0130.00316.43
7.4.50.0060.00616.31
7.4.40.0110.01216.56
7.4.30.0080.00816.56
7.4.00.0070.01014.56
7.3.330.0030.00513.15
7.3.320.0050.00013.15
7.3.310.0040.00416.30
7.3.300.0000.00716.15
7.3.290.0070.00716.25
7.3.280.0100.00516.32
7.3.270.0150.00417.40
7.3.260.0100.01016.34
7.3.250.0100.01116.24
7.3.240.0070.01116.44
7.3.230.0060.01116.53
7.3.210.0090.00916.64
7.3.200.0150.00316.30
7.3.190.0110.01016.52
7.3.180.0070.01016.39
7.3.170.0030.01916.38
7.3.160.0040.01216.32
7.3.10.0030.01116.45
7.3.00.0110.00816.19
7.2.330.0060.00916.52
7.2.320.0100.01316.27
7.2.310.0030.01816.59
7.2.300.0100.00716.51
7.2.290.0070.01016.61
7.2.130.0070.01116.70
7.2.120.0060.00616.83
7.2.110.0070.00716.74
7.2.100.0060.00616.56
7.2.90.0030.01716.58
7.2.80.0060.00916.75
7.2.70.0090.01216.77
7.2.60.0120.00816.73
7.2.50.0110.00716.35
7.2.40.0040.01116.37
7.2.30.0040.01116.41
7.2.20.0100.01016.50
7.2.10.0130.01016.71
7.2.00.0070.00917.96
7.1.250.0030.01015.65
7.1.200.0080.00415.73
7.1.100.0000.01317.91
7.1.70.0140.00816.98
7.1.60.0040.02119.36
7.1.50.0140.01016.94
7.1.00.0070.07322.28
7.0.200.0060.00316.56
7.0.60.0100.07319.77
7.0.50.0130.03017.91
7.0.40.0130.03720.24
7.0.30.0270.05320.13
7.0.20.0300.07720.24
7.0.10.0100.08320.32
7.0.00.0070.07720.08
5.6.280.0070.06020.82
5.6.210.0100.05020.68
5.6.200.0030.04318.18
5.6.190.0070.04720.41
5.6.180.0300.05020.61
5.6.170.0300.07320.56
5.6.160.0100.08020.50
5.6.150.0070.04718.25
5.6.140.0070.05318.20
5.6.130.0030.05018.19
5.6.120.0030.07321.05
5.6.110.0030.05721.05
5.6.100.0070.05721.11
5.6.90.0030.04320.88
5.6.80.0070.08020.37
5.5.350.0200.08320.39
5.5.340.0070.04718.07
5.5.330.0100.08320.27
5.5.320.0030.04320.35
5.5.310.0300.04720.23
5.5.300.0200.04017.94
5.5.290.0070.06718.08
5.5.280.0070.06720.64
5.5.270.0070.06720.77
5.5.260.0130.06320.79
5.5.250.0030.08320.70
5.5.240.0200.08020.34

preferences:
53.29 ms | 401 KiB | 5 Q