3v4l.org

run code in 300+ PHP versions simultaneously
<?php $joe = new Person(); $joe->name = 'Joe'; $betty = $joe; $betty->name = 'Betty'; echo $joe->name;

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.4.20.0120.00817.75
8.4.10.0160.00617.87
8.3.150.0030.01217.12
8.3.140.0090.00616.98
8.3.130.0090.00918.53
8.3.120.0060.00320.62
8.3.110.0190.00018.44
8.3.100.0050.00316.59
8.3.90.0040.01426.77
8.3.80.0090.00016.75
8.3.70.0110.00416.58
8.3.60.0120.00616.48
8.3.50.0130.01022.79
8.3.40.0070.00718.84
8.3.30.0140.00418.97
8.3.20.0070.00020.20
8.3.10.0040.00423.48
8.3.00.0080.00017.50
8.2.260.0000.00818.64
8.2.250.0150.00016.90
8.2.240.0040.00417.14
8.2.230.0110.00820.94
8.2.220.0060.00324.06
8.2.210.0070.00326.77
8.2.200.0060.00316.63
8.2.190.0150.00016.58
8.2.180.0120.00616.38
8.2.170.0070.01422.96
8.2.160.0110.00420.39
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0070.00726.16
8.2.120.0080.00020.96
8.2.110.0060.00320.39
8.2.100.0080.00317.72
8.2.90.0040.00418.22
8.2.80.0000.00718.21
8.2.70.0090.00017.63
8.2.60.0030.00617.80
8.2.50.0000.00818.07
8.2.40.0050.00318.09
8.2.30.0000.00817.91
8.2.20.0040.00417.61
8.2.10.0070.00017.92
8.2.00.0080.00017.59
8.1.310.0040.00418.68
8.1.300.0090.00015.86
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0030.00723.84
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0070.01423.77
8.1.230.0030.00923.91
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0080.00017.10
8.1.180.0080.00018.10
8.1.170.0130.00018.64
8.1.160.0050.00321.86
8.1.150.0040.00418.76
8.1.140.0000.00717.29
8.1.130.0000.00717.75
8.1.120.0040.00417.36
8.1.110.0080.00017.37
8.1.100.0050.00317.34
8.1.90.0070.00017.31
8.1.80.0040.00417.24
8.1.70.0030.00617.23
8.1.60.0040.00417.36
8.1.50.0000.00917.39
8.1.40.0040.00417.46
8.1.30.0040.00417.57
8.1.20.0000.00817.50
8.1.10.0040.00417.45
8.1.00.0040.00417.46
8.0.300.0080.00019.98
8.0.290.0040.00416.63
8.0.280.0030.00518.43
8.0.270.0070.00017.19
8.0.260.0000.00617.17
8.0.250.0000.00616.99
8.0.240.0040.00416.96
8.0.230.0040.00416.88
8.0.220.0000.00716.89
8.0.210.0070.00016.79
8.0.200.0040.00416.99
8.0.190.0000.00716.91
8.0.180.0040.00416.93
8.0.170.0020.00516.89
8.0.160.0050.00316.85
8.0.150.0000.01116.81
8.0.140.0040.00716.85
8.0.130.0030.00313.40
8.0.120.0040.00416.85
8.0.110.0000.00816.88
8.0.100.0040.00416.87
8.0.90.0030.00316.75
8.0.80.0090.00616.77
8.0.70.0000.00716.93
8.0.60.0040.00416.69
8.0.50.0040.00416.90
8.0.30.0120.00617.00
8.0.20.0080.01217.40
8.0.10.0000.00717.04
8.0.00.0090.00916.96
7.4.330.0000.00515.02
7.4.320.0030.00316.52
7.4.300.0000.00616.56
7.4.290.0030.00316.45
7.4.280.0030.00516.52
7.4.270.0070.00016.45
7.4.260.0030.00316.46
7.4.250.0040.00416.51
7.4.240.0040.00416.44
7.4.230.0000.00716.54
7.4.220.0120.00616.52
7.4.210.0090.00616.47
7.4.200.0030.00316.52
7.4.160.0090.00916.32
7.4.150.0150.00617.40
7.4.140.0180.00517.86
7.4.130.0080.00916.44
7.4.120.0080.01116.43
7.4.110.0080.00816.31
7.4.100.0130.01016.58
7.4.90.0140.00516.68
7.4.80.0090.00919.39
7.4.70.0090.00916.51
7.4.60.0110.00716.41
7.4.50.0000.00816.30
7.4.40.0170.00016.71
7.4.30.0030.01316.39
7.4.00.0060.01015.10
7.3.330.0040.00413.16
7.3.320.0050.00013.05
7.3.310.0030.00316.38
7.3.300.0070.00016.14
7.3.290.0070.00716.21
7.3.280.0110.00716.26
7.3.270.0030.01717.40
7.3.260.0100.00716.32
7.3.250.0150.00216.25
7.3.240.0100.00716.50
7.3.230.0060.01216.39
7.3.210.0090.00816.47
7.3.200.0030.01319.39
7.3.190.0150.00716.50
7.3.180.0040.01116.46
7.3.170.0100.00716.59
7.3.160.0080.00816.27
7.2.330.0120.00616.54
7.2.320.0130.00616.63
7.2.310.0030.01316.57
7.2.300.0110.00616.33
7.2.290.0080.00816.39
7.2.60.0110.00316.69
7.2.00.0040.00819.36
7.1.200.0290.00415.64
7.1.100.0060.00618.13
7.1.70.0040.00416.94
7.1.60.0110.01119.40
7.1.50.0040.02116.82
7.1.00.0030.07722.31
7.0.200.0070.00714.54
7.0.140.0000.07722.21
7.0.60.0070.04719.89
7.0.50.0100.07717.81
7.0.40.0100.08020.23
7.0.30.0270.05720.04
7.0.20.0270.08020.22
7.0.10.0130.04020.01
7.0.00.0130.07320.05
5.6.280.0030.07321.02
5.6.210.0230.07020.66
5.6.200.0100.08318.13
5.6.190.0030.04320.45
5.6.180.0330.05720.57
5.6.170.0170.06320.54
5.6.160.0130.06320.54
5.6.150.0000.09018.11
5.6.140.0030.07718.18
5.6.130.0170.07318.17
5.6.120.0130.08321.00
5.6.110.0030.08720.95
5.6.100.0070.05720.95
5.6.90.0170.07320.88
5.6.80.0070.07720.41
5.5.350.4230.04020.31
5.5.340.0100.08017.92
5.5.330.0030.04020.46
5.5.320.0330.07020.32
5.5.310.0270.05320.34
5.5.300.0070.08017.92
5.5.290.0100.06017.92
5.5.280.0100.08020.83
5.5.270.0000.04320.86
5.5.260.0130.07320.75
5.5.250.0130.06720.54
5.5.240.0070.07020.25
5.4.450.0030.03719.57
5.4.440.0100.05319.41
5.4.430.0170.05019.48
5.4.420.0730.03719.10
5.4.410.0300.03719.29
5.4.400.0630.03019.09
5.4.390.0230.03719.13
5.4.380.1070.07318.68
5.4.370.1070.05018.61
5.4.360.0930.05318.54
5.4.350.1030.05318.60
5.4.340.1100.04718.46
5.4.320.0040.03912.46
5.4.310.0040.04012.45
5.4.300.0070.03512.46
5.4.290.0030.04612.45
5.4.280.0050.03512.35
5.4.270.0050.03612.35
5.4.260.0040.03912.35
5.4.250.0060.03712.35
5.4.240.0050.03612.35
5.4.230.0010.04112.34
5.4.220.0070.03712.34
5.4.210.0070.03412.34
5.4.200.0060.03712.34
5.4.190.0080.03912.34
5.4.180.0040.03712.34
5.4.170.0080.04112.35
5.4.160.0050.03612.34
5.4.150.0080.04012.34
5.4.140.0050.03712.02
5.4.130.0080.03312.02
5.4.120.0100.03311.97
5.4.110.0100.03511.96
5.4.100.0080.03611.97
5.4.90.0050.03811.97
5.4.80.0020.03911.96
5.4.70.0080.03711.96
5.4.60.0040.03611.96
5.4.50.0040.03711.96
5.4.40.0080.03711.96
5.4.30.0060.03411.95
5.4.20.0090.03111.95
5.4.10.0050.04311.95
5.4.00.0090.03511.44
5.3.290.0050.04212.80
5.3.280.0050.03812.71
5.3.270.0070.03812.72
5.3.260.0080.03612.72
5.3.250.0100.03312.72
5.3.240.0060.03712.72
5.3.230.0070.03612.71
5.3.220.0040.03912.68
5.3.210.0100.03412.68
5.3.200.0060.03512.68
5.3.190.0060.03912.67
5.3.180.0060.04612.68
5.3.170.0080.04212.67
5.3.160.0090.03212.68
5.3.150.0050.03812.67
5.3.140.0080.04312.66
5.3.130.0050.04012.66
5.3.120.0110.04412.66
5.3.110.0090.04012.65
5.3.100.0080.03612.12
5.3.90.0070.03712.08
5.3.80.0040.03812.08
5.3.70.0050.03712.08
5.3.60.0010.04112.06
5.3.50.0100.03312.00
5.3.40.0040.03912.00
5.3.30.0070.03311.94
5.3.20.0030.03811.73
5.3.10.0040.03511.69
5.3.00.0030.03811.68
5.2.170.0050.0339.18
5.2.160.0060.0369.18
5.2.150.0040.0329.18
5.2.140.0070.0289.18
5.2.130.0040.0359.14
5.2.120.0130.0359.14
5.2.110.0050.0279.15
5.2.100.0080.0249.14
5.2.90.0060.0319.14
5.2.80.0050.0299.13
5.2.70.0080.0259.13
5.2.60.0080.0259.09
5.2.50.0020.0339.06
5.2.40.0040.0309.04
5.2.30.0050.0299.01
5.2.20.0050.0339.00
5.2.10.0050.0298.92
5.2.00.0040.0298.78
5.1.60.0090.0198.06
5.1.50.0040.0248.06
5.1.40.0050.0248.04
5.1.30.0030.0278.39
5.1.20.0050.0288.41
5.1.10.0070.0248.14
5.1.00.0060.0248.14
5.0.50.0040.0236.62
5.0.40.0040.0196.48
5.0.30.0050.0296.29
5.0.20.0010.0216.26
5.0.10.0020.0216.23
5.0.00.0060.0296.23
4.4.90.0050.0194.78
4.4.80.0020.0164.75
4.4.70.0040.0194.76
4.4.60.0030.0194.75
4.4.50.0050.0144.77
4.4.40.0040.0284.71
4.4.30.0030.0144.76
4.4.20.0030.0144.84
4.4.10.0020.0164.85
4.4.00.0050.0244.76
4.3.110.0040.0144.67
4.3.100.0030.0154.67
4.3.90.0020.0154.63
4.3.80.0030.0234.59
4.3.70.0040.0134.63
4.3.60.0040.0134.63
4.3.50.0030.0144.63
4.3.40.0020.0244.53
4.3.30.0030.0153.29
4.3.20.0020.0203.26
4.3.10.0030.0183.21
4.3.00.0030.01315.98

preferences:
80.04 ms | 403 KiB | 5 Q