3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); class Pont { public float $longueur = 0; } $pont = new Pont; $pont->longueur = 263.0; var_dump($pont);

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.130.0270.01016.90
8.3.120.0230.01017.15
8.3.110.0240.00517.97
8.3.100.0290.00829.17
8.3.90.0310.00725.85
8.3.80.0320.00725.51
8.3.70.0320.00724.04
8.3.60.0280.00724.39
8.3.50.0220.00824.19
8.3.40.0240.00723.59
8.3.30.0210.00723.46
8.3.20.0200.00724.05
8.3.10.0200.00823.82
8.3.00.0190.00723.49
8.2.250.0150.00516.66
8.2.240.0200.00616.99
8.2.230.0210.00617.41
8.2.220.0180.00626.23
8.2.210.0210.00625.77
8.2.200.0200.00725.65
8.2.190.0210.00724.05
8.2.180.0230.00624.40
8.2.170.0250.00723.63
8.2.160.0230.00723.76
8.2.150.0210.00723.55
8.2.140.0200.00623.62
8.2.130.0180.00723.81
8.2.120.0190.00623.46
8.2.110.0180.00723.11
8.2.100.0190.00722.89
8.2.90.0200.00722.78
8.2.80.0190.00722.80
8.2.70.0180.00630.44
8.2.60.0180.00726.76
8.2.50.0180.00625.67
8.2.40.0160.00625.15
8.2.30.0150.00624.64
8.2.20.0150.00624.60
8.2.10.0160.00624.20
8.2.00.0150.00623.85
8.1.300.0220.00916.36
8.1.290.0270.00725.95
8.1.280.0260.00624.15
8.1.270.0190.00724.00
8.1.260.0200.00624.21
8.1.250.0190.00724.19
8.1.240.0180.00722.95
8.1.230.0170.00622.96
8.1.220.0170.00722.75
8.1.210.0170.00722.67
8.1.200.0170.00627.80
8.1.190.0160.00626.71
8.1.180.0150.00625.61
8.1.170.0160.00526.13
8.1.160.0150.00524.61
8.1.150.0150.00624.50
8.1.140.0140.00624.26
8.1.130.0140.00623.67
8.1.120.0130.00622.92
8.1.110.0140.00522.60
8.1.100.0130.00521.89
8.1.90.0130.00621.86
8.1.80.0110.00621.25
8.1.70.0120.00521.08
8.1.60.0130.00620.98
8.1.50.0130.00620.74
8.1.40.0140.00520.36
8.1.30.0130.00520.22
8.1.20.0140.00520.18
8.1.10.0130.00519.92
8.1.00.0140.00519.90
8.0.300.0160.00622.41
8.0.290.0200.00627.76
8.0.280.0180.00524.30
8.0.270.0150.00624.06
8.0.260.0160.00523.30
8.0.250.0140.00522.64
8.0.240.0140.00522.24
8.0.230.0140.00521.69
8.0.220.0140.00521.47
8.0.210.0130.00521.04
8.0.200.0120.00520.71
8.0.190.0130.00520.51
8.0.180.0120.00520.35
8.0.170.0130.00519.95
8.0.160.0130.00519.76
8.0.150.0130.00519.57
8.0.140.0130.00519.40
8.0.130.0130.00519.32
8.0.120.0130.00518.90
8.0.110.0110.00518.96
8.0.100.0110.00518.77
8.0.90.0120.00518.61
8.0.80.0110.00518.70
8.0.70.0110.00518.71
8.0.60.0110.00518.69
8.0.50.0110.00518.68
8.0.30.0100.00518.72
8.0.20.0110.00518.76
8.0.10.0110.00518.78
8.0.00.0090.00518.91
7.4.330.0140.00421.80
7.4.320.0160.00521.97
7.4.300.0140.00520.36
7.4.290.0140.00520.05
7.4.280.0140.00519.44
7.4.270.0130.00519.13
7.4.260.0140.00519.39
7.4.250.0140.00518.81
7.4.240.0130.00518.69
7.4.230.0130.00518.50
7.4.220.0110.00518.38
7.4.210.0110.00518.42
7.4.200.0110.00418.43
7.4.190.0110.00518.47
7.4.180.0110.00518.49
7.4.160.0110.00518.47
7.4.150.0110.00418.42
7.4.140.0110.00518.38
7.4.130.0120.00518.34
7.4.120.0110.00518.33
7.4.110.0110.00418.33
7.4.100.0110.00518.42
7.4.90.0110.00418.37
7.4.80.0110.00518.33
7.4.70.0110.00518.33
7.4.60.0110.00518.33
7.4.50.0110.00418.26
7.4.40.0110.00418.26
7.4.30.0110.00418.33
7.4.20.0110.00418.32
7.4.10.0110.00518.32
7.4.00.0100.00518.32
7.3.330.0140.00518.85
7.3.320.0150.00418.64
7.3.310.0130.00518.46
7.3.300.0130.00418.31
7.3.290.0120.00518.17
7.3.280.0130.00418.22
7.3.270.0130.00418.21
7.3.260.0130.00418.21
7.3.250.0130.00518.21
7.3.240.0130.00518.21
7.3.230.0130.00518.21
7.3.220.0120.00518.17
7.3.210.0130.00518.15
7.3.200.0130.00418.16
7.3.190.0130.00418.13
7.3.180.0130.00518.16
7.3.170.0130.00418.18
7.3.160.0120.00518.15
7.3.150.0120.00518.16
7.3.140.0130.00518.17
7.3.130.0130.00418.16
7.3.120.0120.00418.16
7.3.110.0120.00518.13
7.3.100.0120.00418.12
7.3.90.0120.00418.37
7.3.80.0130.00418.16
7.3.70.0120.00418.22
7.3.60.0120.00518.25
7.3.50.0130.00418.26
7.3.40.0120.00418.25
7.3.30.0120.00518.25
7.3.20.0130.00419.37
7.3.10.0130.00419.32
7.3.00.0140.00419.29

preferences:
59.48 ms | 403 KiB | 5 Q