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.00716.25
8.3.50.0140.00921.14
8.3.40.0060.00918.89
8.3.30.0090.00618.75
8.3.20.0080.00018.79
8.3.10.0040.00421.77
8.3.00.0080.00020.88
8.2.180.0150.00416.50
8.2.170.0070.01122.96
8.2.160.0100.00319.25
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0070.00020.82
8.2.120.0030.00626.35
8.2.110.0030.00620.99
8.2.100.0080.00317.93
8.2.90.0050.00319.17
8.2.80.0000.00917.97
8.2.70.0050.00317.63
8.2.60.0030.00617.93
8.2.50.0080.00018.10
8.2.40.0080.00022.14
8.2.30.0000.00720.49
8.2.20.0070.00017.74
8.2.10.0000.00717.91
8.2.00.0040.00418.04
8.1.280.0080.00825.92
8.1.270.0060.00324.02
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0040.00422.19
8.1.230.0060.00617.45
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0050.00517.23
8.1.190.0040.00417.22
8.1.180.0000.00718.10
8.1.170.0080.00018.46
8.1.160.0080.00019.05
8.1.150.0040.00418.86
8.1.140.0020.00519.52
8.1.130.0000.00817.61
8.1.120.0070.00017.43
8.1.110.0000.00717.26
8.1.100.0000.00717.30
8.1.90.0040.00417.38
8.1.80.0050.00217.32
8.1.70.0000.00717.39
8.1.60.0090.00017.56
8.1.50.0030.00517.45
8.1.40.0080.00017.46
8.1.30.0080.00017.61
8.1.20.0040.00417.41
8.1.10.0030.00617.33
8.1.00.0050.00217.51
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0020.00518.32
8.0.270.0030.00517.30
8.0.260.0030.00317.16
8.0.250.0050.00316.97
8.0.240.0080.00016.84
8.0.230.0030.00316.95
8.0.220.0000.00816.79
8.0.210.0070.00016.72
8.0.200.0030.00316.87
8.0.190.0050.00316.82
8.0.180.0000.00716.79
8.0.170.0050.00316.91
8.0.160.0030.00416.77
8.0.150.0030.00316.72
8.0.140.0040.00416.75
8.0.130.0050.00013.22
8.0.120.0040.00416.82
8.0.110.0000.00716.72
8.0.100.0070.00016.80
8.0.90.0040.00416.87
8.0.80.0060.01016.86
8.0.70.0000.00816.85
8.0.60.0050.00216.88
8.0.50.0000.00716.80
8.0.30.0130.00316.96
8.0.20.0140.00617.40
8.0.10.0000.00716.89
8.0.00.0140.00416.78
7.4.330.0060.00015.08
7.4.320.0000.00616.54
7.4.300.0030.00316.45
7.4.290.0040.00416.50
7.4.280.0070.00316.28
7.4.270.0070.00016.29
7.4.260.0000.00716.41
7.4.250.0040.00416.41
7.4.240.0000.00716.45
7.4.230.0000.00716.64
7.4.220.0090.00916.60
7.4.210.0070.00716.48
7.4.200.0050.00316.46
7.4.160.0120.00316.40
7.4.150.0140.00317.40
7.4.140.0020.01617.86
7.4.130.0100.00816.38
7.4.120.0090.01316.38
7.4.110.0090.00616.53
7.4.100.0210.00316.39
7.4.90.0080.00816.28
7.4.80.0130.00619.39
7.4.70.0160.00016.43
7.4.60.0140.00316.34
7.4.50.0000.01616.22
7.4.40.0040.01216.23
7.4.30.0100.01116.54
7.4.00.0000.01014.68
7.3.330.0060.00013.17
7.3.320.0000.00513.20
7.3.310.0070.00016.08
7.3.300.0030.00316.17
7.3.290.0050.01016.13
7.3.280.0100.00716.20
7.3.270.0210.00317.40
7.3.260.0040.01416.10
7.3.250.0100.00816.31
7.3.240.0020.01816.36
7.3.230.0180.02616.39
7.3.210.0100.00716.39
7.3.200.0120.00416.25
7.3.190.0060.00916.18
7.3.180.0060.01216.16
7.3.170.0030.01316.39
7.3.160.0090.01116.20
7.3.10.0090.00816.00
7.3.00.0130.01216.11
7.2.330.0070.01016.52
7.2.320.0090.00916.28
7.2.310.0030.01616.75
7.2.300.0160.00016.71
7.2.290.0000.01616.71
7.2.130.0160.00616.45
7.2.120.0130.00716.21
7.2.110.0100.00916.11
7.2.100.0150.00616.23
7.2.90.0120.00916.29
7.2.80.0150.00716.51
7.2.70.0110.00816.60
7.2.60.0110.01116.44
7.2.50.0120.00616.85
7.2.40.0140.00816.37
7.2.30.0130.00816.60
7.2.20.0170.00316.29
7.2.10.0170.00615.97
7.2.00.0070.00717.58
7.1.250.0170.00515.39
7.1.100.0000.01118.04
7.1.70.0000.00716.88
7.1.60.0110.01120.41
7.1.00.0070.07022.48
7.0.200.0160.00814.70
7.0.60.0300.07720.00
7.0.50.0100.08317.91
7.0.40.0300.05720.19
7.0.30.0130.07020.30
7.0.20.0130.07020.25
7.0.10.0230.06320.09
7.0.00.0170.07320.08
5.6.280.0030.07321.09
5.6.210.0130.07020.51
5.6.200.0070.06018.16
5.6.190.0200.06720.63
5.6.180.0200.05720.43
5.6.170.0270.06320.76
5.6.160.0200.05720.60
5.6.150.0300.07020.57
5.6.140.0700.05720.37
5.6.130.0730.05320.32
5.6.120.0300.05020.38
5.6.110.0130.06020.36
5.6.100.0070.07020.40
5.6.90.0230.05320.27
5.6.80.0070.06319.79
5.6.70.0200.06019.79
5.6.60.0530.05319.79
5.6.50.0370.05719.73
5.6.40.0200.06019.53
5.6.30.0170.05719.98
5.6.20.0270.05319.77
5.6.10.0370.04319.52
5.6.00.0170.05719.51
5.5.350.4300.04320.41
5.5.340.0130.08018.04
5.5.330.0100.07320.48
5.5.320.0230.05320.24
5.5.310.0330.05020.48
5.5.300.0600.06020.19
5.5.290.0470.06020.20
5.5.280.0230.05720.09
5.5.270.0200.05320.12
5.5.260.0170.06019.95
5.5.250.0130.05719.90
5.5.240.0230.05719.45
5.5.230.0470.05719.54
5.5.220.0670.04719.56
5.5.210.0430.06319.56
5.5.200.0200.05019.41
5.5.190.0270.05019.53
5.5.180.0070.06719.57
5.5.160.0130.06019.43
5.5.150.0130.06019.52
5.5.140.0100.06319.52
5.5.130.0270.05319.59
5.5.120.0070.06319.50
5.5.110.0130.06719.53
5.5.100.0300.05319.41
5.5.90.0230.05719.22
5.5.80.0130.07319.62
5.5.70.0270.05019.32
5.5.60.0170.05719.31
5.5.50.0170.05019.45
5.5.40.0230.05019.32
5.5.30.0200.05319.46
5.5.20.0230.05019.49
5.5.10.0170.06019.32
5.5.00.0200.05019.36

preferences:
55.37 ms | 401 KiB | 5 Q