3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { private $booleanWert; public function setBooleanWert(bool $booleanWert) { $this->booleanWert = $booleanWert; } public function getBooleanWert() { return $this->booleanWert; } } $t = new Test(); $t->setBooleanWert(True); echo($t->getBooleanWert());

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.0070.01016.50
8.3.50.0150.00016.19
8.3.40.0070.01018.71
8.3.30.0110.00418.59
8.3.20.0060.00320.30
8.3.10.0040.00423.66
8.3.00.0050.00322.42
8.2.180.0140.00716.63
8.2.170.0070.00722.96
8.2.160.0040.01119.46
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00522.10
8.2.120.0030.00626.35
8.2.110.0060.00322.13
8.2.100.0090.00317.84
8.2.90.0000.00817.75
8.2.80.0030.00617.97
8.2.70.0040.00418.05
8.2.60.0000.00818.03
8.2.50.0040.00418.10
8.2.40.0050.00220.42
8.2.30.0030.00619.30
8.2.20.0000.00717.56
8.2.10.0000.00817.88
8.2.00.0000.00717.61
8.1.280.0140.00725.92
8.1.270.0040.00423.96
8.1.260.0030.00528.09
8.1.250.0040.00728.09
8.1.240.0060.00323.92
8.1.230.0040.00719.04
8.1.220.0000.00717.79
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0030.00518.58
8.1.160.0040.00422.21
8.1.150.0000.00718.88
8.1.140.0040.00419.54
8.1.130.0030.00317.59
8.1.120.0000.00917.32
8.1.110.0070.00017.39
8.1.100.0060.00317.41
8.1.90.0030.00717.31
8.1.80.0070.00017.41
8.1.70.0040.00817.30
8.1.60.0040.00417.48
8.1.50.0080.00417.60
8.1.40.0040.00417.49
8.1.30.0050.00317.60
8.1.20.0050.00217.68
8.1.10.0020.00517.50
8.1.00.0000.00717.37
8.0.300.0080.00019.63
8.0.290.0060.00316.63
8.0.280.0070.00018.34
8.0.270.0060.00317.27
8.0.260.0030.00317.38
8.0.250.0030.00316.89
8.0.240.0040.00416.94
8.0.230.0040.00416.87
8.0.220.0040.00416.88
8.0.210.0000.00716.86
8.0.200.0030.00316.87
8.0.190.0000.00816.87
8.0.180.0050.00216.75
8.0.170.0040.00416.79
8.0.160.0070.00016.84
8.0.150.0000.00716.80
8.0.140.0050.00216.68
8.0.130.0000.00513.30
8.0.120.0060.00316.87
8.0.110.0040.00416.77
8.0.100.0040.00416.79
8.0.90.0000.00716.75
8.0.80.0160.00016.87
8.0.70.0040.00416.83
8.0.60.0070.00016.76
8.0.50.0000.00816.80
8.0.30.0120.00717.13
8.0.20.0110.00817.40
8.0.10.0000.00717.02
8.0.00.0170.00616.65
7.4.330.0030.00315.08
7.4.320.0030.00316.43
7.4.300.0000.00616.61
7.4.290.0030.00316.41
7.4.280.0050.00316.58
7.4.270.0040.00416.50
7.4.260.0030.00616.48
7.4.250.0020.00516.39
7.4.240.0060.00316.34
7.4.230.0070.00016.35
7.4.220.0160.01016.62
7.4.210.0110.00716.65
7.4.200.0000.00816.42
7.4.160.0060.01016.55
7.4.150.0090.01217.40
7.4.140.0110.00617.86
7.4.130.0050.01316.52
7.4.120.0090.01216.38
7.4.110.0120.00416.44
7.4.100.0070.01016.40
7.4.90.0100.00716.48
7.4.80.0130.00619.39
7.4.70.0090.00816.57
7.4.60.0120.01116.41
7.4.50.0070.00716.38
7.4.40.0100.00716.36
7.4.30.0060.01016.37
7.4.00.0040.01214.85
7.3.330.0060.00013.16
7.3.320.0000.00613.21
7.3.310.0030.00316.28
7.3.300.0050.00216.19
7.3.290.0090.00816.24
7.3.280.0090.00916.20
7.3.270.0140.00417.40
7.3.260.0080.01016.41
7.3.250.0090.00816.45
7.3.240.0080.01216.38
7.3.230.0110.00616.41
7.3.210.0090.00916.37
7.3.200.0000.01616.38
7.3.190.0150.00616.24
7.3.180.0070.01016.32
7.3.170.0090.00916.44
7.3.160.0140.00416.31
7.3.120.0110.00714.85
7.3.110.0040.01414.33
7.3.100.0080.00814.39
7.3.90.0030.01014.60
7.3.80.0070.01014.57
7.3.70.0120.00014.73
7.3.60.0070.00714.67
7.3.50.0030.01014.65
7.3.40.0000.01014.44
7.3.30.0000.01414.49
7.3.20.0110.00416.47
7.3.10.0050.00816.49
7.3.00.0060.00716.58
7.2.330.0060.01316.39
7.2.320.0060.01016.66
7.2.310.0070.01016.55
7.2.300.0060.01216.75
7.2.290.0130.00316.46
7.2.250.0150.00614.98
7.2.240.0030.01714.72
7.2.230.0000.01814.83
7.2.220.0030.00914.73
7.2.210.0120.00314.93
7.2.200.0070.00715.06
7.2.190.0030.01015.06
7.2.180.0060.00915.03
7.2.170.0070.00715.00
7.2.130.0130.00316.95
7.2.120.0070.01016.99
7.2.110.0120.00316.92
7.2.100.0040.01116.73
7.2.90.0030.01417.16
7.2.80.0040.01417.01
7.2.70.0060.00616.94
7.2.60.0070.01116.96
7.2.50.0080.00616.71
7.2.40.0000.01316.70
7.2.30.0090.00317.07
7.2.20.0080.00416.90
7.2.10.0030.01016.79
7.2.00.0030.01017.89
7.1.330.0090.00615.33
7.1.320.0040.00415.60
7.1.310.0090.00615.42
7.1.300.0060.00915.53
7.1.290.0040.00715.59
7.1.280.0040.00415.50
7.1.270.0030.00815.52
7.1.260.0040.01115.71
7.1.250.0060.01015.70
7.1.200.0080.00815.16
7.1.100.0030.01017.89
7.1.70.0000.01217.07
7.1.60.0000.01317.28
7.1.50.0100.01016.90
7.1.00.0000.08022.45
7.0.200.1080.00714.52
7.0.110.0000.06719.99
7.0.100.0170.06719.99
7.0.90.0070.06020.09
7.0.81.0400.06719.98
7.0.70.0070.05719.98
7.0.60.0100.05319.66
7.0.50.0130.05320.46
7.0.40.0700.06020.25
7.0.30.0500.05720.29
7.0.20.0270.05720.16
7.0.10.0270.05720.26
7.0.00.0230.06320.27
5.6.260.0030.06320.66
5.6.250.0130.05020.66
5.6.240.0070.06720.71
5.6.230.0100.06720.71
5.6.220.0130.05320.84
5.6.210.0000.06320.65
5.6.200.0070.06021.19
5.6.190.0070.06321.02
5.6.180.0170.05020.96
5.6.170.0170.06021.19
5.6.160.0130.05021.09
5.6.150.0200.07021.09
5.6.140.0070.06321.22
5.6.130.0130.07321.09
5.6.120.0070.07720.95
5.6.110.0070.06020.94
5.6.100.0070.06021.14
5.6.90.0170.06321.04
5.6.80.0030.06320.42
5.6.70.0030.06020.46
5.6.60.0170.04720.32
5.6.50.0070.07020.47
5.6.40.0130.06720.52
5.6.30.0070.06320.33
5.6.20.0130.05720.51
5.6.10.0170.05320.54
5.6.00.0200.04720.57

preferences:
58.08 ms | 401 KiB | 5 Q