3v4l.org

run code in 300+ PHP versions simultaneously
<?php class User { public $firstName; public $lastName; public $registrationDate; } ?>

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.0060.00918.31
8.3.50.0120.00921.93
8.3.40.0090.00918.54
8.3.30.0000.01418.54
8.3.20.0080.00018.61
8.3.10.0080.00020.97
8.3.00.0000.00823.70
8.2.180.0040.01116.50
8.2.170.0070.00722.96
8.2.160.0200.00020.47
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00021.11
8.2.110.0030.00619.24
8.2.100.0000.01117.66
8.2.90.0030.00519.14
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0040.00417.91
8.2.50.0020.00518.10
8.2.40.0030.00620.62
8.2.30.0000.01118.99
8.2.20.0000.00717.57
8.2.10.0040.00417.57
8.2.00.0040.00417.42
8.1.280.0100.00725.92
8.1.270.0070.00023.99
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00621.19
8.1.230.0070.00419.21
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0030.00616.98
8.1.180.0000.00718.10
8.1.170.0000.00818.56
8.1.160.0070.00018.75
8.1.150.0000.00722.11
8.1.140.0070.00017.23
8.1.130.0030.00317.80
8.1.120.0040.00417.32
8.1.110.0000.00717.24
8.1.100.0050.00317.33
8.1.90.0050.00217.25
8.1.80.0070.00017.34
8.1.70.0030.00317.21
8.1.60.0000.00817.33
8.1.50.0000.00817.33
8.1.40.0000.00717.27
8.1.30.0000.00817.48
8.1.20.0080.00017.43
8.1.10.0000.00817.44
8.1.00.0000.00717.39
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0000.00718.31
8.0.270.0030.00617.00
8.0.260.0030.00316.61
8.0.250.0000.00716.69
8.0.240.0000.00816.71
8.0.230.0000.00716.65
8.0.220.0030.00316.75
8.0.210.0000.00716.59
8.0.200.0030.00316.71
8.0.190.0000.00716.71
8.0.180.0000.00816.82
8.0.170.0050.00316.77
8.0.160.0030.00316.73
8.0.150.0070.00016.71
8.0.140.0040.00416.63
8.0.130.0050.00013.21
8.0.120.0070.00016.71
8.0.110.0070.00016.82
8.0.100.0000.00816.54
8.0.90.0070.00016.61
8.0.80.0130.00316.82
8.0.70.0000.00716.61
8.0.60.0040.00416.75
8.0.50.0070.00016.80
8.0.30.0110.00816.84
8.0.20.0130.00517.40
8.0.10.0050.00216.70
8.0.00.0070.01116.64
7.4.330.0020.00214.56
7.4.320.0000.00916.48
7.4.300.0030.00316.42
7.4.290.0030.00316.43
7.4.280.0030.00316.36
7.4.270.0000.00716.36
7.4.260.0000.00513.09
7.4.250.0070.00016.35
7.4.240.0070.00016.52
7.4.230.0030.00316.26
7.4.220.0170.00016.51
7.4.210.0060.00816.48
7.4.200.0030.00316.49
7.4.190.0030.00316.55
7.4.160.0120.00416.40
7.4.150.0150.00417.40
7.4.140.0100.01017.86
7.4.130.0090.01116.39
7.4.120.0130.00616.20
7.4.110.0040.01216.34
7.4.100.0090.00916.22
7.4.90.0030.01616.31
7.4.80.0090.00919.39
7.4.70.0030.01416.45
7.4.60.0070.01016.17
7.4.50.0030.00616.12
7.4.40.0060.00722.77
7.4.30.0070.01016.45
7.4.00.0100.00614.62
7.3.330.0030.00313.17
7.3.320.0000.00713.18
7.3.310.0030.00316.25
7.3.300.0030.00315.97
7.3.290.0140.00016.17
7.3.280.0110.00516.11
7.3.270.0070.01017.40
7.3.260.0090.01018.24
7.3.250.0100.00816.36
7.3.240.0150.00616.21
7.3.230.0060.01016.39
7.3.210.0070.01016.18
7.3.200.0090.00919.39
7.3.190.0110.00616.28
7.3.180.0120.00316.28
7.3.170.0130.00316.35
7.3.160.0000.01416.16
7.3.120.0060.00914.62
7.2.330.0120.00616.31
7.2.320.0150.00416.28
7.2.310.0030.01316.18
7.2.300.0030.01316.24
7.2.290.0160.00616.58
7.2.00.0030.01018.82
7.1.200.0030.00915.32
7.1.100.0060.00317.62
7.1.70.0020.00516.93
7.1.60.0130.01019.40
7.1.50.0030.01616.60
7.1.00.0000.03722.43
7.0.200.0030.00316.32
7.0.140.0000.07722.08
7.0.60.0170.07319.93
7.0.50.0130.05317.85
7.0.40.0000.06320.18
7.0.30.0300.04020.25
7.0.20.0270.06020.33
7.0.10.0300.08020.14
7.0.00.0100.04020.16
5.6.280.0000.07720.85
5.6.210.0070.08320.66
5.6.200.0100.06018.23
5.6.190.0130.06720.40
5.6.180.0370.07020.48
5.6.170.0270.03720.54
5.6.160.0130.07720.47
5.6.150.0070.08018.23
5.6.140.0030.05718.27
5.6.130.0070.04718.18
5.6.120.0100.06721.00
5.6.110.0200.05321.14
5.6.100.0070.05320.97
5.6.90.0030.04320.96
5.6.80.0170.05720.53
5.6.70.0270.07720.39
5.5.350.0330.07320.47
5.5.340.0070.08317.95
5.5.330.0030.04020.37
5.5.320.0200.07020.41
5.5.310.0330.07020.50
5.5.300.0070.08318.07
5.5.290.0130.07717.96
5.5.280.0130.06320.87
5.5.270.0070.04720.64
5.5.260.0200.06320.94
5.5.250.0170.06720.77
5.5.240.0100.07020.34
5.4.450.0130.06019.54
5.4.440.0270.04719.38
5.4.430.0300.07019.18
5.4.420.0100.05719.32
5.4.410.0130.06719.01
5.4.400.0270.05018.67
5.4.390.0270.05018.71
5.4.380.0230.05718.83
5.4.370.0070.05018.68
5.4.360.0200.03718.53
5.4.350.0050.03812.01
5.4.340.0060.03812.00
5.4.320.0080.03512.49
5.4.310.0040.04012.48
5.4.300.0070.03612.49
5.4.290.0060.04512.49
5.4.280.0070.03812.39
5.4.270.0040.04612.38
5.4.260.0040.04312.39
5.4.250.0070.04312.39
5.4.240.0070.03812.39
5.4.230.0050.05512.38
5.4.220.0090.04312.38
5.4.210.0070.04512.38
5.4.200.0150.04612.37
5.4.190.0110.03812.37
5.4.180.0110.04012.37
5.4.170.0100.04012.38
5.4.160.0120.03712.38
5.4.150.0100.04312.37
5.4.140.0160.06012.05
5.4.130.0120.04512.05
5.4.120.0100.04612.00
5.4.110.0110.04712.00
5.4.100.0130.05012.00
5.4.90.0100.04612.00
5.4.80.0100.04412.00
5.4.70.0180.05511.99
5.4.60.0070.04611.99
5.4.50.0130.04411.99
5.4.40.0120.04211.98
5.4.30.0130.04411.98
5.4.20.0160.06011.98
5.4.10.0120.03811.98
5.4.00.0100.03811.46
5.3.290.0070.04112.80
5.3.280.0130.06412.71
5.3.270.0080.04512.72
5.3.260.0100.04412.72
5.3.250.0080.04412.72
5.3.240.0110.05112.72
5.3.230.0110.04612.71
5.3.220.0130.05012.68
5.3.210.0110.04212.68
5.3.200.0060.04412.68
5.3.190.0090.04512.68
5.3.180.0140.06912.67
5.3.170.0110.04612.67
5.3.160.0070.04512.67
5.3.150.0110.04012.67
5.3.140.0100.04212.66
5.3.130.0150.04612.66
5.3.120.0120.04512.66
5.3.110.0120.04112.66
5.3.100.0120.03812.12
5.3.90.0140.04412.09
5.3.80.0100.04012.08
5.3.70.0110.03912.08
5.3.60.0110.04012.07
5.3.50.0140.05712.01
5.3.40.0110.04212.01
5.3.30.0130.04211.97
5.3.20.0130.04111.75
5.3.10.0100.04211.71
5.3.00.0140.05211.70

preferences:
37.26 ms | 401 KiB | 5 Q