3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * ClassDocComment * * @copyright Copyright (c) 2011 * @author author * @see http://php.net */ class ClassDocComment { } echo (new ReflectionClass ('ClassDocComment'))->getDocComment(); var_dump (new ClassDocComment);

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.0100.01018.31
8.3.50.0090.00922.05
8.3.40.0110.00418.76
8.3.30.0070.00718.50
8.3.20.0000.00820.16
8.3.10.0030.00520.41
8.3.00.0040.00421.91
8.2.180.0070.01016.32
8.2.170.0160.00622.96
8.2.160.0030.01022.31
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0060.00320.61
8.2.120.0040.00426.35
8.2.110.0100.00020.57
8.2.100.0060.00617.72
8.2.90.0050.00319.20
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0040.00418.09
8.2.40.0000.00922.30
8.2.30.0070.00019.23
8.2.20.0020.00517.67
8.2.10.0090.00017.80
8.2.00.0040.00417.96
8.1.280.0040.01125.92
8.1.270.0070.00022.14
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0030.00622.14
8.1.230.0050.00517.45
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0000.00917.10
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.00818.39
8.1.160.0000.00720.54
8.1.150.0060.00318.80
8.1.140.0030.00519.36
8.1.130.0030.00317.54
8.1.120.0040.00317.36
8.1.110.0040.00417.35
8.1.100.0070.00017.32
8.1.90.0040.00417.27
8.1.80.0050.00217.23
8.1.70.0000.00717.30
8.1.60.0050.00317.45
8.1.50.0000.00817.37
8.1.40.0060.00317.33
8.1.30.0060.00317.40
8.1.20.0080.00017.28
8.1.10.0090.00017.54
8.1.00.0030.00517.36
8.0.300.0060.00318.77
8.0.290.0030.00516.63
8.0.280.0030.00318.42
8.0.270.0060.00317.24
8.0.260.0030.00317.25
8.0.250.0000.00616.91
8.0.240.0000.00716.94
8.0.230.0040.00416.81
8.0.220.0000.00716.80
8.0.210.0040.00416.68
8.0.200.0000.00716.82
8.0.190.0050.00316.86
8.0.180.0000.00816.84
8.0.170.0040.00416.77
8.0.160.0070.00016.68
8.0.150.0090.00016.77
8.0.140.0040.00416.59
8.0.130.0000.00513.12
8.0.120.0040.00416.64
8.0.110.0000.00716.66
8.0.100.0040.00416.75
8.0.90.0030.00316.64
8.0.80.0030.01716.68
8.0.70.0050.00216.73
8.0.60.0080.00016.78
8.0.50.0070.00016.64
8.0.30.0060.01216.94
8.0.20.0120.00617.40
8.0.10.0040.00416.73
8.0.00.0080.01116.82
7.4.330.0020.00216.73
7.4.320.0030.00316.38
7.4.300.0030.00316.38
7.4.290.0040.00416.37
7.4.280.0050.00316.25
7.4.270.0000.00716.48
7.4.260.0050.00316.44
7.4.250.0070.00016.31
7.4.240.0070.00016.41
7.4.230.0000.00616.36
7.4.220.0060.01216.42
7.4.210.0090.00716.39
7.4.200.0040.00416.31
7.4.160.0110.00416.48
7.4.150.0130.00317.40
7.4.140.0130.00917.86
7.4.130.0070.01416.41
7.4.120.0040.01316.30
7.4.110.0090.00616.41
7.4.100.0130.01016.36
7.4.90.0120.00616.31
7.4.80.0100.01019.39
7.4.70.0100.00716.51
7.4.60.0110.00516.33
7.4.50.0100.00316.46
7.4.40.0090.00616.32
7.4.30.0100.00716.46
7.4.00.0070.01114.67
7.3.330.0000.00513.24
7.3.320.0000.00613.19
7.3.310.0070.00016.15
7.3.300.0060.00016.05
7.3.290.0070.00016.03
7.3.280.0110.00816.15
7.3.270.0100.00717.40
7.3.260.0130.00316.43
7.3.250.0100.00616.27
7.3.240.0070.01316.15
7.3.230.0090.00916.39
7.3.210.0100.00816.24
7.3.200.0120.00916.38
7.3.190.0120.00616.20
7.3.180.0090.00916.30
7.3.170.0130.00316.23
7.3.160.0130.00316.57
7.2.330.0110.00716.64
7.2.320.0060.01316.54
7.2.310.0000.01616.41
7.2.300.0080.01116.61
7.2.290.0100.00616.37
7.2.00.0030.00919.31
7.1.200.0030.00615.73
7.1.100.0080.00317.72
7.1.70.0000.00816.68
7.1.60.0150.00919.40
7.1.50.0030.01716.76
7.1.00.0070.07322.54
7.0.200.0430.01014.59
7.0.60.0230.06319.86
7.0.50.0070.07717.87
7.0.40.0030.04720.40
7.0.30.0230.07020.10
7.0.20.0330.08020.24
7.0.10.0030.04720.23
7.0.00.0070.07320.14
5.6.280.0030.06720.89
5.6.210.0130.06320.51
5.6.200.0030.08318.22
5.6.190.0170.06720.77
5.6.180.0270.07020.50
5.6.170.0300.04020.55
5.6.160.0130.08020.46
5.6.150.0030.08718.16
5.6.140.0130.05718.22
5.6.130.0030.04018.19
5.6.120.0100.07021.12
5.6.110.0170.08320.98
5.6.100.0100.03720.85
5.6.90.0070.08321.13
5.6.80.0070.08020.44
5.5.350.0330.07020.46
5.5.340.0070.06318.01
5.5.330.0170.07020.13
5.5.320.0470.04720.36
5.5.310.0230.04320.28
5.5.300.0030.07717.96
5.5.290.0070.08018.08
5.5.280.0070.06020.93
5.5.270.0100.08720.62
5.5.260.0200.07020.88
5.5.250.0100.07720.57
5.5.240.0300.07020.35

preferences:
40.95 ms | 401 KiB | 5 Q