3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cls = new class {public string $foo;}; var_dump(new $cls);

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.4.130.0120.00817.64
8.4.120.0120.00720.41
8.4.110.0070.00822.67
8.4.100.0100.01217.50
8.4.90.0140.00722.79
8.4.80.0120.00519.60
8.4.70.0130.00918.03
8.4.60.0120.00818.57
8.4.50.0100.00920.21
8.4.40.0100.01019.03
8.4.30.0130.00618.62
8.4.20.0100.01020.54
8.4.10.0130.00717.45
8.3.260.0120.00716.57
8.3.250.0090.00918.79
8.3.240.0090.01116.41
8.3.230.0100.00916.48
8.3.220.0090.01020.86
8.3.210.0090.00518.30
8.3.200.0040.00516.48
8.3.190.0090.01016.97
8.3.180.0050.01016.61
8.3.170.0110.00716.89
8.3.160.0100.00320.35
8.3.150.0110.00718.93
8.3.140.0050.00317.11
8.3.130.0080.00018.31
8.3.120.0050.00319.06
8.3.110.0040.00416.64
8.3.100.0050.00516.48
8.3.90.0000.00818.30
8.3.80.0030.00618.55
8.3.70.0030.01416.37
8.3.60.0040.01116.38
8.3.50.0210.00716.53
8.3.40.0070.00718.84
8.3.30.0070.01418.53
8.3.20.0050.00222.11
8.3.10.0100.00320.12
8.3.00.0040.00422.45
8.2.290.0080.00720.47
8.2.280.0120.00718.43
8.2.270.0090.00916.94
8.2.260.0040.00417.12
8.2.250.0120.00616.62
8.2.240.0030.00618.71
8.2.230.0060.00320.94
8.2.220.0040.00424.06
8.2.210.0070.00026.77
8.2.200.0080.00416.75
8.2.190.0080.00816.58
8.2.180.0110.00418.18
8.2.170.0140.00022.96
8.2.160.0110.00420.26
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0040.00426.16
8.2.110.0060.00320.12
8.2.100.0080.00317.78
8.2.90.0050.00317.88
8.2.80.0080.00018.05
8.2.70.0080.00018.03
8.2.60.0000.00818.17
8.2.50.0110.00018.10
8.2.40.0000.00819.41
8.2.30.0090.00019.14
8.2.20.0070.00018.06
8.2.10.0040.00419.24
8.2.00.0000.00719.11
8.1.330.0080.01023.84
8.1.320.0130.00616.14
8.1.310.0070.00718.27
8.1.300.0120.00619.50
8.1.290.0030.00618.88
8.1.280.0110.00325.92
8.1.270.0040.00420.64
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0000.00923.84
8.1.230.0090.00319.13
8.1.220.0030.00517.74
8.1.210.0060.00318.77
8.1.200.0000.01117.13
8.1.190.0040.00417.23
8.1.180.0050.00518.10
8.1.170.0050.00318.53
8.1.160.0070.00018.89
8.1.150.0080.00018.75
8.1.140.0070.00020.87
8.1.130.0040.00420.05
8.1.120.0050.00217.46
8.1.110.0040.00417.48
8.1.100.0000.01017.35
8.1.90.0000.00817.47
8.1.80.0040.00417.29
8.1.70.0000.00717.41
8.1.60.0030.00717.57
8.1.50.0040.00417.43
8.1.40.0000.00817.42
8.1.30.0030.00617.62
8.1.20.0080.00017.65
8.1.10.0000.00817.54
8.1.00.0000.00717.41
8.0.300.0040.00419.64
8.0.290.0060.00316.63
8.0.280.0000.00718.42
8.0.270.0030.00317.15
8.0.260.0000.00620.29
8.0.250.0070.00016.96
8.0.240.0000.00716.95
8.0.230.0000.00716.88
8.0.220.0000.00816.88
8.0.210.0030.00316.78
8.0.200.0000.01016.89
8.0.190.0070.00016.94
8.0.180.0040.00416.99
8.0.170.0060.00316.91
8.0.160.0040.00416.78
8.0.150.0040.00416.72
8.0.140.0040.00416.75
8.0.130.0030.00313.30
8.0.120.0000.00816.81
8.0.110.0030.00616.79
8.0.100.0030.00616.92
8.0.90.0070.00016.72
8.0.80.0050.01016.87
8.0.70.0040.00417.00
8.0.60.0000.00717.00
8.0.50.0040.00416.70
8.0.30.0040.01217.03
8.0.20.0110.00716.97
8.0.10.0040.00416.99
8.0.00.0130.00616.76
7.4.330.0050.00016.67
7.4.320.0040.00416.61
7.4.300.0030.00316.50
7.4.290.0030.00316.54
7.4.280.0050.00216.57
7.4.270.0000.00616.59
7.4.260.0060.00013.24
7.4.250.0040.00416.44
7.4.240.0030.00316.46
7.4.230.0000.00716.47
7.4.220.0020.00516.43
7.4.210.0090.00616.57
7.4.200.0070.00016.49
7.4.140.0130.00417.86
7.4.130.0110.00716.39
7.4.120.0110.00616.46
7.4.110.0130.01016.39
7.4.100.0140.00616.38
7.4.90.0090.00916.41
7.4.80.0170.00019.39
7.4.70.0060.01016.61
7.4.60.0040.01116.42
7.4.50.0090.00616.32
7.4.40.0140.00316.32
7.3.330.0000.00716.01
7.3.320.0030.00313.10
7.3.310.0070.00016.20
7.3.300.0000.00716.16
7.3.290.0080.00016.02
7.3.260.0090.01116.30
7.3.240.0100.00616.27
7.3.230.0090.00916.32
7.3.210.0090.00816.23
7.3.200.0150.00416.16
7.3.190.0130.00316.41
7.3.180.0030.01216.29
7.3.170.0070.01316.35
7.3.160.0060.01216.13
7.3.90.0160.00314.29
7.3.80.0000.01814.86
7.3.70.0130.00314.37
7.3.60.0030.01014.62
7.3.50.0090.00914.75
7.3.40.0060.01214.66
7.3.30.0100.00314.53
7.3.20.0030.01114.78
7.3.10.0120.00614.71
7.3.00.0100.00314.84
7.2.330.0140.00316.16
7.2.320.0060.01116.38
7.2.310.0100.01016.36
7.2.300.0090.01016.46
7.2.290.0120.00416.58
7.2.220.0070.01314.75
7.2.210.0130.00614.51
7.2.200.0090.00914.90
7.2.190.0090.00514.89
7.2.180.0120.00614.71
7.2.170.0090.00914.85
7.2.160.0130.00314.90
7.2.150.0030.01214.95
7.2.140.0090.00614.99
7.2.130.0110.00814.73
7.2.120.0110.00814.69
7.2.110.0060.01314.89
7.2.100.0130.00614.89
7.2.90.0000.02014.74
7.2.80.0130.00614.88
7.2.70.0040.01114.69
7.2.60.0110.00414.91
7.2.50.0070.00714.66
7.2.40.0090.00615.01
7.2.30.0000.01414.78
7.2.20.0110.00414.82
7.2.10.0140.00014.76
7.2.00.0030.01314.93
7.1.320.0130.00613.63
7.1.310.0120.00613.72
7.1.300.0050.00813.77
7.1.290.0070.01113.64
7.1.280.0000.01413.67
7.1.270.0030.01013.37
7.1.260.0080.00613.55
7.1.250.0040.00913.63

preferences:
150.89 ms | 403 KiB | 5 Q