3v4l.org

run code in 300+ PHP versions simultaneously
<?php class x { public function __construct() { $x += $this; $x = new stdClass; var_dump($this); } } var_dump(new x);

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.0110.00418.56
8.3.50.0060.01321.97
8.3.40.0040.01118.79
8.3.30.0090.00919.21
8.3.20.0060.00320.11
8.3.10.0030.00521.84
8.3.00.0060.00322.43
8.2.180.0040.01516.50
8.2.170.0070.00722.96
8.2.160.0030.01020.84
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0060.00319.36
8.2.110.0070.00422.30
8.2.100.0090.00317.89
8.2.90.0000.00817.75
8.2.80.0040.00417.97
8.2.70.0040.00417.93
8.2.60.0000.00818.03
8.2.50.0040.00418.10
8.2.40.0050.00220.59
8.2.30.0070.00017.97
8.2.20.0050.00217.77
8.2.10.0070.00017.65
8.2.00.0000.00717.78
8.1.280.0110.00725.92
8.1.270.0040.00423.79
8.1.260.0000.01726.35
8.1.250.0030.01428.09
8.1.240.0050.00522.19
8.1.230.0040.00720.95
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0030.00617.25
8.1.190.0000.00817.22
8.1.180.0060.00318.10
8.1.170.0000.00818.59
8.1.160.0090.00021.94
8.1.150.0000.00718.50
8.1.140.0040.00417.34
8.1.130.0020.00517.75
8.1.120.0000.00817.44
8.1.110.0000.00717.38
8.1.100.0000.00717.30
8.1.90.0000.00917.28
8.1.80.0040.00417.41
8.1.70.0070.00017.39
8.1.60.0030.00617.64
8.1.50.0020.00517.40
8.1.40.0000.00817.50
8.1.30.0040.00417.61
8.1.20.0000.00817.55
8.1.10.0000.00717.56
8.1.00.0050.00217.56
8.0.300.0000.00719.73
8.0.290.0050.00316.75
8.0.280.0070.00018.38
8.0.270.0000.00717.24
8.0.260.0050.00316.82
8.0.250.0040.00416.83
8.0.240.0040.00416.82
8.0.230.0000.00716.96
8.0.220.0000.00716.89
8.0.210.0080.00016.80
8.0.200.0030.00316.84
8.0.190.0050.00316.99
8.0.180.0050.00216.95
8.0.170.0040.00416.95
8.0.160.0000.00816.89
8.0.150.0040.00416.74
8.0.140.0000.00716.84
8.0.130.0050.00313.36
8.0.120.0000.00816.84
8.0.110.0030.00516.91
8.0.100.0040.00416.82
8.0.90.0000.00816.79
8.0.80.0060.00916.92
8.0.70.0040.00416.76
8.0.60.0070.00016.76
8.0.50.0000.00816.68
8.0.30.0080.01117.32
8.0.20.0060.01217.40
8.0.10.0000.00716.96
8.0.00.0060.01116.71
7.4.330.0050.00015.03
7.4.320.0000.00616.55
7.4.300.0030.00316.44
7.4.290.0000.00716.52
7.4.280.0040.00416.50
7.4.270.0000.00716.56
7.4.260.0030.00316.63
7.4.250.0000.00716.49
7.4.240.0000.00716.39
7.4.230.0040.00416.67
7.4.220.0100.00716.67
7.4.210.0050.00916.56
7.4.200.0030.00316.67
7.4.190.0040.00416.31
7.4.160.0070.01316.52
7.4.150.0060.01217.40
7.4.140.0090.01117.86
7.4.130.0140.00716.60
7.4.120.0140.00316.47
7.4.110.0120.00916.60
7.4.100.0110.00716.59
7.4.90.0060.01216.46
7.4.80.0120.00616.57
7.4.70.0040.01516.54
7.4.60.0090.00916.68
7.4.50.0090.00016.38
7.4.40.0100.00622.77
7.4.30.0080.00916.64
7.4.00.0060.01315.05
7.3.330.0050.00013.30
7.3.320.0020.00213.07
7.3.310.0070.00016.20
7.3.300.0040.00416.21
7.3.290.0090.00616.26
7.3.280.0090.00616.32
7.3.270.0160.00317.40
7.3.260.0160.00316.48
7.3.250.0150.00716.34
7.3.240.0060.01716.57
7.3.230.0140.00316.46
7.3.210.0090.00916.53
7.3.200.0150.00619.39
7.3.190.0130.00916.35
7.3.180.0100.01016.05
7.3.170.0070.01416.36
7.3.160.0110.00616.24
7.3.120.0040.01214.79
7.2.330.0150.00416.47
7.2.320.0070.01116.59
7.2.310.0090.00816.68
7.2.300.0130.00316.68
7.2.290.0110.00516.70
7.2.60.0040.01116.95
7.2.00.0040.00819.34
7.1.200.0070.00315.75
7.1.100.0040.00718.22
7.1.70.0030.00816.85
7.1.60.0040.01519.82
7.1.50.0070.01116.63
7.1.00.0030.07722.36
7.0.200.0030.01016.54
7.0.140.0100.06721.95
7.0.60.0030.04719.87
7.0.50.0030.08017.79
7.0.40.0130.07320.13
7.0.30.0300.07720.06
7.0.20.0330.04020.16
7.0.10.0030.08720.07
7.0.00.0030.09020.07
5.6.280.0030.07320.79
5.6.210.0130.06720.61
5.6.200.0070.08718.29
5.6.190.0030.09020.51
5.6.180.0470.07020.64
5.6.170.0270.07720.56
5.6.160.0030.08020.55
5.6.150.0070.06018.23
5.6.140.0100.06318.18
5.6.130.0100.06718.14
5.6.120.0000.06021.10
5.6.110.0070.07320.99
5.6.100.0030.04720.88
5.6.90.0070.05321.08
5.6.80.0070.05320.28
5.5.350.4270.04720.36
5.5.340.0100.07317.98
5.5.330.0030.04320.28
5.5.320.0330.06720.31
5.5.310.0170.03720.32
5.5.300.0030.05017.97
5.5.290.0070.08317.98
5.5.280.0070.05720.88
5.5.270.0070.05320.89
5.5.260.0100.08020.88
5.5.250.0170.07020.69
5.5.240.0270.06720.24
5.4.450.3100.04019.59
5.4.440.3170.04019.38
5.4.430.2130.03719.26
5.4.420.3670.04319.19
5.4.410.3130.03319.32
5.4.400.3600.03319.09
5.4.390.2930.04319.08
5.4.380.3800.04018.85
5.4.370.3930.03319.05
5.4.360.3530.04319.22
5.4.350.3330.04019.21
5.4.340.3400.03319.09
5.4.320.2800.03719.16
5.4.310.3230.04319.16
5.4.300.3570.03318.85
5.4.290.3300.03719.21
5.4.280.3500.04318.99
5.4.270.3730.03319.19
5.4.260.3400.04319.08
5.4.250.3300.03719.08
5.4.240.3130.04019.05
5.4.230.1800.05319.09
5.4.220.3400.04019.21
5.4.210.3300.04319.12
5.4.200.3100.03718.95
5.4.190.3600.03319.18
5.4.180.4170.04018.93
5.4.170.3630.03719.08
5.4.160.3470.03719.20
5.4.150.3600.03719.11
5.4.140.3600.03016.45
5.4.130.3530.03716.49
5.4.120.3230.03316.28
5.4.110.3230.04316.54
5.4.100.3370.03316.41
5.4.90.3400.03016.51
5.4.80.3430.03716.55
5.4.70.3130.03316.52
5.4.60.3300.03316.53
5.4.50.3600.02716.43
5.4.40.3570.03316.36
5.4.30.3570.03716.32
5.4.20.3630.03716.53
5.4.10.3370.03316.32
5.4.00.3770.04315.79
5.3.290.3600.03714.56
5.3.280.3600.03314.49
5.3.270.3270.03014.57
5.3.260.3600.04014.57
5.3.250.3370.03314.71
5.3.240.2900.04314.51
5.3.230.3570.03714.60
5.3.220.3600.03314.64
5.3.210.3570.03714.64
5.3.200.3530.03714.46
5.3.190.3600.04014.80
5.3.180.3300.03714.46
5.3.170.3600.03714.63
5.3.160.3530.04314.45
5.3.150.3300.03314.61
5.3.140.3500.03714.63
5.3.130.3630.03714.76
5.3.120.3270.04314.46
5.3.110.3530.04014.52
5.3.100.3600.03313.96
5.3.90.3630.03713.98
5.3.80.3600.03713.93
5.3.70.3370.04013.89
5.3.60.3530.03013.94
5.3.50.3330.03713.86
5.3.40.3600.04013.87
5.3.30.2830.03013.99
5.3.20.3370.03013.80
5.3.10.3370.03013.57
5.3.00.3070.03713.55
5.2.170.2530.02711.26
5.2.160.2530.02311.27
5.2.150.2770.02711.06
5.2.140.2870.02011.37
5.2.130.2830.03011.04
5.2.120.2800.03011.20
5.2.110.2530.02711.03
5.2.100.2230.02711.06
5.2.90.2830.04311.10
5.2.80.2530.03011.02
5.2.70.2730.03011.01
5.2.60.3100.03011.18
5.2.50.2930.03710.94
5.2.40.2670.01710.91
5.2.30.2470.02711.19
5.2.20.1700.03311.11
5.2.10.2430.03010.90
5.2.00.2100.03010.76
5.1.60.2400.02710.00
5.1.50.2200.02310.15
5.1.40.2370.0279.95
5.1.30.2370.02010.45
5.1.20.2230.02310.32
5.1.10.2330.02310.15
5.1.00.2500.02710.15
5.0.50.1100.0238.42
5.0.40.1400.0238.56
5.0.30.1570.0338.45
5.0.20.1500.0238.13
5.0.10.1500.0238.32
5.0.00.1370.0378.25
4.4.90.1100.0136.61
4.4.80.1300.0206.61
4.4.70.1270.0206.61
4.4.60.1200.0176.61
4.4.50.1200.0106.61
4.4.40.1100.0236.61
4.4.30.1130.0176.61
4.4.20.1330.0206.61
4.4.10.1230.0176.61
4.4.00.1470.0306.61
4.3.110.1300.0176.61
4.3.100.1400.0136.61
4.3.90.1330.0106.61
4.3.80.0970.0336.61
4.3.70.1300.0206.61
4.3.60.1300.0206.61
4.3.50.1270.0206.61
4.3.40.1370.0276.61
4.3.30.0630.0136.61
4.3.20.0700.0176.61
4.3.10.0670.0236.61
4.3.00.0630.0206.61

preferences:
48.08 ms | 401 KiB | 5 Q