3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Pont { private float $longueur; private float $largeur; public function __construct(float $longueur, float $largeur) { $this->longueur = $longueur; $this->largeur = $largeur; } } $towerBridge = new Pont(286.0, 62.0);

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.10.0130.00619.41
8.3.140.0090.00917.05
8.3.130.0160.00917.06
8.3.120.0170.00817.69
8.3.110.0200.00819.74
8.3.100.0320.00626.98
8.3.90.0250.00824.40
8.3.80.0310.00422.45
8.3.70.0280.00821.64
8.3.60.0290.00923.42
8.3.50.0210.00723.38
8.3.40.0240.00822.34
8.3.30.0250.00723.78
8.3.20.0240.00424.59
8.3.10.0240.00724.81
8.3.00.0170.00725.82
8.2.250.0090.00916.63
8.2.240.0130.00316.66
8.2.230.0200.00318.37
8.2.220.0170.00723.58
8.2.210.0180.00424.30
8.2.200.0160.00622.28
8.2.190.0160.00922.18
8.2.180.0250.00824.97
8.2.170.0320.00223.92
8.2.160.0300.00724.58
8.2.150.0270.00824.96
8.2.140.0270.01024.82
8.2.130.0280.00625.03
8.2.120.0360.00323.97
8.2.110.0220.00723.01
8.2.100.0210.00922.10
8.2.90.0250.00622.14
8.2.80.0290.00723.81
8.2.70.0160.00651.02
8.2.60.0200.00729.84
8.2.50.0220.00628.71
8.2.40.0140.00623.61
8.2.30.0180.00526.67
8.2.20.0190.00526.67
8.2.10.0200.00426.93
8.2.00.0170.00626.18
8.1.300.0250.00516.77
8.1.290.0210.00625.16
8.1.280.0260.01024.58
8.1.270.0270.00824.61
8.1.260.0230.00924.98
8.1.250.0300.00825.25
8.1.240.0230.00722.63
8.1.230.0250.00724.32
8.1.220.0240.00623.53
8.1.210.0230.00723.71
8.1.200.0200.00629.68
8.1.190.0190.00629.62
8.1.180.0200.00728.59
8.1.170.0190.00626.63
8.1.160.0170.00526.71
8.1.150.0140.00826.66
8.1.140.0160.00626.64
8.1.130.0120.00623.86
8.1.120.0160.00525.84
8.1.110.0150.00625.82
8.1.100.0140.00624.57
8.1.90.0140.00523.66
8.1.80.0130.00523.29
8.1.70.0120.00622.98
8.1.60.0150.00622.84
8.1.50.0150.00521.47
8.1.40.0160.00722.25
8.1.30.0140.00620.87
8.1.20.0150.00521.38
8.1.10.0180.00521.45
8.1.00.0170.00521.39
8.0.300.0230.00724.00
8.0.290.0240.00529.36
8.0.280.0210.00426.47
8.0.270.0180.00526.45
8.0.260.0130.00624.60
8.0.250.0160.00625.60
8.0.240.0180.00425.64
8.0.230.0150.00725.63
8.0.220.0150.00624.33
8.0.210.0160.00523.84
8.0.200.0150.00623.39
8.0.190.0150.00623.00
8.0.180.0150.00621.83
8.0.170.0160.00521.83
8.0.160.0150.00521.17
8.0.150.0140.00521.15
8.0.140.0130.00520.97
8.0.130.0150.00520.54
8.0.120.0150.00520.99
8.0.110.0140.00520.84
8.0.100.0130.00520.68
8.0.90.0150.00420.69
8.0.80.0130.00720.53
8.0.70.0130.00520.67
8.0.60.0130.00520.64
8.0.50.0140.00520.66
8.0.30.0140.00620.54
8.0.20.0130.00620.73
8.0.10.0130.00620.76
8.0.00.0120.00520.80
7.4.330.0140.00424.42
7.4.320.0150.00524.25
7.4.300.0130.00421.65
7.4.290.0140.00321.63
7.4.280.0160.00421.21
7.4.270.0140.00520.86
7.4.260.0140.00420.34
7.4.250.0140.00520.82
7.4.240.0140.00420.67
7.4.230.0130.00520.49
7.4.220.0120.00520.51
7.4.210.0120.00620.25
7.4.200.0130.00420.50
7.4.190.0130.00520.69
7.4.180.0130.00520.70
7.4.160.0130.00520.52
7.4.150.0130.00620.49
7.4.140.0130.00520.47
7.4.130.0130.00420.40
7.4.120.0140.00420.41
7.4.110.0140.00420.42
7.4.100.0140.00520.48
7.4.90.0140.00520.44
7.4.80.0120.00620.40
7.4.70.0140.00420.41
7.4.60.0120.00520.40
7.4.50.0130.00420.36
7.4.40.0130.00520.35
7.4.30.0130.00520.41
7.4.20.0110.00520.42
7.4.10.0130.00420.44
7.4.00.0110.00520.43
7.3.330.0150.00420.60
7.3.320.0140.00520.49
7.3.310.0140.00520.42
7.3.300.0130.00520.24
7.3.290.0140.00519.97
7.3.280.0150.00520.41
7.3.270.0130.00520.28
7.3.260.0140.00420.27
7.3.250.0130.00520.27
7.3.240.0140.00520.24
7.3.230.0140.00420.25
7.3.220.0130.00520.17
7.3.210.0130.00520.21
7.3.200.0130.00520.24
7.3.190.0150.00420.22
7.3.180.0130.00520.22
7.3.170.0130.00520.21
7.3.160.0150.00420.25
7.3.150.0140.00620.22
7.3.140.0140.00520.25
7.3.130.0150.00520.23
7.3.120.0150.00520.20
7.3.110.0140.00620.17
7.3.100.0130.00520.15
7.3.90.0160.00320.39
7.3.80.0150.00520.22
7.3.70.0140.00520.25
7.3.60.0140.00520.29
7.3.50.0140.00520.31
7.3.40.0130.00520.33
7.3.30.0130.00520.32
7.3.20.0140.00521.04
7.3.10.0150.00421.03
7.3.00.0160.00521.00

preferences:
27.34 ms | 403 KiB | 5 Q