3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { } $class = new ReflectionClass('foo'); $foo = $class->newInstance(['noparams']); var_dump($foo);

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.0000.01416.50
8.3.50.0050.01221.10
8.3.40.0110.00318.84
8.3.30.0080.00818.92
8.3.20.0030.00620.34
8.3.10.0080.00023.66
8.3.00.0080.00019.38
8.2.180.0090.00618.29
8.2.170.0040.01122.96
8.2.160.0130.00020.50
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0070.01126.16
8.2.120.0070.00022.13
8.2.110.0090.00022.25
8.2.100.0110.00017.78
8.2.90.0040.00419.05
8.2.80.0060.00317.97
8.2.70.0040.00417.60
8.2.60.0000.00817.80
8.2.50.0040.00418.07
8.2.40.0100.00019.87
8.2.30.0090.00018.00
8.2.20.0000.00717.56
8.2.10.0000.00717.98
8.2.00.0040.00717.72
8.1.280.0070.00725.92
8.1.270.0050.00322.01
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0090.00023.75
8.1.230.0040.00719.22
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0090.00017.23
8.1.190.0060.00317.54
8.1.180.0030.00618.10
8.1.170.0030.00620.33
8.1.160.0000.00721.91
8.1.150.0070.00018.49
8.1.140.0000.00717.44
8.1.130.0070.00017.70
8.1.120.0030.00317.39
8.1.110.0000.00717.25
8.1.100.0060.00317.43
8.1.90.0030.00717.34
8.1.80.0030.00617.34
8.1.70.0030.00317.32
8.1.60.0080.00017.55
8.1.50.0040.00417.39
8.1.40.0000.00817.42
8.1.30.0000.00817.61
8.1.20.0040.00417.67
8.1.10.0080.00017.55
8.1.00.0000.00717.57
8.0.300.0070.00020.60
8.0.290.0070.00016.92
8.0.280.0000.00818.37
8.0.270.0030.00417.19
8.0.260.0030.00317.18
8.0.250.0040.00416.87
8.0.240.0030.00316.80
8.0.230.0000.00716.86
8.0.220.0070.00016.86
8.0.210.0050.00216.83
8.0.200.0000.00616.99
8.0.190.0030.00616.96
8.0.180.0040.00416.80
8.0.170.0000.00816.90
8.0.160.0030.00316.88
8.0.150.0000.00716.79
8.0.140.0000.00716.75
8.0.130.0050.00013.33
8.0.120.0000.00816.90
8.0.110.0040.00416.85
8.0.100.0040.00416.77
8.0.90.0050.00316.84
8.0.80.0040.01116.88
8.0.70.0020.00517.00
8.0.60.0040.00416.86
8.0.50.0000.00716.84
8.0.30.0090.01116.93
8.0.20.0120.00817.40
8.0.10.0070.00017.03
8.0.00.0100.01416.88
7.4.330.0000.00515.02
7.4.320.0030.00316.44
7.4.300.0030.00316.50
7.4.290.0040.00416.46
7.4.280.0040.00416.42
7.4.270.0000.00816.64
7.4.260.0000.00716.47
7.4.250.0000.00816.36
7.4.240.0030.00516.56
7.4.230.0030.00316.38
7.4.220.0100.00916.70
7.4.210.0080.00616.56
7.4.200.0050.00216.67
7.4.190.0030.00316.46
7.4.160.0070.01016.42
7.4.150.0120.00917.40
7.4.140.0100.00817.86
7.4.130.0070.01216.51
7.4.120.0080.01016.54
7.4.110.0070.01016.56
7.4.100.0110.00516.48
7.4.90.0120.00616.51
7.4.80.0060.01119.39
7.4.70.0070.01416.48
7.4.60.0070.01016.47
7.4.50.0000.00816.30
7.4.40.0000.01422.77
7.4.30.0170.00516.26
7.4.00.0080.00814.83
7.3.330.0000.00513.21
7.3.320.0060.00013.21
7.3.310.0000.00716.25
7.3.300.0000.00816.40
7.3.290.0030.01216.25
7.3.280.0050.01316.28
7.3.270.0070.01017.40
7.3.260.0120.00616.27
7.3.250.0120.00916.32
7.3.240.0100.00716.30
7.3.230.0060.00916.44
7.3.210.0070.01116.28
7.3.200.0090.01419.39
7.3.190.0060.01316.32
7.3.180.0060.01316.28
7.3.170.0060.01216.48
7.3.160.0050.01316.62
7.3.120.0080.00315.03
7.2.330.0030.01316.59
7.2.320.0090.01516.53
7.2.310.0030.01316.81
7.2.300.0000.01616.40
7.2.290.0090.01216.66
7.2.60.0040.00716.65
7.2.00.0060.00619.45
7.1.200.0100.00015.77
7.1.100.0040.00717.79
7.1.70.0050.00217.10
7.1.60.0160.00319.46
7.1.50.0070.01516.82
7.1.00.0000.08022.47
7.0.200.0030.00316.38
7.0.140.0070.07022.08
7.0.60.0030.07719.91
7.0.50.0070.04717.84
7.0.40.0070.05720.02
7.0.30.0430.07020.06
7.0.20.0230.03320.34
7.0.10.0100.09020.22
7.0.00.0070.07720.16
5.6.210.0030.05320.59
5.6.200.0070.08318.16
5.6.190.0030.04320.58
5.6.180.0200.04020.63
5.6.170.0300.08720.51
5.6.160.0030.04320.54
5.6.150.0030.08018.21
5.6.140.0070.08018.19
5.6.130.0070.03718.28
5.6.120.0070.05321.14
5.6.110.0170.07321.01
5.6.100.0030.04021.00
5.6.90.0070.08321.07
5.6.80.0130.07720.53
5.6.70.3830.04020.38
5.5.350.0230.07720.28
5.5.340.0100.03718.04
5.5.330.0070.03720.35
5.5.320.0330.03720.20
5.5.310.0370.07320.26
5.5.300.0000.05318.01
5.5.290.0100.04017.98
5.5.280.0030.09020.98
5.5.270.0000.07320.89
5.5.260.0170.06020.86
5.5.250.0130.07020.70
5.5.240.0270.07320.27
5.4.450.0470.07019.57
5.4.440.0730.05319.57
5.4.430.0730.06019.47
5.4.420.0630.05319.59
5.4.410.0870.04319.04
5.4.400.0700.06019.14
5.4.390.0900.05019.20
5.4.380.0400.04318.61
5.4.370.0270.06018.86
5.4.360.0330.06018.75
5.4.350.0400.05318.57
5.4.340.0330.05718.50
5.4.320.0070.03612.49
5.4.310.0070.03912.49
5.4.300.0030.04412.50
5.4.290.0040.05712.48
5.4.280.0060.04812.38
5.4.270.0100.05012.38
5.4.260.0050.05012.38
5.4.250.0050.04412.37
5.4.240.0060.04112.38
5.4.230.0070.04212.36
5.4.220.0050.04512.37
5.4.210.0120.04212.37
5.4.200.0070.05012.37
5.4.190.0070.03912.36
5.4.180.0060.04012.37
5.4.170.0050.04112.38
5.4.160.0110.03412.37
5.4.150.0060.04112.37
5.4.140.0050.04212.05
5.4.130.0100.04112.04
5.4.120.0080.03611.99
5.4.110.0090.04112.00
5.4.100.0070.04911.99
5.4.90.0070.04911.99
5.4.80.0090.03911.99
5.4.70.0100.04511.99
5.4.60.0090.03811.99
5.4.50.0070.03711.99
5.4.40.0040.04011.98
5.4.30.0060.04311.97
5.4.20.0080.04611.97
5.4.10.0180.07011.97
5.4.00.0070.05911.46
5.3.290.0100.04112.80
5.3.280.0110.06012.71
5.3.270.0090.05812.72
5.3.260.0100.05512.72
5.3.250.0130.06312.72
5.3.240.0070.04012.72
5.3.230.0070.04212.71
5.3.220.0060.04312.68
5.3.210.0100.04512.68
5.3.200.0100.03712.68
5.3.190.0070.05112.68
5.3.180.0070.05412.67
5.3.170.0080.04012.67
5.3.160.0070.05512.67
5.3.150.0070.05412.68
5.3.140.0050.04512.66
5.3.130.0070.04012.66
5.3.120.0080.03912.66
5.3.110.0100.04512.66
5.3.100.0070.04612.12
5.3.90.0070.04012.10
5.3.80.0040.04212.09
5.3.70.0060.04112.09
5.3.60.0020.04412.07
5.3.50.0070.03812.02
5.3.40.0090.03912.02
5.3.30.0090.05911.97
5.3.20.0060.04811.76
5.3.10.0090.04611.73
5.3.00.0080.05211.72
5.2.170.0070.0459.21
5.2.160.0050.0459.21
5.2.150.0100.0459.22
5.2.140.0060.0539.21
5.2.130.0080.0499.17
5.2.120.0070.0429.17
5.2.110.0090.0449.18
5.2.100.0050.0439.18
5.2.90.0080.0459.18
5.2.80.0110.0559.17
5.2.70.0080.0459.17
5.2.60.0070.0439.13
5.2.50.0090.0449.09
5.2.40.0020.0439.07
5.2.30.0050.0439.04
5.2.20.0070.0399.04
5.2.10.0050.0398.94
5.2.00.0070.0378.80
5.1.60.0050.0318.09
5.1.50.0080.0318.09
5.1.40.0100.0368.06
5.1.30.0070.0308.41
5.1.20.0100.0288.44
5.1.10.0020.0308.16
5.1.00.0070.0258.16
5.0.50.0020.0236.64
5.0.40.0080.0296.50
5.0.30.0050.0316.31
5.0.20.0050.0196.27
5.0.10.0060.0216.25
5.0.00.0050.0346.25
4.4.90.0080.0164.78
4.4.80.0040.0174.76
4.4.70.0010.0224.75
4.4.60.0050.0144.75
4.4.50.0040.0154.77
4.4.40.0040.0244.71
4.4.30.0030.0154.76
4.4.20.0040.0194.85
4.4.10.0080.0174.85
4.4.00.0020.0264.76
4.3.110.0020.0184.67
4.3.100.0070.0174.67
4.3.90.0030.0164.64
4.3.80.0050.0284.59
4.3.70.0050.0144.63
4.3.60.0010.0194.63
4.3.50.0170.0304.63
4.3.40.0030.0334.54
4.3.30.0050.0203.30
4.3.20.0050.0163.28
4.3.10.0020.0203.23
4.3.00.0070.03310.54

preferences:
32.66 ms | 401 KiB | 5 Q