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 ((string) new ReflectionClass ('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.0040.01118.14
8.3.40.0030.01718.69
8.3.30.0090.00618.72
8.3.20.0080.00020.09
8.3.10.0040.00420.45
8.3.00.0070.00023.48
8.2.180.0190.00316.50
8.2.170.0110.00322.96
8.2.160.0090.00622.17
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0090.00020.73
8.2.120.0090.00026.35
8.2.110.0030.00722.03
8.2.100.0000.01217.90
8.2.90.0080.00019.27
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0000.00817.80
8.2.50.0000.01118.09
8.2.40.0070.00022.10
8.2.30.0000.00719.43
8.2.20.0040.00417.56
8.2.10.0070.00017.92
8.2.00.0000.00718.00
8.1.280.0100.01025.92
8.1.270.0000.00722.18
8.1.260.0080.00028.09
8.1.250.0050.00228.09
8.1.240.0140.00724.00
8.1.230.0070.00317.58
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0000.00817.00
8.1.180.0020.00518.10
8.1.170.0080.00018.54
8.1.160.0000.00720.59
8.1.150.0030.00318.75
8.1.140.0040.00419.51
8.1.130.0040.00417.52
8.1.120.0070.00017.38
8.1.110.0040.00417.30
8.1.100.0080.00017.33
8.1.90.0000.00717.43
8.1.80.0000.00717.27
8.1.70.0070.00017.29
8.1.60.0030.00617.51
8.1.50.0030.00617.37
8.1.40.0040.00417.46
8.1.30.0080.00017.54
8.1.20.0040.00417.41
8.1.10.0040.00417.48
8.1.00.0080.00017.43
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.39
8.0.270.0000.00717.10
8.0.260.0030.00317.13
8.0.250.0070.00016.79
8.0.240.0040.00416.84
8.0.230.0020.00516.86
8.0.220.0050.00216.69
8.0.210.0030.00516.74
8.0.200.0040.00416.77
8.0.190.0030.00316.70
8.0.180.0040.00416.67
8.0.170.0050.00316.68
8.0.160.0070.00016.83
8.0.150.0050.00216.76
8.0.140.0060.00316.63
8.0.130.0030.00313.14
8.0.120.0080.00016.79
8.0.110.0070.00016.79
8.0.100.0000.00816.75
8.0.90.0040.00416.64
8.0.80.0060.00916.70
8.0.70.0040.00416.73
8.0.60.0040.00416.80
8.0.50.0000.00716.61
8.0.30.0120.00716.97
8.0.20.0080.01117.40
8.0.10.0000.00717.01
8.0.00.0120.00716.67
7.4.330.0050.00016.86
7.4.320.0030.00316.52
7.4.300.0070.00016.52
7.4.290.0080.00016.32
7.4.280.0070.00016.55
7.4.270.0040.00416.57
7.4.260.0000.00716.44
7.4.250.0040.00416.50
7.4.240.0070.00016.53
7.4.230.0000.00716.27
7.4.220.0210.00616.54
7.4.210.0030.01216.50
7.4.200.0050.00316.42
7.4.160.0090.00616.35
7.4.150.0090.00917.40
7.4.140.0050.01317.86
7.4.130.0080.01616.50
7.4.120.0090.00916.50
7.4.110.0160.02516.57
7.4.100.0110.00716.48
7.4.90.0110.00816.42
7.4.80.0100.00619.39
7.4.70.0100.00616.50
7.4.60.0070.01416.63
7.4.50.0070.00716.36
7.4.40.0060.01116.41
7.4.30.0170.00016.37
7.4.10.0120.00614.68
7.4.00.0060.01014.93
7.3.330.0020.00213.24
7.3.320.0000.00513.21
7.3.310.0030.00316.13
7.3.300.0030.00316.09
7.3.290.0000.00716.24
7.3.280.0090.00716.22
7.3.270.0120.00617.40
7.3.260.0100.00716.24
7.3.250.0150.01016.41
7.3.240.0090.00816.19
7.3.230.0090.01216.39
7.3.210.0080.00816.48
7.3.200.0170.00616.19
7.3.190.0100.00716.59
7.3.180.0070.01016.20
7.3.170.0100.00616.20
7.3.160.0080.00816.63
7.3.130.0030.01614.48
7.3.120.0080.00914.54
7.3.110.0060.01114.65
7.3.100.0060.01114.82
7.3.90.0090.00714.52
7.3.80.0040.00914.61
7.3.70.0050.00814.55
7.3.60.0050.00614.66
7.3.50.0080.00614.65
7.3.40.0050.00914.69
7.3.30.0040.00914.59
7.3.20.0070.00916.70
7.3.10.0070.00916.46
7.3.00.0030.00816.33
7.2.330.0090.00916.41
7.2.320.0120.00916.43
7.2.310.0080.00816.59
7.2.300.0110.00816.38
7.2.290.0100.00616.65
7.2.260.0070.01015.07
7.2.250.0090.01015.02
7.2.240.0030.01114.90
7.2.230.0060.00914.77
7.2.220.0080.00815.01
7.2.210.0050.00814.65
7.2.200.0040.01114.97
7.2.190.0060.00814.94
7.2.180.0060.00814.89
7.2.170.0050.00914.91
7.2.160.0090.00614.79
7.2.150.0070.01116.75
7.2.140.0060.00816.78
7.2.130.0060.00616.65
7.2.120.0020.00916.72
7.2.110.0080.00916.84
7.2.100.0040.01016.79
7.2.90.0100.00316.88
7.2.80.0080.00316.51
7.2.70.0070.00716.76
7.2.60.0050.00716.68
7.2.50.0050.00716.80
7.2.40.0050.01016.61
7.2.30.0070.00716.87
7.2.20.0100.00616.72
7.2.10.0060.00916.70
7.2.00.0050.00717.19
7.1.330.0050.00915.81
7.1.320.0050.01215.52
7.1.310.0040.00715.59
7.1.300.0060.00815.50
7.1.290.0050.00515.49
7.1.280.0060.00515.67
7.1.270.0030.01015.65
7.1.260.0070.00615.69
7.1.250.0080.00515.71
7.1.240.0050.00915.68
7.1.230.0050.00815.52
7.1.220.0060.00615.58
7.1.210.0050.00815.78
7.1.200.0020.01015.70
7.1.190.0020.00815.63
7.1.180.0060.00515.72
7.1.170.0020.01215.67
7.1.160.0060.00815.73
7.1.150.0100.00515.67
7.1.140.0060.01115.50
7.1.130.0080.00515.47
7.1.120.0000.01515.57
7.1.110.0060.00515.69
7.1.100.0070.00616.43
7.1.90.0090.00815.72
7.1.80.0040.01215.66
7.1.70.0020.00816.13
7.1.60.0090.00816.94
7.1.50.0070.00816.03
7.1.40.0090.00515.59
7.1.30.0020.01415.72
7.1.20.0070.00415.54
7.1.10.0020.00915.75
7.1.00.0100.02817.96
7.0.330.0040.00915.41
7.0.320.0050.00915.30
7.0.310.0050.00815.29
7.0.300.0080.00415.36
7.0.290.0070.00715.22
7.0.280.0050.00815.42
7.0.270.0030.00815.34
7.0.260.0060.00415.26
7.0.250.0080.00615.33
7.0.240.0030.00915.21
7.0.230.0050.01115.39
7.0.220.0090.00315.28
7.0.210.0050.00815.21
7.0.200.0160.01015.11
7.0.190.0100.00215.44
7.0.180.0050.01215.12
7.0.170.0060.00815.39
7.0.160.0040.00915.23
7.0.150.0080.00315.23
7.0.140.0040.01215.21
7.0.130.0070.00815.44
7.0.120.0060.00615.29
7.0.110.0030.00915.35
7.0.100.0040.00915.22
7.0.90.0060.00815.34
7.0.80.0060.00715.45
7.0.70.0060.00515.20
7.0.60.0170.02916.88
7.0.50.0040.02516.31
7.0.40.0070.03115.66
7.0.30.0130.02715.72
7.0.20.0100.02715.67
7.0.10.0050.03515.65
7.0.00.0050.03315.68
5.6.400.0030.00814.20
5.6.390.0020.01114.47
5.6.380.0030.00814.02
5.6.370.0050.00514.14
5.6.360.0090.00614.23
5.6.350.0080.00614.40
5.6.340.0090.00614.06
5.6.330.0050.00714.45
5.6.320.0090.00514.18
5.6.310.0070.00714.31
5.6.300.0080.00514.28
5.6.290.0080.00514.58
5.6.280.0050.01716.63
5.6.270.0030.00714.26
5.6.260.0070.00414.20
5.6.250.0070.00314.20
5.6.240.0110.00414.14
5.6.230.0050.00814.41
5.6.220.0060.00814.11
5.6.210.0150.02116.34
5.6.200.0060.03315.61
5.6.190.0070.03016.29
5.6.180.0110.02016.29
5.6.170.0090.02316.23
5.6.160.0060.03316.25
5.6.150.0030.02215.59
5.6.140.0080.02515.51
5.6.130.0070.01815.59
5.6.120.0080.02516.51
5.6.110.0110.02716.48
5.6.100.0060.01816.59
5.6.90.0120.02116.54
5.6.80.0090.02816.34
5.6.70.0080.00614.01
5.6.60.0050.00714.07
5.6.50.0120.00314.29
5.6.40.0090.00714.08
5.6.30.0060.00514.05
5.6.20.0060.00814.27
5.6.10.0100.00314.17
5.6.00.0040.00814.11
5.5.380.0040.00614.08
5.5.370.0090.00614.19
5.5.360.0000.01214.29
5.5.350.0120.02616.25
5.5.340.0050.03415.38
5.5.330.0060.02116.39
5.5.320.0100.02216.06
5.5.310.0110.03216.38
5.5.300.0090.02515.41
5.5.290.0030.02215.41
5.5.280.0070.03416.27
5.5.270.0070.01616.31
5.5.260.0070.02116.56
5.5.250.0110.02616.36
5.5.240.0140.02916.12
5.5.230.0050.01214.15
5.5.220.0020.01314.34
5.5.210.0040.00714.24
5.5.200.0080.00714.23
5.5.190.0020.01214.13
5.5.180.0070.00814.01
5.5.170.0070.00714.19
5.5.160.0060.00614.11
5.5.150.0040.00914.12
5.5.140.0100.00014.19
5.5.130.0070.00514.13
5.5.120.0060.00614.27
5.5.110.0040.00814.08
5.5.100.0020.00914.05
5.5.90.0030.00813.81
5.5.80.0100.00414.15
5.5.70.0080.00713.99
5.5.60.0060.00414.09
5.5.50.0050.00614.00
5.5.40.0060.00714.01
5.5.30.0040.01114.14
5.5.20.0070.00914.09
5.5.10.0020.01214.20
5.5.00.0080.00414.14

preferences:
57.35 ms | 401 KiB | 5 Q