3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Abc { public const TICKET_SEND_AUTO_RESPONSE = 0; public function test() { $s = <<<XML <sendautoresponder>{constant('PHP_EOL')}</sendautoresponder> XML; return $s; } } $t = new Abc(); var_dump($t->test());

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.0110.00718.29
8.3.50.0100.01016.26
8.3.40.0110.00418.68
8.3.30.0040.01118.71
8.3.20.0050.00320.12
8.3.10.0030.00621.77
8.3.00.0080.00019.43
8.2.180.0100.01018.17
8.2.170.0120.00322.96
8.2.160.0120.00619.09
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0080.00019.19
8.2.120.0080.00026.35
8.2.110.0080.00020.33
8.2.100.0060.00617.71
8.2.90.0060.00319.23
8.2.80.0040.00417.97
8.2.70.0030.00917.13
8.2.60.0030.00518.04
8.2.50.0030.00518.10
8.2.40.0000.00820.61
8.2.30.0040.00419.19
8.2.20.0040.00418.06
8.2.10.0040.00417.99
8.2.00.0040.00418.06
8.1.280.0070.01025.92
8.1.270.0030.00622.25
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00320.90
8.1.230.0090.00319.10
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00417.00
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0030.00518.45
8.1.160.0080.00019.13
8.1.150.0040.00418.83
8.1.140.0040.00819.43
8.1.130.0070.00018.68
8.1.120.0070.00017.42
8.1.110.0040.00417.27
8.1.100.0000.00717.41
8.1.90.0040.00417.40
8.1.80.0000.00717.38
8.1.70.0040.00417.32
8.1.60.0040.00417.60
8.1.50.0040.00417.49
8.1.40.0000.00817.52
8.1.30.0000.00817.58
8.1.20.0080.00017.55
8.1.10.0000.00817.54
8.1.00.0000.00717.46
8.0.300.0020.00518.77
8.0.290.0070.00016.75
8.0.280.0030.00318.35
8.0.270.0030.00317.13
8.0.260.0050.00316.86
8.0.250.0070.00016.90
8.0.240.0030.00316.89
8.0.230.0030.00317.00
8.0.220.0030.00316.89
8.0.210.0030.00316.91
8.0.200.0030.00316.97
8.0.190.0000.00916.86
8.0.180.0030.00316.82
8.0.170.0040.00416.81
8.0.160.0000.00716.88
8.0.150.0080.00016.81
8.0.140.0070.00016.79
8.0.130.0030.00313.34
8.0.120.0000.00716.74
8.0.110.0030.00316.75
8.0.100.0070.00016.86
8.0.90.0070.00016.93
8.0.80.0030.01316.90
8.0.70.0000.00816.78
8.0.60.0020.00516.85
8.0.50.0040.00416.91
8.0.30.0090.00916.96
8.0.20.0110.00917.40
8.0.10.0040.00416.90
8.0.00.0030.01316.66
7.4.330.0000.00515.55
7.4.320.0030.00316.36
7.4.300.0030.00316.50
7.4.290.0070.00416.41
7.4.280.0000.00916.59
7.4.270.0030.00516.61
7.4.260.0030.00716.40
7.4.250.0000.00716.37
7.4.240.0030.00516.44
7.4.230.0020.00516.59
7.4.220.0100.01316.66
7.4.210.0090.00416.71
7.4.200.0030.00316.66
7.4.160.0150.00316.54
7.4.150.0120.00617.40
7.4.140.0100.01117.86
7.4.130.0070.01016.39
7.4.120.0120.00716.54
7.4.110.0040.01416.57
7.4.100.0140.00616.43
7.4.90.0150.00316.49
7.4.80.0050.01019.39
7.4.70.0100.00716.53
7.4.60.0100.00616.58
7.4.50.0040.01116.38
7.4.40.0060.01016.59
7.4.30.0060.01016.37
7.4.00.0110.00614.96
7.3.330.0000.00513.32
7.3.320.0050.00013.13
7.3.310.0000.00716.12
7.3.300.0070.00016.18
7.3.290.0050.01016.33
7.3.280.0070.01016.29
7.3.270.0090.01217.40
7.3.260.0100.00716.57
7.3.250.0080.00916.31
7.3.240.0140.00316.29
7.3.230.0130.00816.32
7.3.210.0120.00616.54
7.3.200.0100.00716.53
7.3.190.0030.01316.48
7.3.180.0120.00616.30
7.3.170.0100.00516.57
7.3.160.0030.01216.38
7.3.120.0040.01514.61
7.3.110.0110.00714.98
7.3.100.0060.00614.78
7.3.90.0070.01014.84
7.3.80.0090.00314.75
7.3.70.0030.00714.75
7.3.60.0040.00814.45
7.3.50.0140.00314.34
7.3.40.0050.00514.70
7.3.30.0000.00814.86
7.3.20.0070.00716.48
7.3.10.0100.00616.61
7.3.00.0080.00616.61
7.2.330.0060.01616.54
7.2.320.0100.00616.56
7.2.310.0110.00416.22
7.2.300.0000.02116.53
7.2.290.0080.00816.58
7.2.250.0140.00715.11
7.2.240.0060.00915.13
7.2.230.0090.00614.86
7.2.220.0040.00714.97
7.2.210.0060.00814.87
7.2.200.0090.00014.95
7.2.190.0030.01315.02
7.2.180.0060.00314.76
7.2.170.0090.00314.93
7.2.60.1040.01414.94
7.2.00.0000.01419.37
7.1.330.0070.00715.81
7.1.320.0040.01115.50
7.1.310.0000.01315.60
7.1.300.0080.00415.83
7.1.290.0040.00715.76
7.1.280.0000.00915.70
7.1.270.0040.00915.56
7.1.260.0060.00315.59
7.1.200.0030.01015.46
7.1.100.0100.00717.82
7.1.70.0130.01515.26
7.1.60.0450.02132.93
7.1.50.0450.02132.82
7.1.40.0460.02032.43
7.1.30.0330.01732.46
7.1.20.0270.02032.66
7.1.10.0120.01314.56
7.1.00.0210.01414.59
7.0.200.0220.01314.67
7.0.190.0290.00914.70
7.0.180.0350.00014.43
7.0.170.0130.01314.17
7.0.160.0170.01114.29
7.0.150.0190.00614.20
7.0.140.0210.01414.32
7.0.130.0200.00314.29
7.0.120.0150.02114.27
7.0.110.0150.00914.54
7.0.100.0280.01414.22
7.0.90.0160.01014.25
7.0.80.0230.00714.51
7.0.70.0100.01614.05
7.0.60.0290.00713.89
7.0.50.0230.01014.46
7.0.40.0270.00614.71
7.0.30.0240.00914.59
7.0.20.0130.01314.38
7.0.10.0200.00314.52
7.0.00.0160.01014.37

preferences:
101.2 ms | 400 KiB | 5 Q