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 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.01318.52
8.3.50.0110.00417.93
8.3.40.0000.01418.71
8.3.30.0060.00918.47
8.3.20.0040.00420.04
8.3.10.0040.00420.69
8.3.00.0030.00621.68
8.2.180.0100.01016.50
8.2.170.0140.01022.96
8.2.160.0130.00022.20
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00420.88
8.2.120.0040.00426.35
8.2.110.0100.00019.30
8.2.100.0000.01117.93
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0030.00517.80
8.2.50.0090.00019.20
8.2.40.0050.00322.16
8.2.30.0000.00819.48
8.2.20.0000.00717.73
8.2.10.0070.00017.98
8.2.00.0080.00017.98
8.1.280.0110.00425.92
8.1.270.0070.00022.20
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0030.00623.96
8.1.230.0000.01217.52
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.01017.22
8.1.190.0000.00817.22
8.1.180.0030.00618.10
8.1.170.0060.00318.70
8.1.160.0060.00320.63
8.1.150.0000.00718.74
8.1.140.0000.00819.34
8.1.130.0000.00717.48
8.1.120.0040.00417.32
8.1.110.0040.00417.36
8.1.100.0000.00717.23
8.1.90.0030.00517.29
8.1.80.0050.00317.30
8.1.70.0030.00317.27
8.1.60.0000.00817.54
8.1.50.0000.00817.37
8.1.40.0040.00417.41
8.1.30.0050.00517.54
8.1.20.0040.00417.33
8.1.10.0000.00817.51
8.1.00.0050.00217.34
8.0.300.0000.00818.77
8.0.290.0040.00416.88
8.0.280.0070.00018.42
8.0.270.0050.00217.17
8.0.260.0000.00717.31
8.0.250.0060.00017.04
8.0.240.0000.00816.99
8.0.230.0050.00317.01
8.0.220.0040.00416.91
8.0.210.0070.00016.75
8.0.200.0000.00716.91
8.0.190.0000.00716.93
8.0.180.0000.00916.93
8.0.170.0020.00516.79
8.0.160.0030.00416.89
8.0.150.0030.00516.81
8.0.140.0050.00316.75
8.0.130.0000.00513.27
8.0.120.0040.00416.87
8.0.110.0000.00716.80
8.0.100.0000.00716.82
8.0.90.0080.00016.66
8.0.80.0070.01516.85
8.0.70.0040.00416.87
8.0.60.0000.00716.74
8.0.50.0040.00416.83
8.0.30.0100.01017.24
8.0.20.0090.00917.40
8.0.10.0080.00016.91
8.0.00.0060.01216.65
7.4.330.0050.00016.92
7.4.320.0060.00016.53
7.4.300.0060.00016.45
7.4.290.0040.00416.41
7.4.280.0040.00416.52
7.4.270.0000.00716.54
7.4.260.0070.00016.43
7.4.250.0070.00016.52
7.4.240.0000.00716.50
7.4.230.0030.00316.33
7.4.220.0090.01016.50
7.4.210.0020.01616.56
7.4.200.0070.00016.61
7.4.160.0130.00316.60
7.4.150.0150.00917.40
7.4.140.0100.01217.86
7.4.130.0120.00916.47
7.4.120.0110.00816.48
7.4.110.0070.01016.46
7.4.100.0130.00916.39
7.4.90.0170.00316.43
7.4.80.0110.00819.39
7.4.70.0080.00816.35
7.4.60.0120.00616.60
7.4.50.0100.00316.38
7.4.40.0100.00616.66
7.4.30.0120.00616.57
7.4.10.0000.01414.91
7.4.00.0060.01114.75
7.3.330.0000.00513.29
7.3.320.0050.00013.19
7.3.310.0000.00716.24
7.3.300.0030.00316.27
7.3.290.0000.00716.34
7.3.280.0090.00816.28
7.3.270.0100.00717.40
7.3.260.0070.01016.37
7.3.250.0090.00816.44
7.3.240.0090.00716.35
7.3.230.0120.00616.39
7.3.210.0060.00916.55
7.3.200.0120.00916.63
7.3.190.0070.01016.37
7.3.180.0070.01016.40
7.3.170.0060.01316.32
7.3.160.0030.01316.27
7.3.130.0070.01014.94
7.3.120.0060.01014.64
7.3.110.0120.00314.98
7.3.100.0000.01514.88
7.3.90.0030.01414.44
7.3.80.0030.01014.77
7.3.70.0110.00014.53
7.3.60.0000.01214.57
7.3.50.0000.00914.40
7.3.40.0030.01314.80
7.3.30.0030.01314.77
7.3.20.0070.01016.46
7.3.10.0030.01016.48
7.3.00.0100.00316.57
7.2.330.0120.00616.66
7.2.320.0120.01016.26
7.2.310.0030.01416.52
7.2.300.0110.00516.55
7.2.290.0050.01116.66
7.2.260.0060.01214.89
7.2.250.0070.01115.07
7.2.240.0120.00315.10
7.2.230.0140.00315.01
7.2.220.0070.01014.73
7.2.210.0080.00614.79
7.2.200.0000.01514.66
7.2.190.0000.01314.99
7.2.180.0120.00314.63
7.2.170.0130.00315.02
7.2.160.0070.01114.56
7.2.150.0030.01017.05
7.2.140.0080.00816.66
7.2.130.0050.00516.62
7.2.120.0050.00816.78
7.2.110.0050.00816.79
7.2.100.0060.00816.76
7.2.90.0080.00616.79
7.2.80.0070.00916.63
7.2.70.0060.00816.79
7.2.60.0060.00816.72
7.2.50.0130.00416.84
7.2.40.0120.00516.83
7.2.30.0080.00916.82
7.2.20.0040.01116.85
7.2.10.0060.00516.88
7.2.00.0130.00417.54
7.1.330.0080.00515.27
7.1.320.0030.01215.88
7.1.310.0030.01015.92
7.1.300.0000.00915.54
7.1.290.0090.00315.42
7.1.280.0090.00915.66
7.1.270.0040.00715.57
7.1.260.0030.01015.68
7.1.250.0020.01215.57
7.1.240.0040.01215.90
7.1.230.0030.01015.37
7.1.220.0080.00515.61
7.1.210.0070.00715.44
7.1.200.0070.00615.44
7.1.190.0030.00615.83
7.1.180.0040.01115.80
7.1.170.0060.00615.73
7.1.160.0040.00815.75
7.1.150.0060.00315.44
7.1.140.0040.01115.53
7.1.130.0110.00415.79
7.1.120.0000.00915.92
7.1.110.0060.00915.54
7.1.100.0000.01216.82
7.1.90.0080.00815.66
7.1.80.0040.00715.91
7.1.70.0060.00916.33
7.1.60.0050.01417.55
7.1.50.0050.01116.13
7.1.40.0130.00315.75
7.1.30.0090.00915.49
7.1.20.0090.00915.23
7.1.10.0060.00915.83
7.1.00.0050.04219.02
7.0.330.0040.00415.04
7.0.320.0000.01315.32
7.0.310.0080.00415.38
7.0.300.0110.00715.04
7.0.290.0070.00315.40
7.0.280.0040.00715.12
7.0.270.0120.00315.23
7.0.260.0060.00615.34
7.0.250.0060.00615.14
7.0.240.0030.00615.39
7.0.230.0000.01115.41
7.0.220.0120.00315.38
7.0.210.0030.00715.38
7.0.200.0300.00514.96
7.0.190.0110.00315.18
7.0.180.0120.00015.41
7.0.170.0100.00715.30
7.0.160.0130.00315.29
7.0.150.0070.00615.31
7.0.140.0040.00815.48
7.0.130.0090.00915.43
7.0.120.0030.00915.53
7.0.110.0040.01215.36
7.0.100.0040.01115.44
7.0.90.0060.00615.54
7.0.80.0000.00915.54
7.0.70.0110.00415.39
7.0.60.0200.04017.61
7.0.50.0050.04616.62
7.0.40.0050.04216.70
7.0.30.0120.02216.92
7.0.20.0220.03816.65
7.0.10.0090.04116.75
7.0.00.0090.03216.70
5.6.400.0040.01014.12
5.6.390.0100.00014.13
5.6.380.0000.01414.08
5.6.370.0070.00414.11
5.6.360.0000.01214.20
5.6.350.0030.01014.29
5.6.340.0030.01314.27
5.6.330.0070.00314.13
5.6.320.0040.01114.18
5.6.310.0090.00614.18
5.6.300.0100.00614.26
5.6.290.0120.00314.32
5.6.280.0060.03117.54
5.6.270.0030.00914.39
5.6.260.0070.01014.15
5.6.250.0040.00414.40
5.6.240.0040.01114.40
5.6.230.0030.01314.25
5.6.220.0070.00714.35
5.6.210.0060.03417.34
5.6.200.0020.03216.19
5.6.190.0080.03217.28
5.6.180.0170.02217.24
5.6.170.0170.02817.46
5.6.160.0080.03217.39
5.6.150.0080.04316.18
5.6.140.0130.03516.43
5.6.130.0040.02416.23
5.6.120.0050.03717.74
5.6.110.0060.04317.58
5.6.100.0030.02517.56
5.6.90.0080.04517.51
5.6.80.0100.03517.35
5.6.70.0080.00014.27
5.6.60.0000.01414.13
5.6.50.0090.00614.15
5.6.40.0110.00414.28
5.6.30.0040.00414.20
5.6.20.0070.01014.07
5.6.10.0000.01513.98
5.6.00.0110.00414.06
5.5.380.0090.00914.17
5.5.370.0040.00714.40
5.5.360.0060.00914.37
5.5.350.0180.04017.14
5.5.340.0050.03316.04
5.5.330.0030.03117.22
5.5.320.0320.03817.23
5.5.310.0200.03517.29
5.5.300.0080.03716.00
5.5.290.0040.02616.11
5.5.280.0130.03917.53
5.5.270.0070.04617.45
5.5.260.0060.02617.55
5.5.250.0090.04417.21
5.5.240.0150.03017.26
5.5.230.0070.00414.18
5.5.220.0030.01314.11
5.5.210.0080.00614.00
5.5.200.0090.00614.09
5.5.190.0070.00813.98
5.5.180.0060.01014.18
5.5.170.0100.00414.24
5.5.160.0070.01114.08
5.5.150.0070.01014.13
5.5.140.0100.00314.34
5.5.130.0080.00414.32
5.5.120.0040.00814.03
5.5.110.0060.00313.91
5.5.100.0070.00714.20
5.5.90.0060.00914.18
5.5.80.0090.00614.06
5.5.70.0090.00614.08
5.5.60.0040.00414.09
5.5.50.0040.00413.95
5.5.40.0030.00614.05
5.5.30.0030.01014.34
5.5.20.0030.00614.05
5.5.10.0080.00314.39
5.5.00.0140.00014.37

preferences:
100.42 ms | 400 KiB | 5 Q