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.4.20.0080.00920.58
8.4.10.0190.00717.94
8.3.150.0030.01617.21
8.3.140.0320.00816.49
8.3.130.0310.00816.58
8.3.120.0260.00916.84
8.3.110.0260.00617.52
8.3.100.0290.00826.95
8.3.90.0320.00723.85
8.3.80.0320.00623.69
8.3.70.0320.00722.73
8.3.60.0280.00723.25
8.3.50.0230.00823.02
8.3.40.0240.00722.78
8.3.30.0210.00722.79
8.3.20.0210.00723.40
8.3.10.0200.00723.26
8.3.00.0180.00723.01
8.2.260.0230.00816.77
8.2.250.0210.00516.56
8.2.240.0230.00616.75
8.2.230.0240.00617.01
8.2.220.0200.00623.95
8.2.210.0220.00723.79
8.2.200.0210.00623.74
8.2.190.0220.00722.74
8.2.180.0240.00623.28
8.2.170.0260.00722.82
8.2.160.0240.00722.98
8.2.150.0220.00722.94
8.2.140.0220.00623.04
8.2.130.0190.00823.26
8.2.120.0200.00622.95
8.2.110.0180.00722.70
8.2.100.0190.00722.47
8.2.90.0210.00722.38
8.2.80.0200.00722.39
8.2.70.0190.00729.65
8.2.60.0190.00726.15
8.2.50.0190.00625.20
8.2.40.0170.00624.74
8.2.30.0160.00624.28
8.2.20.0160.00624.24
8.2.10.0160.00623.87
8.2.00.0160.00623.55
8.1.310.0230.00616.48
8.1.300.0250.00916.19
8.1.290.0270.00623.91
8.1.280.0260.00622.95
8.1.270.0200.00723.38
8.1.260.0200.00623.64
8.1.250.0200.00723.59
8.1.240.0180.00722.50
8.1.230.0170.00622.50
8.1.220.0170.00722.34
8.1.210.0170.00722.27
8.1.200.0170.00627.11
8.1.190.0160.00626.10
8.1.180.0160.00625.12
8.1.170.0160.00525.66
8.1.160.0160.00524.24
8.1.150.0150.00624.15
8.1.140.0150.00623.93
8.1.130.0150.00623.38
8.1.120.0140.00622.71
8.1.110.0140.00522.40
8.1.100.0130.00521.75
8.1.90.0130.00621.71
8.1.80.0120.00621.14
8.1.70.0130.00520.97
8.1.60.0140.00620.89
8.1.50.0140.00620.65
8.1.40.0140.00520.30
8.1.30.0140.00520.16
8.1.20.0140.00520.12
8.1.10.0130.00519.87
8.1.00.0140.00519.85
8.0.300.0170.00621.95
8.0.290.0200.00627.02
8.0.280.0180.00523.90
8.0.270.0150.00623.71
8.0.260.0170.00523.00
8.0.250.0140.00522.41
8.0.240.0140.00522.03
8.0.230.0140.00521.52
8.0.220.0140.00521.30
8.0.210.0130.00520.91
8.0.200.0130.00520.60
8.0.190.0130.00520.41
8.0.180.0130.00520.26
8.0.170.0130.00519.87
8.0.160.0130.00519.69
8.0.150.0140.00519.51
8.0.140.0140.00519.34
8.0.130.0130.00519.27
8.0.120.0130.00518.86
8.0.110.0120.00518.92
8.0.100.0120.00518.73
8.0.90.0120.00518.58
8.0.80.0110.00518.67
8.0.70.0110.00518.68
8.0.60.0110.00518.65
8.0.50.0110.00518.65
8.0.30.0100.00518.69
8.0.20.0110.00518.73
8.0.10.0110.00518.75
8.0.00.0090.00518.88
7.4.330.0140.00421.59
7.4.320.0160.00521.77
7.4.300.0140.00520.25
7.4.290.0140.00519.96
7.4.280.0140.00519.37
7.4.270.0140.00519.08
7.4.260.0140.00519.33
7.4.250.0140.00518.77
7.4.240.0130.00518.65
7.4.230.0130.00518.46
7.4.220.0110.00518.34
7.4.210.0110.00518.38
7.4.200.0110.00418.40
7.4.190.0110.00518.44
7.4.180.0110.00518.46
7.4.160.0110.00518.44
7.4.150.0110.00518.39
7.4.140.0110.00518.35
7.4.130.0120.00518.30
7.4.120.0120.00518.30
7.4.110.0110.00418.29
7.4.100.0120.00518.39
7.4.90.0110.00418.34
7.4.80.0110.00518.29
7.4.70.0110.00518.29
7.4.60.0110.00518.29
7.4.50.0110.00418.23
7.4.40.0110.00418.23
7.4.30.0110.00418.29
7.4.20.0110.00418.28
7.4.10.0110.00518.28
7.4.00.0110.00518.28
7.3.330.0140.00518.79
7.3.320.0150.00418.59
7.3.310.0130.00518.42
7.3.300.0130.00418.27
7.3.290.0120.00518.13
7.3.280.0130.00418.18
7.3.270.0130.00418.17
7.3.260.0130.00418.17
7.3.250.0130.00518.17
7.3.240.0130.00518.17
7.3.230.0130.00518.17
7.3.220.0130.00518.13
7.3.210.0130.00518.11
7.3.200.0130.00418.12
7.3.190.0130.00418.10
7.3.180.0130.00518.12
7.3.170.0130.00418.14
7.3.160.0130.00518.11
7.3.150.0130.00518.12
7.3.140.0130.00518.13
7.3.130.0130.00418.12
7.3.120.0120.00418.12
7.3.110.0120.00518.09
7.3.100.0130.00418.08
7.3.90.0120.00418.33
7.3.80.0130.00418.13
7.3.70.0120.00418.18
7.3.60.0120.00518.21
7.3.50.0130.00418.22
7.3.40.0120.00418.21
7.3.30.0120.00518.21
7.3.20.0130.00419.33
7.3.10.0130.00419.28
7.3.00.0140.00419.26

preferences:
32.46 ms | 403 KiB | 5 Q