3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (isset($_POST["pruefung"])) {$text = $text . "Prüfung: ja"} else {$text = $text . "Prüfung: nein"}

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)
7.0.60.0330.04320.02
7.0.50.0170.06220.30
7.0.40.0270.04820.29
7.0.30.0170.05820.38
7.0.20.0130.06220.39
7.0.10.0230.05820.43
7.0.00.0220.05720.29
5.6.210.0130.07220.62
5.6.200.0270.05521.12
5.6.190.0300.04721.10
5.6.180.0120.06520.99
5.6.170.0180.05721.17
5.6.160.0170.05821.07
5.6.150.0200.05821.18
5.6.140.0180.05521.08
5.6.130.0220.05321.11
5.6.120.0170.05321.01
5.6.110.0200.05721.05
5.6.100.0270.05821.10
5.6.90.0320.05821.10
5.6.80.0220.05820.49
5.6.70.0230.04820.45
5.6.60.0170.05220.40
5.6.50.0180.05020.44
5.6.40.0220.05020.41
5.6.30.0230.04720.46
5.6.20.0120.06020.48
5.6.10.0170.05320.50
5.6.00.0180.05220.47
5.5.350.0200.05320.44
5.5.340.0170.05720.96
5.5.330.0250.05020.90
5.5.320.0130.05820.76
5.5.310.0230.05020.84
5.5.300.0150.05720.78
5.5.290.0200.05220.93
5.5.280.0180.05820.92
5.5.270.0250.06020.84
5.5.260.0170.05520.88
5.5.250.0370.04820.70
5.5.240.0220.05020.18
5.5.230.0180.05520.25
5.5.220.0180.05020.26
5.5.210.0220.04720.32
5.5.200.0070.06020.26
5.5.190.0220.05220.27
5.5.180.0180.05520.26
5.5.160.0200.05020.31
5.5.150.0180.05020.30
5.5.140.0120.05820.26
5.5.130.0120.05720.17
5.5.120.0120.05520.28
5.5.110.0120.05720.18
5.5.100.0120.05820.07
5.5.90.0200.04720.11
5.5.80.0180.04820.12
5.5.70.0200.05320.08
5.5.60.0150.05520.12
5.5.50.0180.05020.15
5.5.40.0150.05220.21
5.5.30.0200.04820.11
5.5.20.0230.04820.09
5.5.10.0170.05320.12
5.5.00.0120.05720.07
5.4.450.0130.05719.24
5.4.440.0230.07319.66
5.4.430.0300.05719.30
5.4.420.0170.04719.30
5.4.410.0400.05319.16
5.4.400.0100.06019.26
5.4.390.0200.04719.24
5.4.380.0170.05019.11
5.4.370.0100.05718.96
5.4.360.0170.05019.11
5.4.350.0130.05318.91
5.4.340.0330.03719.16
5.4.320.0200.04719.18
5.4.310.0130.05318.91
5.4.300.0100.05319.28
5.4.290.0070.05718.96
5.4.280.0030.06019.01
5.4.270.0130.05318.91
5.4.260.0230.04019.00
5.4.250.0200.04718.96
5.4.240.0100.05319.22
5.4.230.0170.04719.17
5.4.220.0130.05719.27
5.4.210.0130.05319.13
5.4.200.0130.05019.16
5.4.190.0300.03718.90
5.4.180.0170.05319.12
5.4.170.0200.04719.13
5.4.160.0130.05319.23
5.4.150.0200.05019.17
5.4.140.0170.04716.50
5.4.130.0170.04316.23
5.4.120.0100.04716.45
5.4.110.0170.05016.54
5.4.100.0300.03316.57
5.4.90.0200.04316.54
5.4.80.0230.03716.47
5.4.70.0170.04716.39
5.4.60.0170.04716.50
5.4.50.0130.05016.55
5.4.40.0130.05016.59
5.4.30.0030.06016.40
5.4.20.0130.05316.50
5.4.10.0170.04716.28
5.4.00.0170.04715.90
5.3.290.0070.06014.61
5.3.280.0170.05014.38
5.3.270.0230.04714.55
5.3.260.0200.04714.47
5.3.250.0230.04314.54
5.3.240.0170.05014.47
5.3.230.0130.05314.45
5.3.220.0100.05314.51
5.3.210.0030.06314.49
5.3.200.0230.04014.42
5.3.190.0200.04714.52
5.3.180.0230.04014.46
5.3.170.0130.05314.43
5.3.160.0130.05014.50
5.3.150.0100.05314.49
5.3.140.0070.05714.47
5.3.130.0100.05714.39
5.3.120.0100.05714.46
5.3.110.0100.05714.46
5.3.100.0130.05013.98
5.3.90.0130.05013.96
5.3.80.0130.05013.78
5.3.70.0170.04713.91
5.3.60.0130.05013.97
5.3.50.0230.04013.89
5.3.40.0170.05013.88
5.3.30.0200.04313.71
5.3.20.0300.03313.46
5.3.10.0230.03713.51
5.3.00.0170.04713.55
5.2.170.0070.04310.92
5.2.160.0100.04011.05
5.2.150.0070.04711.15
5.2.140.0100.04310.96
5.2.130.0100.04311.04
5.2.120.0170.03311.11
5.2.110.0200.03011.12
5.2.100.0030.04710.98
5.2.90.0100.04011.04
5.2.80.0130.05711.02
5.2.70.0170.03310.97
5.2.60.0070.04311.05
5.2.50.0130.04010.86
5.2.40.0070.04310.82
5.2.30.0030.04711.00
5.2.20.0130.03710.74
5.2.10.0030.04310.86
5.2.00.0130.03710.70
5.1.60.0070.0339.96
5.1.50.0070.0379.98
5.1.40.0130.03010.00
5.1.30.0070.04010.37
5.1.20.0130.03310.37
5.1.10.0100.03710.05
5.1.00.0070.03710.04
5.0.50.0130.0208.43
5.0.40.0070.0308.38
5.0.30.0070.0438.21
5.0.20.0170.0178.16
5.0.10.0030.0308.12
5.0.00.0070.0408.05
4.4.90.0100.0176.35
4.4.80.0030.0236.35
4.4.70.0030.0236.35
4.4.60.0070.0206.35
4.4.50.0100.0176.35
4.4.40.0100.0306.35
4.4.30.0030.0236.35
4.4.20.0000.0276.35
4.4.10.0030.0236.35
4.4.00.0070.0336.35
4.3.110.0100.0276.35
4.3.100.0030.0236.35
4.3.90.0070.0206.35
4.3.80.0070.0306.35
4.3.70.0100.0176.35
4.3.60.0100.0176.35
4.3.50.0030.0236.35
4.3.40.0070.0306.35
4.3.30.0030.0236.35
4.3.20.0030.0206.35
4.3.10.0030.0306.35
4.3.00.0000.0236.35

preferences:
137.55 ms | 1440 KiB | 7 Q