3v4l.org

run code in 300+ PHP versions simultaneously
<?php class bla { private $y_busy; public function test() { $this->y_busy[] = 1; $this->y_busy[] = 2; print_r($this->y_busy); } } $a = new bla(); $a->test();

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.0150.00616.61
8.3.50.0080.01022.95
8.3.40.0100.00318.84
8.3.30.0110.00418.96
8.3.20.0000.00820.29
8.3.10.0040.00423.27
8.3.00.0030.00519.38
8.2.180.0030.01318.41
8.2.170.0070.00722.96
8.2.160.0000.01620.38
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0000.00826.16
8.2.120.0060.00321.02
8.2.110.0100.00020.34
8.2.100.0070.00418.03
8.2.90.0040.00419.06
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0060.00318.03
8.2.50.0000.00918.07
8.2.40.0030.00618.34
8.2.30.0080.00018.09
8.2.20.0000.00817.53
8.2.10.0000.00718.05
8.2.00.0040.00417.68
8.1.280.0140.00725.92
8.1.270.0080.00023.87
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00723.77
8.1.230.0060.00319.16
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.36
8.1.190.0050.00517.22
8.1.180.0060.00318.10
8.1.170.0060.00318.58
8.1.160.0040.00421.89
8.1.150.0030.00518.86
8.1.140.0040.00417.30
8.1.130.0000.00817.84
8.1.120.0070.00017.46
8.1.110.0050.00217.21
8.1.100.0000.00717.30
8.1.90.0000.00817.34
8.1.80.0030.00617.41
8.1.70.0000.00717.36
8.1.60.0090.00017.54
8.1.50.0040.00417.52
8.1.40.0000.00717.40
8.1.30.0000.00817.68
8.1.20.0040.00417.62
8.1.10.0050.00517.48
8.1.00.0000.00717.47
8.0.300.0000.00818.77
8.0.290.0060.00316.63
8.0.280.0030.00518.37
8.0.270.0030.00317.18
8.0.260.0000.00817.10
8.0.250.0030.00316.80
8.0.240.0040.00416.75
8.0.230.0000.00716.86
8.0.220.0000.00816.77
8.0.210.0040.00416.82
8.0.200.0030.00316.89
8.0.190.0080.00016.84
8.0.180.0000.00816.83
8.0.170.0050.00316.72
8.0.160.0070.00016.80
8.0.150.0030.00516.76
8.0.140.0030.00316.70
8.0.130.0000.00713.23
8.0.120.0070.00016.79
8.0.110.0040.00416.79
8.0.100.0040.00416.61
8.0.90.0000.00716.86
8.0.80.0060.01016.85
8.0.70.0000.00716.69
8.0.60.0040.00416.71
8.0.50.0050.00216.82
8.0.30.0080.01217.19
8.0.20.0080.01117.40
8.0.10.0040.00316.76
8.0.00.0080.01016.65
7.4.330.0050.00015.02
7.4.320.0060.00016.45
7.4.300.0030.00316.57
7.4.290.0030.00316.60
7.4.280.0000.00716.48
7.4.270.0030.00316.42
7.4.260.0030.00916.58
7.4.250.0050.00216.48
7.4.240.0020.00616.53
7.4.230.0000.00616.34
7.4.220.0060.01016.48
7.4.210.0170.00016.51
7.4.200.0070.00016.59
7.4.160.0090.00916.45
7.4.150.0090.00917.40
7.4.140.0090.00817.86
7.4.130.0110.00516.56
7.4.120.0120.00416.50
7.4.110.0110.01216.39
7.4.100.0030.01316.55
7.4.90.0160.00316.39
7.4.80.0070.01119.39
7.4.70.0080.00716.50
7.4.60.0060.00916.33
7.4.50.0050.00316.30
7.4.40.0110.00616.39
7.4.30.0120.00416.43
7.4.00.0050.00814.81
7.3.330.0030.00313.32
7.3.320.0050.00013.23
7.3.310.0000.00716.14
7.3.300.0050.00316.25
7.3.290.0100.01016.28
7.3.280.0060.01016.27
7.3.270.0070.01017.40
7.3.260.0090.01216.23
7.3.250.0120.00816.48
7.3.240.0030.01416.46
7.3.230.0100.00616.39
7.3.210.0120.01216.55
7.3.200.0080.00819.39
7.3.190.0090.00616.29
7.3.180.0070.01316.25
7.3.170.0130.00316.27
7.3.160.0060.01016.54
7.3.120.0100.00714.76
7.3.110.0040.01115.01
7.3.100.0030.01314.48
7.3.90.0100.00314.75
7.3.80.0000.01114.73
7.3.70.0060.00614.71
7.3.60.0000.00914.45
7.3.50.0070.00314.84
7.3.40.0060.01014.80
7.3.30.0110.00314.84
7.3.20.0040.00416.68
7.3.10.0000.01316.68
7.3.00.0110.00416.42
7.2.330.0070.01816.55
7.2.320.0140.00316.42
7.2.310.0180.00016.38
7.2.300.0070.01016.39
7.2.290.0130.00316.38
7.2.250.0070.01315.17
7.2.240.0090.00915.28
7.2.230.0060.00614.86
7.2.220.0060.00915.01
7.2.210.0060.00615.02
7.2.200.0030.00614.91
7.2.190.0040.00715.00
7.2.180.0060.00314.93
7.2.170.0060.00915.06
7.2.60.0060.00616.84
7.1.330.0040.00715.70
7.1.320.0030.01315.74
7.1.310.0000.01015.86
7.1.300.0040.00415.73
7.1.290.0060.00615.61
7.1.280.0060.00915.87
7.1.270.0120.00315.47
7.1.260.0110.00315.46
7.1.200.0190.00315.31
7.1.100.0080.00417.71
7.1.70.0020.00517.19
7.1.60.0070.00317.09
7.1.50.0100.01616.95
7.1.00.0000.08022.45
7.0.200.0180.00716.73
7.0.140.0070.07022.10
7.0.60.0100.08019.91
7.0.50.0070.04717.90
7.0.40.0070.05320.24
7.0.30.0270.05020.07
7.0.20.0230.04320.09
7.0.10.0100.05020.21
7.0.00.0070.07320.33
5.6.280.0070.06721.11
5.6.210.0030.05020.50
5.6.200.0000.04318.16
5.6.190.0030.08720.50
5.6.180.0270.06720.52
5.6.170.0200.04720.55
5.6.160.0200.05720.70
5.6.150.0130.05718.15
5.6.140.0030.04718.17
5.6.130.0070.04718.17
5.6.120.0030.05321.14
5.6.110.0100.07021.02
5.6.100.0100.05720.98
5.6.90.0070.05321.13
5.6.80.0170.03020.26
5.6.70.4600.04320.35
5.5.350.0200.08320.32
5.5.340.0070.06717.97
5.5.330.0070.08320.42
5.5.320.0300.05720.33
5.5.310.0200.05320.24
5.5.300.0000.05017.97
5.5.290.0030.04717.95
5.5.280.0030.05720.86
5.5.270.0000.04720.79
5.5.260.0070.08320.77
5.5.250.0170.07020.59
5.5.240.0300.04720.12
5.4.450.3600.03719.20
5.4.440.3870.04019.38
5.4.430.3930.04019.38
5.4.420.3770.03719.40
5.4.410.3500.04719.28
5.4.400.3630.04318.99
5.4.390.3630.04018.95
5.4.380.3900.03719.24
5.4.370.3700.03719.19
5.4.360.3370.04319.22
5.4.350.3870.03318.85
5.4.340.3400.04718.97
5.4.320.3570.04019.16
5.4.310.3530.03719.00
5.4.300.3630.04018.98
5.4.290.3630.03319.05
5.4.280.3630.04318.98
5.4.270.3900.03719.20
5.4.260.3900.03319.24
5.4.250.3800.04019.18
5.4.240.3870.04019.22
5.4.230.3900.03718.97
5.4.220.3800.04319.21
5.4.210.3630.03719.17
5.4.200.3630.03019.05
5.4.190.3930.03319.16
5.4.180.3400.03718.97
5.4.170.3570.03718.98
5.4.160.3600.03718.95
5.4.150.3700.04018.85
5.4.140.3600.04016.52
5.4.130.3670.03316.35
5.4.120.3630.04016.38
5.4.110.3600.03716.59
5.4.100.3800.03716.18
5.4.90.3730.04316.36
5.4.80.3830.03016.35
5.4.70.3230.03716.39
5.4.60.3300.03316.54
5.4.50.3430.03016.43
5.4.40.3300.03716.35
5.4.30.2930.03316.55
5.4.20.3170.02716.48
5.4.10.3230.02016.43
5.4.00.2870.03715.83
5.3.290.3600.03314.57
5.3.280.3870.04014.56
5.3.270.3670.03314.66
5.3.260.3700.03014.50
5.3.250.3700.03714.51
5.3.240.3670.03714.64
5.3.230.5030.03714.56
5.3.220.3930.03314.55
5.3.210.3930.04014.80
5.3.200.3670.03014.58
5.3.190.3930.04314.64
5.3.180.3070.03314.71
5.3.170.3570.04014.47
5.3.160.3370.03014.46
5.3.150.3270.03714.47
5.3.140.3400.03014.45
5.3.130.3130.04014.54
5.3.120.2870.04714.56
5.3.110.2800.03314.53
5.3.100.3530.03014.09
5.3.90.3930.03314.03
5.3.80.3730.04014.04
5.3.70.3900.03714.18
5.3.60.3870.03714.08
5.3.50.4000.03713.85
5.3.40.3700.03713.95
5.3.30.3870.04014.07
5.3.20.3570.03713.85
5.3.10.3600.03313.73
5.3.00.4830.03313.65
5.2.170.3330.02711.23
5.2.160.3400.02711.38
5.2.150.3000.03011.16
5.2.140.3170.02311.15
5.2.130.3230.03011.04
5.2.120.3000.03311.24
5.2.110.3030.02711.08
5.2.100.3500.03311.15
5.2.90.3100.03011.00
5.2.80.3100.03311.21
5.2.70.2770.03311.02
5.2.60.3270.03311.02
5.2.50.3130.02711.14
5.2.40.2770.01711.07
5.2.30.2570.03010.90
5.2.20.2830.02711.18
5.2.10.2270.02710.78
5.2.00.2400.03010.67
5.1.60.2770.0279.98
5.1.50.2400.0239.92
5.1.40.2700.02310.09
5.1.30.2770.02710.41
5.1.20.2330.03010.35
5.1.10.2400.02310.05
5.1.00.2670.02710.08
5.0.50.1470.0239.67
5.0.40.1470.0239.67
5.0.30.1470.0339.67
5.0.20.1230.0139.67
5.0.10.1530.0209.67
5.0.00.1170.0339.67
4.4.90.1470.0209.67
4.4.80.1500.0179.67
4.4.70.1230.0139.67
4.4.60.1430.0179.67
4.4.50.1200.0139.67
4.4.40.1130.0309.67
4.4.30.1430.0209.67
4.4.20.1470.0179.67
4.4.10.1470.0179.67
4.4.00.1370.0279.67
4.3.110.1430.0209.67
4.3.100.1430.0109.67
4.3.90.1200.0179.67
4.3.80.1430.0239.67
4.3.70.1370.0209.67
4.3.60.1200.0179.66
4.3.50.1470.0179.66
4.3.40.1400.0279.66
4.3.30.0800.0179.66
4.3.20.0700.0179.66
4.3.10.0800.0279.66
4.3.00.0800.0209.66

preferences:
40.99 ms | 401 KiB | 5 Q