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.60.0120.00318.55
8.3.50.0130.00618.00
8.3.40.0160.00018.91
8.3.30.0040.01418.81
8.3.20.0050.00220.75
8.3.10.0080.00021.92
8.3.00.0050.00321.76
8.2.180.0120.00918.51
8.2.170.0070.00722.96
8.2.160.0130.00720.27
8.2.150.0100.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0080.00322.08
8.2.100.0080.00319.52
8.2.90.0000.00819.17
8.2.80.0060.00317.97
8.2.70.0030.00517.63
8.2.60.0030.00617.80
8.2.50.0030.00618.07
8.2.40.0040.00418.09
8.2.30.0060.00319.88
8.2.20.0000.00718.09
8.2.10.0040.00419.25
8.2.00.0020.00519.18
8.1.280.0120.00625.92
8.1.270.0070.00020.80
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00020.82
8.1.230.0060.00617.42
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0060.00317.47
8.1.190.0000.00817.53
8.1.180.0040.00418.10
8.1.170.0030.00518.64
8.1.160.0040.00418.79
8.1.150.0000.00719.02
8.1.140.0040.00420.72
8.1.130.0040.00417.39
8.1.120.0030.00317.24
8.1.110.0000.00817.29
8.1.100.0040.00417.41
8.1.90.0040.00417.29
8.1.80.0000.00917.42
8.1.70.0000.01017.31
8.1.60.0040.00417.48
8.1.50.0040.00417.54
8.1.40.0060.00317.55
8.1.30.0000.00717.61
8.1.20.0040.00417.65
8.1.10.0000.00717.58
8.1.00.0000.00817.46
8.0.300.0000.00718.77
8.0.290.0030.00616.58
8.0.280.0000.00718.36
8.0.270.0070.00018.02
8.0.260.0000.00716.82
8.0.250.0040.00416.99
8.0.240.0040.00417.03
8.0.230.0030.00316.86
8.0.220.0000.00716.77
8.0.210.0000.00716.94
8.0.200.0000.00616.94
8.0.190.0000.00717.00
8.0.180.0040.00416.82
8.0.170.0060.00316.89
8.0.160.0070.00016.92
8.0.150.0040.00416.72
8.0.140.0040.00716.75
8.0.130.0000.00613.35
8.0.120.0000.00716.87
8.0.110.0000.00716.94
8.0.100.0080.00016.75
8.0.90.0040.00416.75
8.0.80.0070.00716.86
8.0.70.0030.00316.79
8.0.60.0050.00316.82
8.0.50.0030.00516.90
8.0.30.0060.01216.89
8.0.20.0060.01216.95
8.0.10.0040.00417.14
8.0.00.0110.00816.65
7.4.330.0000.00516.71
7.4.320.0030.00316.60
7.4.300.0070.00016.52
7.4.290.0040.00416.52
7.4.280.0070.00016.43
7.4.270.0000.00716.61
7.4.260.0030.00313.40
7.4.250.0040.00416.47
7.4.240.0000.00716.59
7.4.230.0040.00316.40
7.4.220.0040.00316.61
7.4.210.0100.00716.62
7.4.200.0070.00016.41
7.4.130.0140.00316.64
7.4.120.0160.00816.57
7.4.110.0130.00616.66
7.4.100.0070.01016.43
7.4.90.0090.00916.47
7.4.80.0150.00619.39
7.4.70.0110.00516.46
7.4.60.0110.00616.57
7.4.50.0030.01016.23
7.4.40.0100.00616.50
7.4.10.0220.00416.23
7.4.00.0060.01016.62
7.3.330.0040.00416.34
7.3.320.0000.00513.14
7.3.310.0070.00016.37
7.3.300.0030.00516.27
7.3.290.0030.01216.30
7.3.260.0140.00416.54
7.3.240.0080.00916.35
7.3.230.0070.01016.45
7.3.210.0160.00016.65
7.3.200.0100.01016.39
7.3.190.0100.00616.48
7.3.180.0090.00916.52
7.3.170.0060.01016.29
7.3.160.0090.00616.43
7.3.130.0150.00616.45
7.3.120.0130.00316.49
7.3.110.0110.00816.46
7.3.100.0120.00716.48
7.3.90.0140.00716.32
7.3.80.0140.00316.58
7.3.70.0080.01516.25
7.3.60.0160.00316.37
7.3.50.0200.00316.36
7.3.40.0170.00316.33
7.3.30.0140.00716.29
7.3.20.0180.00016.35
7.3.10.0130.00816.28
7.3.00.0110.00716.26
7.2.330.0060.01216.66
7.2.320.0110.01116.32
7.2.310.0120.00916.64
7.2.300.0090.01516.78
7.2.290.0040.01216.64
7.2.260.0160.00216.69
7.2.250.0130.00616.58
7.2.240.0130.00716.70
7.2.230.0110.01016.43
7.2.220.0080.01216.62
7.2.210.0080.01116.38
7.2.200.0090.00916.55
7.2.190.0110.00716.41
7.2.180.0170.00316.45
7.2.170.0130.00516.52
7.2.160.0130.00416.51
7.2.150.0110.01116.71
7.2.140.0050.01316.53
7.2.130.0050.01416.50
7.2.120.0100.00716.58
7.2.110.0080.00816.57
7.2.100.0080.01416.70
7.2.90.0080.00816.50
7.2.80.0110.00716.63
7.2.70.0060.01716.49
7.2.60.0080.01116.54
7.2.50.0210.01416.54
7.2.40.0200.01416.50
7.2.30.0130.01316.57
7.2.20.0080.00816.50
7.2.10.0090.00916.42
7.2.00.0090.00616.45

preferences:
56.5 ms | 400 KiB | 5 Q