3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { $data = yield; echo $data; yield "ahoj"; } $d = test(); var_dump($d); $d->send("Lukas"); var_dump($d);

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.01418.30
8.3.50.0110.00922.00
8.3.40.0120.00618.71
8.3.30.0160.00018.93
8.3.20.0000.00820.04
8.3.10.0040.00422.00
8.3.00.0040.00422.44
8.2.180.0070.01316.50
8.2.170.0040.01122.96
8.2.160.0110.00320.96
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0050.00326.16
8.2.120.0050.00319.36
8.2.110.0030.00622.32
8.2.100.0110.00017.84
8.2.90.0090.00019.23
8.2.80.0050.00318.04
8.2.70.0000.00817.49
8.2.60.0030.00618.05
8.2.50.0040.00418.07
8.2.40.0030.00518.16
8.2.30.0070.00317.93
8.2.20.0000.00717.63
8.2.10.0070.00017.72
8.2.00.0050.00317.61
8.1.280.0110.00425.92
8.1.270.0060.00322.19
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0060.00323.91
8.1.230.0070.00319.16
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0070.00417.35
8.1.190.0040.00417.26
8.1.180.0040.00418.10
8.1.170.0110.00018.65
8.1.160.0050.00221.86
8.1.150.0050.00220.23
8.1.140.0000.00717.25
8.1.130.0040.00417.81
8.1.120.0000.00717.41
8.1.110.0040.00417.43
8.1.100.0060.00317.44
8.1.90.0000.00717.30
8.1.80.0000.00717.29
8.1.70.0000.00717.27
8.1.60.0050.00317.56
8.1.50.0040.00417.49
8.1.40.0040.00417.46
8.1.30.0040.00417.63
8.1.20.0000.00817.66
8.1.10.0060.00317.41
8.1.00.0050.00317.45
8.0.300.0040.00418.77
8.0.290.0050.00317.16
8.0.280.0030.00318.37
8.0.270.0000.00817.17
8.0.260.0000.00616.80
8.0.250.0060.00016.98
8.0.240.0040.00417.00
8.0.230.0000.00716.73
8.0.220.0060.00316.71
8.0.210.0070.00016.82
8.0.200.0040.00416.75
8.0.190.0040.00416.77
8.0.180.0070.00016.81
8.0.170.0050.00216.73
8.0.160.0000.00716.82
8.0.150.0070.00016.65
8.0.140.0040.00416.77
8.0.130.0030.00313.23
8.0.120.0050.00316.77
8.0.110.0000.00716.79
8.0.100.0040.00416.83
8.0.90.0030.00516.62
8.0.80.0090.00616.84
8.0.70.0040.00416.69
8.0.60.0040.00416.88
8.0.50.0000.00916.79
8.0.30.0060.01417.15
8.0.20.0070.01517.40
8.0.10.0020.00516.90
8.0.00.0160.00816.71
7.4.330.0050.00015.00
7.4.320.0040.00416.38
7.4.300.0000.00616.53
7.4.290.0020.00516.59
7.4.280.0000.00716.56
7.4.270.0030.00616.64
7.4.260.0000.00716.61
7.4.250.0000.00716.49
7.4.240.0050.00316.54
7.4.230.0050.00316.68
7.4.220.0120.00916.54
7.4.210.0080.00816.53
7.4.200.0070.00016.67
7.4.190.0030.00316.63
7.4.160.0090.01316.21
7.4.150.0040.01517.40
7.4.140.0070.01417.86
7.4.130.0060.01116.56
7.4.120.0150.00616.38
7.4.110.0080.00816.44
7.4.100.0090.00916.47
7.4.90.0180.00616.44
7.4.80.0140.00416.38
7.4.70.0080.00816.57
7.4.60.0110.00616.45
7.4.50.0000.00816.55
7.4.40.0030.01022.77
7.4.30.0130.00316.45
7.4.00.0070.01014.66
7.3.330.0000.00513.16
7.3.320.0000.00513.21
7.3.310.0050.00216.28
7.3.300.0030.00316.12
7.3.290.0040.01016.30
7.3.280.0080.01216.24
7.3.270.0090.00917.40
7.3.260.0100.00716.23
7.3.250.0150.00516.46
7.3.240.0100.00616.41
7.3.230.0140.00416.46
7.3.210.0170.00616.35
7.3.200.0070.01419.39
7.3.190.0030.01716.63
7.3.180.0130.00316.54
7.3.170.0150.00016.30
7.3.160.0090.01516.44
7.3.120.0080.00914.72
7.3.110.0110.00414.88
7.3.100.0000.01414.66
7.3.90.0020.01314.86
7.3.80.0110.00414.43
7.3.70.0030.00714.89
7.3.60.0040.01114.87
7.3.50.0070.00314.92
7.3.40.0090.00614.61
7.3.30.0100.00314.77
7.3.20.0080.00416.45
7.3.10.0080.00716.67
7.3.00.0040.00716.73
7.2.330.0090.00816.69
7.2.320.0110.01116.63
7.2.310.0130.00416.61
7.2.300.0060.01016.77
7.2.290.0060.01616.61
7.2.250.0120.00615.15
7.2.240.0060.01315.12
7.2.230.0060.00915.00
7.2.220.0080.00814.78
7.2.210.0100.00614.83
7.2.200.0110.00414.73
7.2.190.0030.01014.78
7.2.180.0040.01414.84
7.2.170.0040.01115.15
7.2.130.0030.01016.94
7.2.120.0030.01016.63
7.2.110.0060.00616.67
7.2.100.0110.00416.68
7.2.90.0090.00316.80
7.2.80.0070.00716.74
7.2.70.0040.01116.61
7.2.60.0060.00616.63
7.2.50.0100.00316.61
7.2.40.0080.00817.00
7.2.30.0030.01016.87
7.2.20.0040.01116.57
7.2.10.0040.01116.88
7.2.00.0060.00718.13
7.1.330.0040.01115.41
7.1.320.0000.01415.97
7.1.310.0000.01315.59
7.1.300.0030.00615.85
7.1.290.0000.01515.77
7.1.280.0030.00615.67
7.1.270.0070.00716.00
7.1.260.0080.00415.79
7.1.250.0040.01115.79
7.1.100.0090.00617.76
7.1.70.0000.01017.00
7.1.60.0080.01219.82
7.1.50.0060.01616.72
7.1.00.0070.07322.54
7.0.200.0140.00416.63
7.0.140.0070.07021.93
7.0.60.0030.08021.84
7.0.50.0100.07722.20
7.0.40.0130.05320.19
7.0.30.0070.08319.96
7.0.20.0000.07720.07
7.0.10.0130.05320.03
7.0.00.0100.03320.14
5.6.280.0130.06320.91
5.6.210.0000.09020.75
5.6.200.0000.06721.04
5.6.190.0000.07720.99
5.6.180.0170.06021.09
5.6.170.0070.07320.97
5.6.160.0000.04321.16
5.6.150.0030.05321.01
5.6.140.0000.04020.90
5.6.130.0030.03721.00
5.6.120.0000.03720.95
5.6.110.0000.03721.00
5.6.100.0030.03721.14
5.6.90.0000.03721.11
5.6.80.0030.03020.48
5.6.70.0000.03320.41
5.6.60.0030.04020.38
5.6.50.0000.03320.52
5.6.40.0000.03320.38
5.6.30.0000.03320.34
5.6.20.0000.03320.36
5.6.10.0070.03020.50
5.6.00.0070.02720.50
5.5.350.0070.08020.42
5.5.340.0000.06320.66
5.5.330.0100.06720.68
5.5.320.0070.05720.79
5.5.310.0070.07720.77
5.5.300.0070.03020.78
5.5.290.0170.02320.68
5.5.280.0030.04020.96
5.5.270.0000.03320.77
5.5.260.0030.05320.82
5.5.250.0000.04320.68
5.5.240.0000.04020.07
5.5.230.0000.03320.23
5.5.220.0070.02720.05
5.5.210.0000.03720.28
5.5.200.0070.03020.16
5.5.190.0000.03320.13
5.5.180.0000.03720.20
5.5.160.0000.03320.00
5.5.150.0100.03720.15
5.5.140.0030.04020.20
5.5.130.0030.03020.32
5.5.120.0000.04320.20
5.5.110.0030.03020.02
5.5.100.0000.03320.08
5.5.90.0030.03020.05
5.5.80.0000.03020.21
5.5.70.0000.04020.10
5.5.60.0000.04020.00
5.5.50.0000.04320.18
5.5.40.0000.03320.00
5.5.30.0070.02720.19
5.5.20.0070.04020.16
5.5.10.0070.06719.96
5.5.00.0070.07319.99
5.4.450.0000.04019.24
5.4.440.0000.03319.23
5.4.430.0000.04319.39
5.4.420.0070.04019.36
5.4.410.0000.03019.10
5.4.400.0000.03718.93
5.4.390.0000.03319.03
5.4.380.0070.03019.17
5.4.370.0000.03019.21
5.4.360.0070.02719.02
5.4.350.0000.03319.20
5.4.340.0070.03019.22
5.4.320.0000.03319.01
5.4.310.0030.02718.91
5.4.300.0030.02719.07
5.4.290.0030.02719.05
5.4.280.0000.04318.93
5.4.270.0030.03318.90
5.4.260.0030.02718.90
5.4.250.0070.03018.91
5.4.240.0030.02718.92
5.4.230.0000.06719.21
5.4.220.0030.04019.02
5.4.210.0000.03018.89
5.4.200.0000.03019.05
5.4.190.0030.06319.16
5.4.180.0070.06018.90
5.4.170.0030.07719.16
5.4.160.0070.07019.14
5.4.150.0030.06719.14
5.4.140.0000.07716.33
5.4.130.0070.06016.24
5.4.120.0000.06316.32
5.4.110.0100.07316.36
5.4.100.0000.06016.40
5.4.90.0100.07316.25
5.4.80.0000.07316.33
5.4.70.0000.07316.36
5.4.60.0030.07016.35
5.4.50.0030.07016.36
5.4.40.0000.07316.42
5.4.30.0030.07316.39
5.4.20.0070.07016.38
5.4.10.0000.07016.39
5.4.00.0070.07015.89
5.3.290.0030.04014.73
5.3.280.0070.05014.60
5.3.270.0070.06314.56
5.3.260.0030.07714.67
5.3.250.0100.07014.52
5.3.240.0070.07014.62
5.3.230.0000.07714.71
5.3.220.0100.06314.53
5.3.210.0030.08014.61
5.3.200.0130.06014.52
5.3.190.0000.07014.63
5.3.180.0100.07314.61
5.3.170.0000.06714.61
5.3.160.0030.07314.63
5.3.150.0030.07014.61
5.3.140.0000.06714.41
5.3.130.0030.06014.51
5.3.120.0030.08014.52
5.3.110.0070.04714.59
5.3.100.0070.07714.14
5.3.90.0070.07314.06
5.3.80.0100.06714.02
5.3.70.0100.06714.06
5.3.60.0030.07314.00
5.3.50.0070.07014.04
5.3.40.0170.06314.04
5.3.30.0000.06313.95
5.3.20.0070.07013.77
5.3.10.0000.07013.70
5.3.00.0000.04313.74
5.2.170.0070.05011.19
5.2.160.0000.05311.04
5.2.150.0030.06011.15
5.2.140.0000.05311.15
5.2.130.0070.05711.18
5.2.120.0000.05710.95
5.2.110.0030.03311.20
5.2.100.0000.04311.19
5.2.90.0000.04011.14
5.2.80.0030.03310.99
5.2.70.0070.02711.16
5.2.60.0030.06311.11
5.2.50.0070.04011.00
5.2.40.0000.06710.90
5.2.30.0000.05010.82
5.2.20.0030.06010.98
5.2.10.0030.05010.82
5.2.00.0000.05710.75
5.1.60.0030.0439.83
5.1.50.0000.0439.83
5.1.40.0030.05010.03
5.1.30.0000.05710.40
5.1.20.0000.05710.41
5.1.10.0070.05010.05
5.1.00.0000.05010.13
5.0.50.0000.0439.02
5.0.40.0030.0439.02
5.0.30.0000.0639.02
5.0.20.0030.0409.02
5.0.10.0000.0439.02
5.0.00.0070.0639.02
4.4.90.0000.0309.02
4.4.80.0030.0279.02
4.4.70.0000.0379.02
4.4.60.0000.0279.02
4.4.50.0000.0379.02
4.4.40.0000.0539.02
4.4.30.0000.0309.02
4.4.20.0030.0339.02
4.4.10.0030.0379.02
4.4.00.0030.0509.02
4.3.110.0000.0409.02
4.3.100.0000.0339.02
4.3.90.0000.0379.02
4.3.80.0000.0479.02
4.3.70.0000.0379.02
4.3.60.0000.0379.02
4.3.50.0070.0309.02
4.3.40.0000.0539.02
4.3.30.0070.0239.02
4.3.20.0000.0409.02
4.3.10.0000.0309.02
4.3.00.0000.0379.02

preferences:
41.12 ms | 401 KiB | 5 Q