3v4l.org

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

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.00718.55
8.3.50.0090.00618.18
8.3.40.0120.00618.54
8.3.30.0110.00418.64
8.3.20.0000.00720.28
8.3.10.0060.00320.36
8.3.00.0040.00421.70
8.2.180.0120.00916.75
8.2.170.0040.01122.96
8.2.160.0030.01022.20
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00820.63
8.2.120.0050.00326.35
8.2.110.0060.00322.25
8.2.100.0080.00317.72
8.2.90.0040.00419.22
8.2.80.0000.00817.97
8.2.70.0030.00517.63
8.2.60.0080.00017.89
8.2.50.0080.00018.09
8.2.40.0040.00422.16
8.2.30.0000.00719.44
8.2.20.0020.00517.54
8.2.10.0000.00717.89
8.2.00.0000.00817.92
8.1.280.0040.01125.92
8.1.270.0040.01122.03
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0070.00423.77
8.1.230.0080.00321.03
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0030.00517.10
8.1.180.0080.00018.10
8.1.170.0050.00318.53
8.1.160.0000.00720.66
8.1.150.0050.00218.76
8.1.140.0050.00319.45
8.1.130.0080.00017.58
8.1.120.0040.00417.43
8.1.110.0040.00417.34
8.1.100.0000.00917.43
8.1.90.0040.00417.30
8.1.80.0020.00517.35
8.1.70.0040.00417.48
8.1.60.0000.00717.57
8.1.50.0000.00917.54
8.1.40.0080.00017.49
8.1.30.0000.00817.63
8.1.20.0040.00417.45
8.1.10.0040.00417.51
8.1.00.0040.00417.32
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00318.30
8.0.270.0030.00317.27
8.0.260.0030.00317.19
8.0.250.0030.00316.89
8.0.240.0000.00716.90
8.0.230.0030.00316.95
8.0.220.0040.00416.73
8.0.210.0040.00416.73
8.0.200.0000.00616.88
8.0.190.0030.00516.80
8.0.180.0030.00316.89
8.0.170.0000.00816.88
8.0.160.0000.00716.88
8.0.150.0050.00316.86
8.0.140.0030.00516.84
8.0.130.0030.00313.22
8.0.120.0000.00716.70
8.0.110.0000.00816.75
8.0.100.0000.00716.70
8.0.90.0040.00416.73
8.0.80.0060.01016.88
8.0.70.0070.00016.67
8.0.60.0060.00316.84
8.0.50.0000.00816.90
8.0.30.0100.00817.03
8.0.20.0110.00817.40
8.0.10.0000.00716.75
8.0.00.0070.01016.81
7.4.330.0000.00516.83
7.4.320.0030.00316.61
7.4.300.0000.00616.61
7.4.290.0030.00316.65
7.4.280.0000.00816.48
7.4.270.0030.00316.50
7.4.260.0050.00216.45
7.4.250.0030.00416.60
7.4.240.0000.00816.43
7.4.230.0030.00316.61
7.4.220.0070.01116.58
7.4.210.0060.01216.70
7.4.200.0040.00416.40
7.4.160.0060.01316.55
7.4.150.0090.01217.40
7.4.140.0110.01017.86
7.4.130.0080.01016.42
7.4.120.0070.01116.35
7.4.110.0140.00316.16
7.4.100.0090.00616.41
7.4.90.0130.00316.63
7.4.80.0140.00719.39
7.4.70.0070.01016.43
7.4.60.0080.00716.37
7.4.50.0100.00316.52
7.4.40.0080.01316.26
7.4.30.0070.01016.41
7.4.00.0040.00914.78
7.3.330.0070.00013.30
7.3.320.0030.00313.23
7.3.310.0000.00716.29
7.3.300.0030.00316.04
7.3.290.0040.01116.25
7.3.280.0080.01216.23
7.3.270.0130.00317.40
7.3.260.0170.00016.25
7.3.250.0090.00816.18
7.3.240.0160.00316.44
7.3.230.0030.01316.39
7.3.210.0040.01616.50
7.3.200.0060.01216.25
7.3.190.0060.00916.29
7.3.180.0030.01816.33
7.3.170.0060.01016.25
7.3.160.0070.00816.34
7.3.120.0090.00914.98
7.3.110.0060.00314.68
7.3.100.0040.01014.86
7.3.90.0080.00414.81
7.3.80.0000.01014.80
7.3.70.0080.00014.68
7.3.60.0070.00714.85
7.3.50.0070.00714.77
7.3.40.0000.01014.75
7.3.30.0070.00714.58
7.3.20.0100.00616.66
7.3.10.0030.01316.54
7.3.00.0070.00816.50
7.2.330.0060.01216.44
7.2.320.0040.01416.35
7.2.310.0110.01016.35
7.2.300.0120.00416.69
7.2.290.0100.00616.69
7.2.250.0060.01315.13
7.2.240.0070.01314.84
7.2.230.0060.00914.60
7.2.220.0030.00715.12
7.2.210.0100.00614.95
7.2.200.0070.00714.85
7.2.190.0040.01114.91
7.2.180.0080.00815.10
7.2.170.0060.00615.05
7.2.130.0050.01316.76
7.2.120.0070.00716.64
7.2.110.0090.00616.66
7.2.100.0060.00816.88
7.2.90.0050.01116.78
7.2.80.0050.00916.75
7.2.70.0040.00716.66
7.2.60.0080.00516.84
7.2.50.0060.00616.97
7.2.40.0030.01116.84
7.2.30.0100.00516.95
7.2.20.0060.00916.87
7.2.10.0050.01016.88
7.2.00.0050.01117.59
7.1.330.0000.01415.92
7.1.320.0000.01415.50
7.1.310.0100.00315.61
7.1.300.0040.00415.73
7.1.290.0000.00915.31
7.1.280.0100.00315.70
7.1.270.0030.00915.37
7.1.260.0040.01215.63
7.1.250.0060.00515.73
7.1.200.0190.00415.45
7.1.100.0070.00718.05
7.1.70.0060.00617.09
7.1.60.0080.00319.40
7.1.50.0040.01516.84
7.1.00.0130.06322.43
7.0.200.0190.00414.73
7.0.60.0370.06019.82
7.0.50.0070.08717.96
7.0.40.0100.09020.27
7.0.30.0270.07320.12
7.0.20.0270.04020.20
7.0.10.0100.03720.19
7.0.00.0030.04020.33
5.6.280.0030.07020.99
5.6.210.0100.07020.53
5.6.200.0130.08018.29
5.6.190.0070.05720.63
5.6.180.0300.04720.77
5.6.170.0300.04720.44
5.6.160.0070.08320.57
5.6.150.0070.05318.23
5.6.140.0000.04318.15
5.6.130.0070.08318.18
5.6.120.0030.07321.11
5.6.110.0100.07321.01
5.6.100.0230.06721.11
5.6.90.0130.06321.00
5.6.80.0070.04320.39
5.5.350.0330.05720.41
5.5.340.0100.08317.94
5.5.330.0130.04720.13
5.5.320.0330.04720.24
5.5.310.0130.05020.21
5.5.300.0070.06317.94
5.5.290.0030.07718.03
5.5.280.0130.07720.84
5.5.270.0070.08720.89
5.5.260.0030.09020.83
5.5.250.0130.08020.57
5.5.240.0230.05720.25

preferences:
32.15 ms | 400 KiB | 5 Q