3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Demo { public $a = 123; } $b = new Demo(); echo $b->$a;

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.00416.88
8.3.50.0120.01121.02
8.3.40.0070.00718.84
8.3.30.0110.00418.84
8.3.20.0080.00018.78
8.3.10.0040.00421.76
8.3.00.0030.00620.84
8.2.180.0150.00316.63
8.2.170.0060.01222.96
8.2.160.0060.00919.08
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0030.00521.00
8.2.120.0080.00326.35
8.2.110.0050.00520.88
8.2.100.0060.00617.93
8.2.90.0080.00019.29
8.2.80.0040.00417.97
8.2.70.0050.00317.75
8.2.60.0040.00417.93
8.2.50.0050.00318.10
8.2.40.0000.00922.31
8.2.30.0030.00320.71
8.2.20.0060.00317.74
8.2.10.0050.00218.09
8.2.00.0030.00518.03
8.1.280.0080.01225.92
8.1.270.0040.00423.68
8.1.260.0080.00028.09
8.1.250.0000.00828.09
8.1.240.0040.00423.97
8.1.230.0050.00520.51
8.1.220.0000.00817.76
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0040.00418.48
8.1.160.0040.00418.93
8.1.150.0050.00318.94
8.1.140.0000.00719.44
8.1.130.0070.00017.69
8.1.120.0000.00717.41
8.1.110.0000.00717.49
8.1.100.0000.00717.43
8.1.90.0040.00417.36
8.1.80.0070.00017.45
8.1.70.0000.00717.26
8.1.60.0060.00317.63
8.1.50.0030.00517.55
8.1.40.0020.00517.49
8.1.30.0040.00417.63
8.1.20.0000.00717.67
8.1.10.0040.00417.34
8.1.00.0000.00817.49
8.0.300.0020.00518.77
8.0.290.0040.00416.75
8.0.280.0000.00818.43
8.0.270.0050.00317.25
8.0.260.0030.00317.25
8.0.250.0000.00616.88
8.0.240.0040.00417.03
8.0.230.0000.00616.87
8.0.220.0030.00316.82
8.0.210.0000.00716.92
8.0.200.0000.00616.90
8.0.190.0030.00617.07
8.0.180.0070.00016.93
8.0.170.0080.00017.03
8.0.160.0040.00416.99
8.0.150.0030.00316.91
8.0.140.0000.00716.96
8.0.130.0030.00313.38
8.0.120.0080.00016.89
8.0.110.0030.00416.97
8.0.100.0030.00316.77
8.0.90.0040.00416.81
8.0.80.0070.01016.82
8.0.70.0000.00717.05
8.0.60.0000.00816.89
8.0.50.0040.00416.90
8.0.30.0100.01017.05
8.0.20.0100.01317.40
8.0.10.0030.00516.92
8.0.00.0130.00416.82
7.4.330.0000.00515.08
7.4.320.0060.00016.48
7.4.300.0060.00016.58
7.4.290.0040.00416.45
7.4.280.0070.00416.43
7.4.270.0000.00616.43
7.4.260.0030.00316.54
7.4.250.0000.00716.49
7.4.240.0030.00316.54
7.4.230.0000.00716.55
7.4.220.0070.01016.42
7.4.210.0090.01216.57
7.4.200.0050.00316.53
7.4.160.0070.00716.52
7.4.150.0150.00317.40
7.4.140.0100.00717.86
7.4.130.0170.00316.42
7.4.120.0090.00916.48
7.4.110.0090.00816.58
7.4.100.0090.00916.65
7.4.90.0170.00016.51
7.4.80.0130.00619.39
7.4.70.0160.00016.64
7.4.60.0130.00916.59
7.4.50.0060.00916.49
7.4.40.0100.00616.42
7.4.30.0060.01016.41
7.4.00.0030.01014.80
7.3.330.0000.00513.29
7.3.320.0050.00013.32
7.3.310.0030.00316.33
7.3.300.0030.00316.29
7.3.290.0080.00716.28
7.3.280.0120.00416.23
7.3.270.0140.00517.40
7.3.260.0090.01316.30
7.3.250.0070.01216.43
7.3.240.0140.00816.31
7.3.230.0140.01116.57
7.3.210.0160.00016.36
7.3.200.0060.00916.38
7.3.190.0150.00916.51
7.3.180.0110.00316.65
7.3.170.0100.00716.47
7.3.160.0160.00616.40
7.2.330.0030.01416.79
7.2.320.0110.00716.62
7.2.310.0120.00616.77
7.2.300.0030.01316.59
7.2.290.0040.01216.61
7.2.60.0130.00017.13
7.2.00.0040.00719.41
7.1.200.0040.00815.46
7.1.100.0060.00617.79
7.1.70.0040.00417.17
7.1.60.0140.00720.41
7.1.50.0070.01416.78
7.1.00.0070.07022.40
7.0.200.0200.00814.88
7.0.60.0370.06320.06
7.0.50.0070.08017.86
7.0.40.0700.06020.28
7.0.30.0200.06320.21
7.0.20.0130.06320.30
7.0.10.0270.05320.34
7.0.00.0270.05320.07
5.6.280.0000.07721.12
5.6.210.0100.07720.70
5.6.200.0230.06318.25
5.6.190.0570.06020.66
5.6.180.0170.06320.43
5.6.170.0200.05720.61
5.6.160.0130.06720.45
5.6.150.0170.06020.38
5.6.140.0270.05020.27
5.6.130.0270.05020.41
5.6.120.0270.05020.41
5.6.110.0170.06020.35
5.6.100.0170.06320.28
5.6.90.0230.06320.19
5.6.80.0230.05020.01
5.6.70.0170.05719.79
5.6.60.0230.05319.70
5.6.50.0300.04319.98
5.6.40.0170.06319.74
5.6.30.0170.06319.69
5.6.20.0270.05019.73
5.6.10.0300.04019.76
5.6.00.0200.05719.75
5.5.350.4170.03720.32
5.5.340.0130.07018.07
5.5.330.0730.03720.35
5.5.320.0270.05020.33
5.5.310.0230.05020.26
5.5.300.0200.06320.16
5.5.290.0230.05320.12
5.5.280.0100.06720.06
5.5.270.0200.05320.38
5.5.260.0300.04320.16
5.5.250.0230.06320.05
5.5.240.0230.05019.52
5.5.230.0170.06019.54
5.5.220.0370.04319.45
5.5.210.0100.07319.38
5.5.200.0200.05719.56
5.5.190.0130.07719.45
5.5.180.0130.07719.51
5.5.160.0270.04319.53
5.5.150.0170.06319.56
5.5.140.0170.05719.55
5.5.130.0300.05019.49
5.5.120.0330.04719.45
5.5.110.0200.05019.57
5.5.100.0170.05319.50
5.5.90.0170.06019.23
5.5.80.0200.05319.41
5.5.70.0330.05019.63
5.5.60.0230.05719.48
5.5.50.0170.06319.45
5.5.40.0300.06019.32
5.5.30.0270.05019.38
5.5.20.0370.06319.38
5.5.10.0570.05719.53
5.5.00.0500.06019.46

preferences:
52.45 ms | 401 KiB | 5 Q