3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Bar { public function __construct() { var_dump(func_get_args()); } } $bar = new Bar(a: 'a', b: 'b');

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.5.30.0080.01017.34
8.5.20.0100.00718.01
8.5.10.0150.00916.52
8.5.00.0130.01020.00
8.4.180.0070.01422.15
8.4.170.0090.00322.01
8.4.160.0100.01122.02
8.4.150.0070.00516.96
8.4.140.0130.00817.59
8.4.130.0120.00718.57
8.4.120.0160.00517.65
8.4.110.0150.00519.61
8.4.100.0120.00917.71
8.4.90.0090.01120.52
8.4.80.0070.00518.83
8.4.70.0060.00218.27
8.4.60.0150.00718.66
8.4.50.0120.00918.59
8.4.40.0090.00020.21
8.4.30.0070.00420.59
8.4.20.0100.01017.91
8.4.10.0130.00319.53
8.3.300.0120.01018.28
8.3.290.0140.00620.78
8.3.280.0090.01018.39
8.3.270.0130.00716.55
8.3.260.0100.00816.90
8.3.250.0120.00416.92
8.3.240.0040.00516.82
8.3.230.0160.00316.86
8.3.220.0130.00518.95
8.3.210.0110.00816.72
8.3.200.0050.00316.54
8.3.190.0130.00718.84
8.3.180.0080.00617.11
8.3.170.0070.00018.95
8.3.160.0110.00716.89
8.3.150.0150.00417.11
8.3.140.0040.00418.67
8.3.130.0060.00318.52
8.3.120.0060.00318.77
8.3.110.0090.00620.94
8.3.100.0080.00816.77
8.3.90.0120.00326.77
8.3.80.0060.00319.36
8.3.70.0070.01016.58
8.3.60.0180.00018.68
8.3.50.0290.00823.64
8.3.40.0100.00722.08
8.3.30.0040.01118.67
8.3.20.0060.00324.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.300.0180.00622.13
8.2.290.0090.00916.56
8.2.280.0100.00518.39
8.2.270.0150.00017.08
8.2.260.0000.00816.85
8.2.250.0160.00316.85
8.2.240.0040.00418.76
8.2.230.0050.00322.58
8.2.220.0040.01124.06
8.2.210.0040.00426.77
8.2.200.0060.00318.88
8.2.190.0090.00616.58
8.2.180.0150.00025.92
8.2.170.0090.00618.91
8.2.160.0090.00622.96
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0050.00226.16
8.2.120.0040.00426.35
8.2.110.0000.00920.35
8.2.100.0100.00019.20
8.1.340.0120.01119.47
8.1.330.0070.00315.87
8.1.320.0100.01120.12
8.1.310.0120.00615.94
8.1.300.0110.00718.09
8.1.290.0110.00030.84
8.1.280.0070.00725.92
8.1.270.0090.00921.88
8.1.260.0040.01428.09
8.1.250.0050.00228.09
8.1.240.0000.00820.37
8.1.230.0000.00819.01
7.4.120.0090.01516.19
7.4.110.0120.01516.23
7.4.100.0040.01816.30
7.4.90.0120.01216.36
7.4.80.0190.00416.23
7.4.70.0070.01416.30
7.4.60.0120.00916.55
7.4.50.0210.00616.09
7.4.40.0130.00616.41
7.4.30.0150.00616.13
7.4.20.0130.00316.54
7.4.10.0060.01216.33
7.4.00.0070.01116.54
7.3.240.0110.01116.24
7.3.230.0140.01116.29
7.3.220.0180.00416.12
7.3.210.0180.00316.09
7.3.200.0070.01416.16
7.3.190.0180.00716.21
7.3.180.0040.01716.34
7.3.170.0140.01016.18
7.3.160.0090.00916.21
7.3.150.0120.00416.14
7.3.140.0130.00616.17
7.3.130.0130.00716.12
7.3.120.0090.00916.20
7.3.110.0110.00716.12
7.3.100.0130.00616.18
7.3.90.0120.00616.18
7.3.80.0150.00316.21
7.3.70.0030.01416.30
7.3.60.0060.01216.25
7.3.50.0120.00616.17
7.3.40.0070.01116.09
7.3.30.0040.01516.32
7.3.20.0180.00416.16
7.3.10.0150.00316.12
7.3.00.0190.00416.13
7.2.340.0130.00616.29
7.2.330.0120.01216.41
7.2.320.0160.00916.29
7.2.310.0070.01816.31
7.2.300.0070.01116.41
7.2.290.0100.00716.46
7.2.280.0100.00616.44
7.2.270.0140.00316.42
7.2.260.0120.00616.45
7.2.250.0090.00916.19
7.2.240.0130.01016.45
7.2.230.0110.00716.31
7.2.220.0110.00616.15
7.2.210.0150.00916.25
7.2.200.0130.00716.38
7.2.190.0120.00816.18
7.2.180.0000.01916.48
7.2.170.0110.00816.34
7.2.160.0080.01216.40
7.2.150.0110.01116.54
7.2.140.0040.01616.36
7.2.130.0110.00916.42
7.2.120.0110.01516.30
7.2.110.0160.00516.50
7.2.100.0120.00916.23
7.2.90.0130.01316.31
7.2.80.0170.00516.49
7.2.70.0530.01716.34
7.2.60.0060.01516.26
7.2.50.0130.00716.35
7.2.40.0090.01316.45
7.2.30.0190.00616.30
7.2.20.0110.00816.27
7.2.10.0000.01916.26
7.2.00.0080.01116.29

preferences:
63.26 ms | 1167 KiB | 5 Q