3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bar = 1; } $f = new Foo; $f->baz = 2; var_dump($f); unset($f->bar, $f->baz); var_dump($f);

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.90.0030.00526.77
8.3.80.0000.00919.36
8.3.70.0090.00916.75
8.3.60.0070.00718.54
8.3.50.0020.01421.99
8.3.40.0070.00718.88
8.3.30.0070.00718.79
8.3.20.0000.00918.79
8.3.10.0050.00321.10
8.3.00.0000.00721.77
8.2.210.0110.00326.77
8.2.200.0060.00318.31
8.2.190.0130.01316.58
8.2.180.0160.00916.38
8.2.170.0120.00322.96
8.2.160.0120.00320.75
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00021.04
8.2.110.0050.00520.35
8.2.100.0090.00317.91
8.2.90.0000.00719.07
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0040.00417.80
8.2.50.0060.00318.07
8.2.40.0040.00418.22
8.2.30.0030.00519.84
8.2.20.0030.00617.60
8.2.10.0000.00717.63
8.2.00.0090.00017.48
8.1.290.0060.00318.88
8.1.280.0070.01425.92
8.1.270.0050.00324.66
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0060.00322.41
8.1.230.0080.00321.03
8.1.220.0050.00318.77
8.1.210.0040.00418.77
8.1.200.0100.00017.35
8.1.190.0030.00619.19
8.1.180.0040.00418.10
8.1.170.0050.00318.57
8.1.160.0000.00718.84
8.1.150.0040.00418.49
8.1.140.0050.00317.28
8.1.130.0030.00317.82
8.1.120.0030.00517.23
8.1.110.0060.00617.33
8.1.100.0040.00417.34
8.1.90.0040.00317.32
8.1.80.0000.00717.45
8.1.70.0070.00417.36
8.1.60.0000.00717.55
8.1.50.0000.00717.27
8.1.40.0080.00017.46
8.1.30.0040.00417.42
8.1.20.0040.00417.45
8.1.10.0040.00417.48
8.1.00.0000.00817.52
8.0.300.0090.00019.87
8.0.290.0040.00417.04
8.0.280.0030.00318.29
8.0.270.0080.00017.25
8.0.260.0030.00316.67
8.0.250.0000.00816.90
8.0.240.0040.00416.78
8.0.230.0000.00716.86
8.0.220.0030.00316.77
8.0.210.0050.00316.73
8.0.200.0030.00316.93
8.0.190.0040.00416.78
8.0.180.0000.00716.82
8.0.170.0030.00316.88
8.0.160.0000.00816.93
8.0.150.0090.00016.73
8.0.140.0040.00316.77
8.0.130.0000.00513.26
8.0.120.0000.00716.67
8.0.110.0040.00416.72
8.0.100.0000.00716.60
8.0.90.0030.00516.75
8.0.80.0150.00316.74
8.0.70.0040.00416.86
8.0.60.0040.00416.83
8.0.50.0030.00516.71
8.0.30.0090.01117.04
8.0.20.0100.00917.40
8.0.10.0070.00016.91
8.0.00.0070.01416.76
7.4.330.0000.00714.67
7.4.320.0000.00616.55
7.4.300.0000.00616.44
7.4.290.0000.00716.51
7.4.280.0040.00416.41
7.4.270.0050.00316.57
7.4.260.0000.00613.18
7.4.250.0030.00516.40
7.4.240.0070.00016.47
7.4.230.0000.00716.60
7.4.220.0030.01416.55
7.4.210.0090.00516.43
7.4.200.0080.00016.55
7.4.190.0070.00016.57
7.4.160.0030.01316.39
7.4.150.0150.00417.40
7.4.140.0190.01517.86
7.4.130.0110.00616.41
7.4.120.0120.00716.53
7.4.110.0100.00716.43
7.4.100.0190.00516.24
7.4.90.0060.01216.19
7.4.80.0090.00919.37
7.4.70.0200.00016.30
7.4.60.0080.01116.37
7.4.50.0040.00416.23
7.4.40.0130.00322.27
7.4.30.0070.01416.46
7.4.00.0080.00614.75
7.3.330.0030.00313.22
7.3.320.0000.00513.23
7.3.310.0000.00716.16
7.3.300.0000.00616.29
7.3.290.0000.01516.30
7.3.280.0100.00616.29
7.3.270.0140.00417.40
7.3.260.0100.00918.24
7.3.250.0150.00816.30
7.3.240.0100.00716.24
7.3.230.0090.00916.39
7.3.210.0030.01316.25
7.3.200.0100.00719.39
7.3.190.0070.01416.41
7.3.180.0080.00816.55
7.3.170.0130.00316.27
7.3.160.0180.00316.47
7.3.120.0070.01014.77
7.3.110.0070.01014.87
7.3.100.0060.01014.86
7.3.90.0070.00714.71
7.3.80.0110.00414.88
7.3.70.0030.00614.89
7.3.60.0060.00314.66
7.3.50.0030.00914.96
7.3.40.0080.00614.69
7.3.30.0070.00714.73
7.3.20.0070.00716.64
7.3.10.0030.00616.57
7.3.00.0000.01416.20
7.2.330.0180.00016.54
7.2.320.0070.01016.64
7.2.310.0130.00716.52
7.2.300.0140.01116.72
7.2.290.0100.00716.42
7.2.250.0090.00914.99
7.2.240.0100.00715.13
7.2.230.0000.01214.65
7.2.220.0080.00415.01
7.2.210.0030.00915.21
7.2.200.0060.00915.11
7.2.190.0040.00815.16
7.2.180.0030.01015.16
7.2.170.0080.00314.95
7.2.160.0030.00615.05
7.2.150.0040.00717.06
7.2.140.0030.01017.09
7.2.130.0070.01116.93
7.2.120.0070.01016.64
7.2.110.0090.00616.76
7.2.100.0040.01116.76
7.2.90.0030.00617.10
7.2.80.0110.00317.11
7.2.70.0030.01016.80
7.2.60.0000.01116.99
7.2.50.0090.00616.89
7.2.40.0060.00316.77
7.2.30.0070.00716.90
7.2.20.0000.01416.88
7.2.10.0060.00917.07
7.2.00.0050.01018.04
7.1.330.0060.01315.61
7.1.320.0030.01015.80
7.1.310.0090.00615.93
7.1.300.0060.00915.67
7.1.290.0040.00915.79
7.1.280.0070.00715.55
7.1.270.0070.01015.69
7.1.260.0060.00915.70
7.1.250.0070.00715.89
7.1.240.0070.01015.73
7.1.230.0030.01215.59
7.1.220.0070.00715.62
7.1.210.0040.00415.79
7.1.200.0060.00615.65
7.1.190.0030.00615.83
7.1.180.0080.00415.67
7.1.170.0060.00915.69
7.1.160.0000.01015.70
7.1.150.0060.00315.82
7.1.140.0090.00615.66
7.1.130.0100.00315.90
7.1.120.0040.00815.51
7.1.110.0000.01415.79
7.1.100.0030.00816.95
7.1.90.0040.01115.51
7.1.80.0030.00715.84
7.1.70.0000.01216.07
7.1.60.0030.00917.45
7.1.50.0020.01516.29
7.1.40.0110.00315.88
7.1.30.0000.01415.57
7.1.20.0040.00815.59
7.1.10.0000.01015.75
7.1.00.0030.03618.98
7.0.330.0070.00715.05
7.0.320.0100.00315.32
7.0.310.0080.00815.37
7.0.300.0040.01115.54
7.0.290.0060.00615.34
7.0.280.0040.01115.40
7.0.270.0040.00415.50
7.0.260.0070.01014.95
7.0.250.0090.00015.18
7.0.240.0000.00815.11
7.0.230.0070.00715.46
7.0.220.0040.00815.23
7.0.210.0100.00715.26
7.0.200.0010.00916.11
7.0.190.0060.00615.11
7.0.180.0000.01315.47
7.0.170.0060.00315.21
7.0.160.0100.00615.39
7.0.150.0060.00315.43
7.0.140.0000.04318.71
7.0.130.0100.00315.33
7.0.120.0070.00715.16
7.0.110.0080.04517.72
7.0.100.0020.04217.64
7.0.90.0030.04917.65
7.0.80.0080.04317.74
7.0.70.0070.04217.71
7.0.60.0050.04517.74
7.0.50.0020.03617.64
7.0.40.0030.04916.59
7.0.30.0050.04316.48
7.0.20.0030.04516.59
7.0.10.0010.04616.58
7.0.00.0050.04416.45
5.6.400.0080.00614.16
5.6.390.0070.00414.39
5.6.380.0100.00314.21
5.6.370.0070.00714.60
5.6.360.0070.00714.65
5.6.350.0090.00314.27
5.6.340.0060.00914.72
5.6.330.0090.00314.23
5.6.320.0030.01014.19
5.6.310.0060.01014.23
5.6.300.0060.00914.48
5.6.290.0120.00414.61
5.6.280.0010.04117.67
5.6.270.0030.01014.51
5.6.260.0120.04217.42
5.6.250.0110.03917.48
5.6.240.0070.04517.26
5.6.230.0040.03117.38
5.6.220.0050.02817.48
5.6.210.0030.04417.37
5.6.200.0020.03117.63
5.6.190.0070.04517.43
5.6.180.0030.04417.57
5.6.170.0070.04017.43
5.6.160.0050.04217.42
5.6.150.0030.04317.47
5.6.140.0130.03617.42
5.6.130.0050.04317.49
5.6.120.0060.03317.51
5.6.110.0030.04517.38
5.6.100.0050.05217.42
5.6.90.0100.03717.55
5.6.80.0070.04017.10
5.6.70.0030.04317.14
5.6.60.0050.04717.23
5.6.50.0080.04717.02
5.6.40.0020.04617.07
5.6.30.0070.03917.29
5.6.20.0070.02717.13
5.6.10.0050.04617.04
5.6.00.0020.04817.04
5.5.380.0090.04115.96
5.5.370.0080.04016.04
5.5.360.0090.03815.95
5.5.350.0100.04115.91
5.5.340.0130.03216.29
5.5.330.0100.03516.19
5.5.320.0100.03716.17
5.5.310.0050.04116.28
5.5.300.0110.03916.27
5.5.290.0080.03815.87
5.5.280.0090.04416.13
5.5.270.0050.04316.21
5.5.260.0070.04416.14
5.5.250.0050.04815.91
5.5.240.0080.04215.80
5.5.230.0050.04415.90
5.5.220.0060.04115.79
5.5.210.0050.03715.93
5.5.200.0120.03815.72
5.5.190.0070.04215.75
5.5.180.0080.04515.79
5.5.170.0120.00614.30
5.5.160.0030.04315.76
5.5.150.0150.03515.76
5.5.140.0070.03315.68
5.5.130.0050.03615.83
5.5.120.0070.02015.65
5.5.110.0030.02515.75
5.5.100.0050.02215.91
5.5.90.0030.02515.65
5.5.80.0070.02315.66
5.5.70.0020.02515.69
5.5.60.0000.02615.76
5.5.50.0050.02215.74
5.5.40.0060.02115.67
5.5.30.0030.02315.77
5.5.20.0050.03815.65
5.5.10.0030.04215.75
5.5.00.0030.04315.77
5.4.450.0050.04216.26
5.4.440.0050.03816.42
5.4.430.0100.03816.32
5.4.420.0060.04316.34
5.4.410.0060.04016.16
5.4.400.0070.04516.08
5.4.390.0090.04216.09
5.4.380.0020.04316.10
5.4.370.0020.03816.08
5.4.360.0030.03416.09
5.4.350.0110.03516.17
5.4.340.0080.04116.13
5.4.330.0000.01113.18
5.4.320.0110.03916.09
5.4.310.0090.02716.10
5.4.300.0080.02816.06
5.4.290.0110.01716.18
5.4.280.0050.02116.20
5.4.270.0040.02016.09
5.4.260.0030.02316.06
5.4.250.0060.02116.22
5.4.240.0080.01816.10
5.4.230.0050.02616.16
5.4.220.0070.01816.09
5.4.210.0090.01816.18
5.4.200.0020.02416.08
5.4.190.0020.03816.06
5.4.180.0050.04016.10
5.4.170.0070.04216.13
5.4.160.0020.03916.07
5.4.150.0020.02516.09
5.4.140.0050.02814.86
5.4.130.0070.03514.78
5.4.120.0120.03014.84
5.4.110.0070.01814.80
5.4.100.0030.02114.89
5.4.90.0050.02114.72
5.4.80.0040.01914.86
5.4.70.0080.01514.79
5.4.60.0030.02614.82
5.4.50.0030.02114.90
5.4.40.0030.03914.81
5.4.30.0050.03414.90
5.4.20.0060.01714.85
5.4.10.0150.02314.81
5.4.00.0020.02314.51
5.3.290.0080.03713.85
5.3.280.0020.02313.92
5.3.270.0080.03713.90
5.3.260.0040.04213.93
5.3.250.0030.02313.81
5.3.240.0030.02513.88
5.3.230.0040.02013.95
5.3.220.0050.02313.91
5.3.210.0020.04213.94
5.3.200.0060.01813.98
5.3.190.0030.03813.91
5.3.180.0030.02013.94
5.3.170.0020.02413.87
5.3.160.0030.03313.88
5.3.150.0030.01813.98
5.3.140.0050.01813.88
5.3.130.0070.01913.86
5.3.120.0030.02713.92
5.3.110.0040.03913.86
5.3.100.0010.02113.72
5.3.90.0090.01713.53
5.3.80.0030.03313.61
5.3.70.0040.01913.59
5.3.60.0070.01813.52
5.3.50.0020.02413.60
5.3.40.0070.02013.53
5.3.30.0090.01313.60
5.3.20.0050.01813.47
5.3.10.0050.02113.41
5.3.00.0040.02113.48
5.2.170.0030.03011.29
5.2.160.0030.03011.27
5.2.150.0070.05011.14
5.2.140.0130.03311.15
5.2.130.0030.05311.07
5.2.120.0030.02711.10
5.2.110.0030.03011.23
5.2.100.0070.02710.95
5.2.90.0100.03311.32
5.2.80.0000.06711.06
5.2.70.0030.03011.14
5.2.60.0070.02711.03
5.2.50.0000.03011.00
5.2.40.0030.02710.98
5.2.30.0030.03010.98
5.2.20.0070.02711.18
5.2.10.0000.02711.09
5.2.00.0030.04710.73
5.1.60.0030.03010.00
5.1.50.0000.02710.07
5.1.40.0000.0309.93
5.1.30.0000.06310.41
5.1.20.0100.04710.43
5.1.10.0070.05310.14
5.1.00.0070.05710.06
5.0.50.0100.0239.73
5.0.40.0100.0279.73
5.0.30.0070.0509.73
5.0.20.0000.0339.73
5.0.10.0070.0409.73
5.0.00.0030.0539.73
4.4.90.0000.0209.73
4.4.80.0000.0179.73
4.4.70.0070.0309.73
4.4.60.0000.0179.73
4.4.50.0070.0239.73
4.4.40.0000.0239.73
4.4.30.0000.0209.73
4.4.20.0000.0379.73
4.4.10.0070.0239.73
4.4.00.0030.0539.73
4.3.110.0070.0139.73
4.3.100.0100.0209.73
4.3.90.0030.0379.73
4.3.80.0100.0479.73
4.3.70.0000.0279.73
4.3.60.0030.0339.73
4.3.50.0100.0279.73
4.3.40.0000.0509.73
4.3.30.0030.0279.73
4.3.20.0030.0379.73
4.3.10.0000.0309.73
4.3.00.0000.0439.73

preferences:
39.94 ms | 401 KiB | 5 Q