3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function new() { echo __METHOD__; } } (new Test)->new();

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.0150.00318.43
8.3.50.0030.01416.59
8.3.40.0070.01321.77
8.3.30.0040.01118.58
8.3.20.0080.00024.18
8.3.10.0050.00524.66
8.3.00.0000.00726.16
8.2.180.0180.00425.92
8.2.170.0120.00318.84
8.2.160.0100.00322.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0020.00526.35
8.2.110.0000.01020.92
8.2.100.0040.00719.21
8.2.90.0000.00820.60
8.2.80.0090.00020.36
8.2.70.0050.00317.38
8.2.60.0000.00817.63
8.2.50.0000.00818.05
8.2.40.0060.00318.22
8.2.30.0040.00417.91
8.2.20.0000.00717.92
8.2.10.0040.00420.88
8.2.00.0040.00419.17
8.1.280.0070.01125.92
8.1.270.0040.00423.74
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0000.01022.19
8.1.230.0070.00420.91
8.1.220.0030.00617.74
8.1.210.0080.00018.91
8.1.200.0030.00517.11
8.1.190.0000.00916.98
8.1.180.0000.00918.10
8.1.170.0040.00418.64
8.1.160.0070.00018.82
8.1.150.0040.00818.63
8.1.140.0070.00018.74
8.1.130.0000.00720.03
8.1.120.0030.00317.31
8.1.110.0050.00217.34
8.1.100.0070.00017.38
8.1.90.0060.00317.29
8.1.80.0040.00417.32
8.1.70.0040.00417.28
8.1.60.0040.00417.40
8.1.50.0000.00817.34
8.1.40.0070.00017.45
8.1.30.0040.00417.54
8.1.20.0040.00417.59
8.1.10.0040.00417.49
8.1.00.0040.00417.39
8.0.300.0020.00620.16
8.0.290.0000.00816.75
8.0.280.0050.00218.44
8.0.270.0000.00717.91
8.0.260.0020.00518.40
8.0.250.0000.00616.85
8.0.240.0050.00216.91
8.0.230.0030.00316.82
8.0.220.0030.00416.63
8.0.210.0000.00716.77
8.0.200.0040.00416.70
8.0.190.0040.00416.71
8.0.180.0040.00416.79
8.0.170.0090.00016.74
8.0.160.0030.00616.85
8.0.150.0070.00016.75
8.0.140.0070.00316.57
8.0.130.0060.00013.16
8.0.120.0000.00716.71
8.0.110.0050.00316.88
8.0.100.0040.00416.63
8.0.90.0030.00316.78
8.0.80.0090.00916.71
8.0.70.0040.00416.75
8.0.60.0000.00716.59
8.0.50.0030.00516.80
8.0.30.0130.00417.25
8.0.20.0100.01317.20
8.0.10.0040.00416.90
8.0.00.0070.01416.74
7.4.330.0000.00515.55
7.4.320.0060.00016.49
7.4.300.0070.00016.47
7.4.290.0070.00016.50
7.4.280.0000.00716.44
7.4.270.0040.00416.46
7.4.260.0020.00213.07
7.4.250.0000.00816.40
7.4.240.0030.00316.36
7.4.230.0040.00416.55
7.4.220.0030.00316.62
7.4.210.0110.00716.50
7.4.200.0070.00016.50
7.4.130.0090.01516.46
7.4.120.0070.01316.25
7.4.110.0130.01016.34
7.4.100.0300.00616.52
7.4.90.0260.00616.56
7.4.80.0220.01116.53
7.4.70.0150.01916.42
7.4.60.0240.01316.39
7.4.50.0190.01316.31
7.4.40.0260.00316.24
7.4.30.0170.00716.50
7.4.20.0200.01316.54
7.4.10.0200.01316.23
7.4.00.0160.00616.08
7.3.330.0000.00616.11
7.3.320.0030.00313.16
7.3.310.0040.00416.26
7.3.300.0000.00616.10
7.3.290.0080.00916.20
7.3.260.0130.00316.10
7.3.230.0270.00716.15
7.3.220.0290.00616.29
7.3.210.0170.01416.20
7.3.200.0160.01916.10
7.3.190.0190.01516.34
7.3.180.0220.01216.14
7.3.170.0220.01016.20
7.3.160.0090.01316.31
7.3.150.0310.00316.48
7.3.140.0210.01716.48
7.3.130.0250.01216.21
7.3.120.0250.01116.42
7.3.110.0260.01316.47
7.3.100.0210.01616.38
7.3.90.0240.00716.23
7.3.80.0230.00916.57
7.3.70.0210.01816.31
7.3.60.0270.00916.36
7.3.50.0290.01116.33
7.3.40.0160.02016.18
7.3.30.0240.00316.34
7.3.20.0250.01116.44
7.3.10.0200.01716.21
7.3.00.0250.01516.22
7.2.340.0220.01516.54
7.2.330.0310.00616.38
7.2.320.0280.00916.51
7.2.310.0260.01016.66
7.2.300.0190.01316.19
7.2.290.0120.00916.33
7.2.280.0250.01016.56
7.2.270.0150.01816.70
7.2.260.0230.01016.27
7.2.250.0320.00416.27
7.2.240.0320.00616.36
7.2.230.0190.02116.54
7.2.220.0280.01116.22
7.2.210.0190.01316.52
7.2.200.0320.00816.38
7.2.190.0160.01516.58
7.2.180.0240.01016.46
7.2.170.0260.00716.55
7.2.160.0140.01416.43
7.2.150.0210.01116.46
7.2.140.0300.01116.57
7.2.130.0350.00016.49
7.2.120.0270.01016.61
7.2.110.0210.01816.43
7.2.100.0220.01816.67
7.2.90.0370.00316.59
7.2.80.0350.00316.36
7.2.70.0230.01316.44
7.2.60.0310.01016.45
7.2.50.0270.01516.45
7.2.40.0290.01216.44
7.2.30.0210.01716.60
7.2.20.0310.01116.45
7.2.10.0270.00616.52
7.2.00.0310.00716.44

preferences:
62.23 ms | 400 KiB | 5 Q