3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(int $a) { var_dump($a); } $string = 123; test($string);

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.40.0070.01418.71
8.3.30.0040.01118.45
8.3.20.0120.00320.03
8.3.10.0000.00723.48
8.3.00.0040.00419.84
8.2.170.0140.00322.96
8.2.160.0040.01120.42
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00419.39
8.2.120.0040.00426.35
8.2.110.0040.00420.53
8.2.100.0080.00417.80
8.2.90.0040.00419.05
8.2.80.0060.00317.97
8.2.70.0030.00617.13
8.2.60.0040.00417.68
8.2.50.0000.00818.07
8.2.40.0000.00922.29
8.2.30.0070.00020.50
8.2.20.0030.00517.48
8.2.10.0070.00017.91
8.2.00.0040.00417.90
8.1.270.0060.00320.22
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0000.00823.92
8.1.230.0060.00617.82
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0070.00317.23
8.1.190.0080.00017.00
8.1.180.0030.00618.10
8.1.170.0030.00518.47
8.1.160.0000.00820.70
8.1.150.0020.00518.69
8.1.140.0000.00819.46
8.1.130.0000.00717.69
8.1.120.0000.00717.36
8.1.110.0000.00717.28
8.1.100.0040.00417.44
8.1.90.0000.00717.38
8.1.80.0000.00917.43
8.1.70.0000.00717.28
8.1.60.0060.00317.61
8.1.50.0000.00817.52
8.1.40.0040.00417.39
8.1.30.0000.00817.61
8.1.20.0040.00417.66
8.1.10.0070.00017.40
8.1.00.0080.00017.38
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0030.00318.38
8.0.270.0000.00717.06
8.0.260.0030.00317.17
8.0.250.0030.00316.87
8.0.240.0040.00416.93
8.0.230.0030.00716.84
8.0.220.0040.00416.69
8.0.210.0040.00416.68
8.0.200.0060.00016.79
8.0.190.0050.00316.88
8.0.180.0050.00216.73
8.0.170.0050.00216.88
8.0.160.0070.00016.81
8.0.150.0080.00016.82
8.0.140.0000.00716.66
8.0.130.0030.00313.25
8.0.120.0040.00416.79
8.0.110.0040.00416.77
8.0.100.0070.00016.88
8.0.90.0000.00716.76
8.0.80.0100.01016.74
8.0.70.0050.00216.60
8.0.60.0020.00516.93
8.0.50.0040.00416.68
8.0.30.0130.00916.92
8.0.20.0120.00817.40
8.0.10.0060.00316.98
8.0.00.0070.01016.70
7.4.330.0020.00216.70
7.4.320.0070.00016.33
7.4.300.0030.00316.62
7.4.290.0040.00416.45
7.4.280.0000.00916.57
7.4.270.0070.00016.59
7.4.260.0070.00016.34
7.4.250.0000.00716.49
7.4.240.0070.00016.46
7.4.230.0080.00016.70
7.4.220.0060.01216.60
7.4.210.0110.00716.66
7.4.200.0000.00716.68
7.4.160.0080.00816.41
7.4.150.0120.01217.40
7.4.140.0120.01217.86
7.4.130.0070.01216.48
7.4.120.0090.00816.41
7.4.110.0030.01416.49
7.4.100.0120.00616.44
7.4.90.0070.01316.48
7.4.80.0090.00919.39
7.4.70.0080.00816.45
7.4.60.0130.00316.27
7.4.50.0030.01016.44
7.4.40.0070.01416.45
7.4.30.0090.01516.53
7.4.00.0000.01814.97
7.3.330.0000.00613.01
7.3.320.0000.00513.06
7.3.310.0000.00716.04
7.3.300.0000.00716.14
7.3.290.0100.00416.18
7.3.280.0080.00916.19
7.3.270.0090.00917.40
7.3.260.0080.00816.19
7.3.250.0110.00716.30
7.3.240.0140.00816.30
7.3.230.0130.00616.56
7.3.210.0140.00716.41
7.3.200.0070.01116.22
7.3.190.0100.00716.58
7.3.180.0080.00716.20
7.3.170.0060.01016.41
7.3.160.0120.00416.29
7.2.330.0090.01416.66
7.2.320.0140.00316.48
7.2.310.0070.01016.52
7.2.300.0160.00716.59
7.2.290.0120.00916.38
7.2.60.0140.00016.93
7.2.00.0060.00619.25
7.1.200.0030.00915.70
7.1.100.0210.00516.59
7.1.70.0000.00817.22
7.1.60.0140.01019.13
7.1.50.0120.00017.05
7.1.00.0000.07722.26
7.0.200.0250.00914.67
7.0.60.0070.07020.01
7.0.50.0000.04317.88
7.0.40.0070.04720.13
7.0.30.0230.04020.10
7.0.20.0300.06720.24
7.0.10.0100.05720.08
7.0.00.0030.04020.16
5.6.280.0030.04021.15
5.6.210.0000.04320.61
5.6.200.0100.05318.22
5.6.190.0100.03720.41
5.6.180.0300.07020.63
5.6.170.0300.03320.61
5.6.160.0030.08720.44
5.6.150.0030.06718.27
5.6.140.0000.09318.15
5.6.130.0100.04318.18
5.6.120.0070.04020.98
5.6.110.0000.09721.02
5.6.100.0030.06721.11
5.6.90.0070.04021.13
5.6.80.0030.05720.44
5.5.350.0200.06720.32
5.5.340.0100.06017.99
5.5.330.0030.04320.40
5.5.320.0170.07020.38
5.5.310.0270.07320.46
5.5.300.0170.07318.08
5.5.290.0030.05317.95
5.5.280.0070.08020.98
5.5.270.0030.05320.73
5.5.260.0170.06320.80
5.5.250.0030.04720.50
5.5.240.0270.06320.12

preferences:
43.54 ms | 400 KiB | 5 Q