3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $foo = function () { $bar = (yield "foo"); var_dump($bar); }; $g = $foo(); var_dump($g->current()); $g->send("bar");

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.0170.00018.36
8.3.50.0140.00621.14
8.3.40.0070.00718.67
8.3.30.0070.00720.01
8.3.20.0040.00420.48
8.3.10.0060.00320.96
8.3.00.0030.00623.48
8.2.180.0130.00616.50
8.2.170.0070.00722.96
8.2.160.0100.00320.53
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00419.95
8.2.110.0070.00319.22
8.2.100.0040.00817.78
8.2.90.0040.00419.30
8.2.80.0060.00317.97
8.2.70.0050.00517.50
8.2.60.0080.00018.05
8.2.50.0080.00018.07
8.2.40.0040.00419.77
8.2.30.0040.00419.30
8.2.20.0000.00717.64
8.2.10.0020.00517.66
8.2.00.0040.00417.68
8.1.280.0140.00425.92
8.1.270.0050.00323.99
8.1.260.0070.00026.35
8.1.250.0020.00528.09
8.1.240.0060.00323.96
8.1.230.0040.00720.97
8.1.220.0030.00618.77
8.1.210.0090.00018.82
8.1.200.0040.00417.38
8.1.190.0040.00417.63
8.1.180.0040.00418.10
8.1.170.0000.00818.46
8.1.160.0050.00218.93
8.1.150.0080.00018.59
8.1.140.0000.00717.36
8.1.130.0060.00317.78
8.1.120.0000.00817.44
8.1.110.0070.00017.36
8.1.100.0040.00417.45
8.1.90.0040.00417.48
8.1.80.0030.00517.44
8.1.70.0030.00317.43
8.1.60.0000.01117.62
8.1.50.0050.00317.52
8.1.40.0070.00317.40
8.1.30.0060.00317.58
8.1.20.0000.00817.57
8.1.10.0000.00717.62
8.1.00.0040.00417.56
8.0.300.0000.00819.89
8.0.290.0000.00817.16
8.0.280.0040.00418.43
8.0.270.0050.00217.13
8.0.260.0030.00316.71
8.0.250.0070.00016.98
8.0.240.0050.00516.85
8.0.230.0030.00316.96
8.0.220.0000.00716.75
8.0.210.0060.00016.91
8.0.200.0030.00316.82
8.0.190.0040.00417.00
8.0.180.0050.00216.83
8.0.170.0040.00416.79
8.0.160.0030.00316.77
8.0.150.0000.00716.79
8.0.140.0040.00416.73
8.0.130.0050.00013.39
8.0.120.0030.00616.87
8.0.110.0030.00516.84
8.0.100.0000.00716.91
8.0.90.0000.00716.76
8.0.80.0030.01316.79
8.0.70.0040.00316.77
8.0.60.0000.00816.94
8.0.50.0040.00416.76
8.0.30.0120.00817.07
8.0.20.0130.00417.40
8.0.10.0000.00716.91
8.0.00.0140.00516.66
7.4.330.0000.00516.63
7.4.320.0030.00316.59
7.4.300.0000.00616.41
7.4.290.0070.00016.48
7.4.280.0030.00316.58
7.4.270.0000.00816.44
7.4.260.0030.00313.21
7.4.250.0000.00916.35
7.4.240.0040.00416.38
7.4.230.0000.00716.59
7.4.220.0090.00916.47
7.4.210.0100.00616.63
7.4.200.0030.00316.41
7.4.190.0030.00316.66
7.4.160.0160.00316.42
7.4.150.0060.01317.40
7.4.140.0100.01017.86
7.4.130.0110.00616.59
7.4.120.0090.00816.45
7.4.110.0130.00416.41
7.4.100.0190.00016.47
7.4.90.0100.01016.47
7.4.80.0120.00619.39
7.4.70.0030.01716.45
7.4.60.0120.00616.31
7.4.50.0000.00916.50
7.4.40.0030.01322.77
7.4.30.0120.00616.69
7.4.00.0090.00814.94
7.3.330.0030.00313.06
7.3.320.0000.00613.00
7.3.310.0000.00816.27
7.3.300.0060.00016.24
7.3.290.0060.01216.25
7.3.280.0090.01016.24
7.3.270.0030.01317.40
7.3.260.0050.01318.24
7.3.250.0080.00816.42
7.3.240.0170.00016.64
7.3.230.0170.00016.59
7.3.210.0110.00616.20
7.3.200.0150.00319.39
7.3.190.0180.00316.29
7.3.180.0030.01216.51
7.3.170.0090.00616.36
7.3.160.0070.01016.20
7.3.120.0070.01014.90
7.3.110.0090.00814.67
7.3.100.0060.01014.68
7.3.90.0020.01114.75
7.3.80.0050.01014.52
7.3.70.0050.01014.63
7.3.60.0030.00814.80
7.3.50.0030.00914.64
7.3.40.0060.00714.80
7.3.30.0050.00714.63
7.3.20.0060.00716.48
7.3.10.0110.00316.58
7.3.00.0080.00316.43
7.2.330.0040.01816.41
7.2.320.0090.01316.75
7.2.310.0090.01416.38
7.2.300.0070.01016.76
7.2.290.0040.01216.78
7.2.250.0100.00714.94
7.2.240.0070.01115.13
7.2.230.0040.01215.21
7.2.220.0030.01215.01
7.2.210.0030.01315.02
7.2.200.0120.00315.15
7.2.190.0030.01214.93
7.2.180.0060.00815.02
7.2.170.0020.00814.92
7.2.160.0000.01214.96
7.2.150.0030.01216.80
7.2.140.0000.01516.75
7.2.130.0040.01217.07
7.2.120.0120.00616.95
7.2.110.0090.00616.64
7.2.100.0070.00717.13
7.2.90.0140.00316.78
7.2.80.0100.00317.01
7.2.70.0070.00716.79
7.2.60.0050.00817.04
7.2.50.0030.00716.99
7.2.40.0070.01016.93
7.2.30.0040.01116.72
7.2.20.0040.01116.88
7.2.10.0030.00616.46
7.2.00.0060.00718.11
7.1.330.0070.01115.91
7.1.320.0130.00315.64
7.1.310.0040.01215.68
7.1.300.0080.00515.75
7.1.290.0040.00615.70
7.1.280.0020.01115.68
7.1.270.0090.00115.70
7.1.260.0020.00615.68
7.1.250.0100.00615.59
7.1.240.0030.01015.50
7.1.230.0060.01015.57
7.1.220.0090.00015.80
7.1.210.0040.01115.57
7.1.200.0070.00515.76
7.1.190.0030.00715.51
7.1.180.0040.00815.71
7.1.170.0000.01315.75
7.1.160.0040.00815.75
7.1.150.0060.00315.70
7.1.140.0040.01115.37
7.1.130.0030.01515.54
7.1.120.0030.00915.79
7.1.110.0000.01115.76
7.1.100.0060.00816.80
7.1.90.0000.00815.59
7.1.80.0060.00615.66
7.1.70.0050.00516.47
7.1.60.0100.00817.54
7.1.50.0040.01016.13
7.1.40.0090.00615.76
7.1.30.0060.00615.83
7.1.20.0000.01415.45
7.1.10.0060.01015.63
7.1.00.0020.02419.05
7.0.330.0130.00315.51
7.0.320.0110.00415.43
7.0.310.0110.00314.97
7.0.300.0110.00015.10
7.0.290.0060.00615.30
7.0.280.0030.00614.99
7.0.270.0100.00715.15
7.0.260.0030.01015.58
7.0.250.0070.00415.35
7.0.240.0040.00415.25
7.0.230.0100.00315.45
7.0.220.0100.00315.52
7.0.210.0030.00915.20
7.0.200.0070.00715.96
7.0.190.0040.01115.50
7.0.180.0030.01015.37
7.0.170.0060.00315.21
7.0.160.0100.00015.43
7.0.150.0000.01415.36
7.0.140.0060.04018.47
7.0.130.0060.00615.11
7.0.120.0070.00715.46
7.0.110.0070.00715.04
7.0.100.0140.00315.33
7.0.90.0040.01115.23
7.0.80.0030.00715.24
7.0.70.0070.04018.59
7.0.60.0070.03218.56
7.0.50.0030.04418.61
7.0.40.0070.04316.80
7.0.30.0100.04016.59
7.0.20.0030.04716.75
7.0.10.0050.04516.68
7.0.00.0060.04616.78
5.6.400.0000.01614.24
5.6.390.0030.01314.32
5.6.380.0000.01414.63
5.6.370.0000.01614.47
5.6.360.0000.01414.50
5.6.350.0060.00614.59
5.6.340.0060.01014.26
5.6.330.0000.01514.04
5.6.320.0080.00414.45
5.6.310.0090.00613.98
5.6.300.0050.01013.99
5.6.290.0040.01114.57
5.6.280.0050.04317.73
5.6.270.0070.01114.31
5.6.260.0070.00514.22
5.6.250.0040.01114.12
5.6.240.0090.00314.42
5.6.230.0080.00414.53
5.6.220.0070.04317.57
5.6.210.0070.04117.50
5.6.200.0080.03817.71
5.6.190.0040.04717.79
5.6.180.0020.04717.60
5.6.170.0030.02917.73
5.6.160.0080.04117.62
5.6.150.0090.04317.83
5.6.140.0050.04317.71
5.6.130.0050.04217.73
5.6.120.0030.03217.55
5.6.110.0110.03517.62
5.6.100.0000.05217.59
5.6.90.0030.05017.53
5.6.80.0090.04117.29
5.6.70.0050.03817.24
5.6.60.0100.04317.31
5.6.50.0020.04717.26
5.6.40.0050.04517.23
5.6.30.0080.03717.45
5.6.20.0040.04517.24
5.6.10.0100.02917.43
5.6.00.0020.02717.19
5.5.380.0030.00614.46
5.5.370.0040.00714.19
5.5.360.0030.04517.44
5.5.350.0030.04117.34
5.5.340.0070.03417.54
5.5.330.0020.04817.36
5.5.320.0070.03717.46
5.5.310.0080.04017.38
5.5.300.0040.02517.56
5.5.290.0050.04417.54
5.5.280.0040.04917.58
5.5.270.0030.04317.47
5.5.260.0040.04817.37
5.5.250.0070.04317.43
5.5.240.0100.03517.23
5.5.230.0080.04117.23
5.5.220.0060.02817.20
5.5.210.0050.04017.18
5.5.200.0070.03517.30
5.5.190.0030.04017.01
5.5.180.0060.03817.23
5.5.170.0070.00714.18
5.5.160.0090.03917.10
5.5.150.0050.03717.17
5.5.140.0050.04517.06
5.5.130.0090.03917.15
5.5.120.0060.04117.22
5.5.110.0070.04217.23
5.5.100.0050.04517.20
5.5.90.0020.04117.09
5.5.80.0080.03817.01
5.5.70.0030.04217.13
5.5.60.0030.03817.20
5.5.50.0060.03317.05
5.5.40.0050.03317.25
5.5.30.0050.04717.14
5.5.20.0020.03217.08
5.5.10.0030.03517.19
5.5.00.0000.03917.28
5.4.450.0020.04614.99
5.4.440.0070.03815.05
5.4.430.0030.04415.06
5.4.420.0070.03815.19
5.4.410.0030.03214.91
5.4.400.0070.02715.03
5.4.390.0070.02015.14
5.4.380.0030.04014.97
5.4.370.0040.04215.09
5.4.360.0080.03714.87
5.4.350.0060.02614.75
5.4.340.0020.03014.93
5.4.330.0080.00010.86
5.4.320.0000.04714.77
5.4.310.0080.04014.99
5.4.300.0080.03814.82
5.4.290.0090.03914.94
5.4.280.0080.04014.80
5.4.270.0030.03814.88
5.4.260.0070.03715.02
5.4.250.0070.03515.01
5.4.240.0020.04714.86
5.4.230.0060.03715.01
5.4.220.0100.03515.01
5.4.210.0030.04014.85
5.4.200.0030.03815.03
5.4.190.0070.02714.92
5.4.180.0030.02814.90
5.4.170.0050.03814.90
5.4.160.0060.03814.66
5.4.150.0080.04014.89
5.4.140.0110.03713.51
5.4.130.0030.04013.56
5.4.120.0060.03813.43
5.4.110.0030.03513.54
5.4.100.0070.03413.69
5.4.90.0070.03513.45
5.4.80.0050.03213.54
5.4.70.0020.04013.69
5.4.60.0050.03213.67
5.4.50.0020.03613.70
5.4.40.0070.03013.63
5.4.30.0030.04013.49
5.4.20.0020.02213.66
5.4.10.0090.03313.68
5.4.00.0060.03513.38
5.3.290.0050.02512.49
5.3.280.0020.03712.51
5.3.270.0020.03412.47
5.3.260.0080.03312.52
5.3.250.0030.04212.47
5.3.240.0030.04312.39
5.3.230.0010.04312.33
5.3.220.0030.04112.42
5.3.210.0050.04312.45
5.3.200.0010.04112.35
5.3.190.0050.04112.47
5.3.180.0090.03712.57
5.3.170.0030.04012.36
5.3.160.0000.04212.48
5.3.150.0020.03112.46
5.3.140.0050.02212.43
5.3.130.0010.04512.36
5.3.120.0030.03312.44
5.3.110.0020.04112.44
5.3.100.0040.03812.09
5.3.90.0000.03612.15
5.3.80.0030.03912.12
5.3.70.0040.03712.22
5.3.60.0080.03012.12
5.3.50.0070.02212.13
5.3.40.0090.01512.11
5.3.30.0020.02312.08
5.3.20.0000.02112.00
5.3.10.0030.01811.88
5.3.00.0030.02011.92
5.2.170.0000.03311.30
5.2.160.0030.04311.30
5.2.150.0000.03011.30
5.2.140.0000.03011.30
5.2.130.0030.02311.30
5.2.120.0030.02711.30
5.2.110.0000.02711.30
5.2.100.0030.02711.30
5.2.90.0000.03011.30
5.2.80.0000.02311.30
5.2.70.0000.03311.30
5.2.60.0000.03011.30
5.2.50.0000.03011.30
5.2.40.0070.01711.30
5.2.30.0030.02711.30
5.2.20.0000.02311.30
5.2.10.0000.03311.30
5.2.00.0000.06311.30
5.1.60.0000.04311.30
5.1.50.0000.04011.30
5.1.40.0030.04011.30
5.1.30.0000.04711.30
5.1.20.0070.03711.30
5.1.10.0030.03311.30
5.1.00.0000.02711.30
5.0.50.0000.02311.30
5.0.40.0000.02011.30
5.0.30.0100.02711.30
5.0.20.0000.02311.30
5.0.10.0000.02711.30
5.0.00.0000.03711.30
4.4.90.0000.01311.30
4.4.80.0000.01311.30
4.4.70.0030.01711.30
4.4.60.0000.01011.30
4.4.50.0070.00711.30
4.4.40.0000.03711.30
4.4.30.0000.02311.30
4.4.20.0030.01711.30
4.4.10.0000.01711.30
4.4.00.0000.02311.30
4.3.110.0000.02011.30
4.3.100.0000.02011.30
4.3.90.0000.02011.30
4.3.80.0000.02311.30
4.3.70.0000.01311.30
4.3.60.0000.02311.30
4.3.50.0000.01711.30
4.3.40.0030.02011.30
4.3.30.0000.01711.30
4.3.20.0000.03011.30
4.3.10.0000.01711.30
4.3.00.0000.01311.30

preferences:
43.64 ms | 401 KiB | 5 Q