3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BugReportMailrcConfigTests { /** @var string */ private $s1 = <<<STRING I'm a string :( STRING; /** @var string */ private $s2 = <<<'STRING' I'm a string :) STRING; /** @var string */ private $s3 = 'I\'m a string :)'; } $ref = new \ReflectionClass(BugReportMailrcConfigTests::class); $s1 = $ref->getProperty('s1'); var_dump($s1->getDocComment()); $s2 = $ref->getProperty('s2'); var_dump($s2->getDocComment()); $s3 = $ref->getProperty('s3'); var_dump($s2->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.40.0090.00618.84
8.3.30.0070.01118.73
8.3.20.0040.00420.72
8.3.10.0080.00021.92
8.3.00.0070.00021.95
8.2.170.0040.01118.71
8.2.160.0140.00722.96
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00319.56
8.2.110.0050.00521.00
8.2.100.0060.00617.72
8.2.90.0050.00317.90
8.2.80.0070.00019.20
8.2.70.0030.00817.50
8.2.60.0000.01019.63
8.2.50.0000.00818.07
8.2.40.0000.00818.22
8.2.30.0070.00217.88
8.2.20.0000.00718.04
8.2.10.0000.00819.14
8.2.00.0000.00719.18
8.1.270.0040.00420.87
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0070.00322.33
8.1.230.0000.01220.85
8.1.220.0050.00317.74
8.1.210.0000.00818.80
8.1.200.0070.00317.23
8.1.190.0000.00717.23
8.1.180.0000.00918.10
8.1.170.0060.00318.53
8.1.160.0000.00718.74
8.1.150.0000.00819.03
8.1.140.0000.00720.61
8.1.130.0040.00420.23
8.1.120.0070.00017.43
8.1.110.0030.00317.40
8.1.100.0030.00517.37
8.1.90.0040.00317.39
8.1.80.0080.00017.40
8.1.70.0030.00617.36
8.1.60.0000.00817.53
8.1.50.0000.00717.52
8.1.40.0060.00317.41
8.1.30.0030.00617.42
8.1.20.0000.00717.62
8.1.10.0050.00317.41
8.1.00.0030.00717.34
8.0.300.0040.00419.91
8.0.290.0070.00016.75
8.0.280.0000.00818.39
8.0.270.0000.00817.95
8.0.260.0030.00319.93
8.0.250.0000.00716.84
8.0.240.0000.00816.92
8.0.230.0030.00516.97
8.0.220.0040.00416.91
8.0.210.0000.00716.81
8.0.200.0030.00317.00
8.0.190.0030.00316.93
8.0.180.0000.00716.98
8.0.170.0000.00916.81
8.0.160.0000.00916.96
8.0.150.0050.00216.80
8.0.140.0060.00316.89
8.0.130.0050.00013.30
8.0.120.0040.00416.82
8.0.110.0030.00516.84
8.0.100.0050.00216.71
8.0.90.0030.00616.94
8.0.80.0110.00516.87
8.0.70.0030.00316.76
8.0.60.0000.00816.94
8.0.50.0030.00516.78
8.0.30.0130.00617.03
8.0.20.0090.01316.83
8.0.10.0060.00317.02
8.0.00.0120.00616.83
7.4.330.0000.00516.76
7.4.320.0000.00716.49
7.4.300.0030.00316.59
7.4.290.0030.00616.54
7.4.280.0050.00216.50
7.4.270.0030.00316.55
7.4.260.0000.00613.25
7.4.250.0000.00816.53
7.4.240.0040.00416.40
7.4.230.0030.00316.62
7.4.220.0020.00516.63
7.4.210.0090.00916.53
7.4.200.0000.00716.55
7.4.130.0100.00716.34
7.4.120.0150.00916.50
7.4.110.0090.00916.37
7.4.100.0110.00616.42
7.4.90.0060.01116.53
7.4.80.0090.01219.39
7.4.70.0060.01016.57
7.4.60.0090.00916.39
7.4.50.0150.00316.31
7.4.40.0080.00816.46
7.4.10.0060.01216.19
7.4.00.0060.01116.39
7.3.330.0040.00416.27
7.3.320.0000.00513.21
7.3.310.0050.00216.20
7.3.300.0030.00316.25
7.3.290.0100.00716.22
7.3.260.0070.01016.49
7.3.240.0110.00716.39
7.3.230.0080.00816.44
7.3.210.0000.01616.15
7.3.200.0030.01316.31
7.3.190.0100.00716.21
7.3.180.0060.01016.34
7.3.170.0070.01016.26
7.3.160.0080.01116.20
7.3.130.0100.01016.19
7.3.120.0090.00916.00
7.3.110.0040.01216.10
7.3.100.0060.01016.20
7.3.90.0100.00716.19
7.3.80.0120.00416.59
7.3.70.0060.00916.12
7.3.60.0070.00716.14
7.3.50.0050.01016.24
7.3.40.0090.01316.31
7.3.30.0100.00716.31
7.3.20.0030.01316.23
7.3.10.0080.00816.46
7.3.00.0090.01216.19
7.2.330.0110.00716.25
7.2.320.0030.01316.37
7.2.310.0030.01516.35
7.2.300.0160.00716.60
7.2.290.0130.00916.36
7.2.260.0090.01216.35
7.2.250.0050.01016.68
7.2.240.0080.00816.32
7.2.230.0040.01116.58
7.2.220.0080.00816.48
7.2.210.0060.01516.46
7.2.200.0000.01416.39
7.2.190.0080.00816.33
7.2.180.0090.00916.48
7.2.170.0130.00316.48
7.2.160.0000.01516.47
7.2.150.0210.03016.58
7.2.140.0120.00316.49
7.2.130.0180.01216.55
7.2.120.0090.00916.33
7.2.110.0060.01116.27
7.2.100.0120.00616.54
7.2.90.0100.00616.43
7.2.80.0100.00716.56
7.2.70.0130.00616.59
7.2.60.0030.01316.37
7.2.50.0040.01416.45
7.2.40.0140.00316.30
7.2.30.0130.00316.46
7.2.20.0070.01016.48
7.2.10.0030.01516.33
7.2.00.0090.00616.49

preferences:
48.83 ms | 400 KiB | 5 Q