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>{${self::TICKET_SEND_AUTO_RESPONSE}}</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.40.0070.00718.85
8.3.30.0110.00418.85
8.3.20.0000.00820.35
8.3.10.0040.00421.73
8.3.00.0060.00319.56
8.2.170.0040.01122.96
8.2.160.0180.00319.08
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00719.30
8.2.120.0080.00026.35
8.2.110.0030.00620.89
8.2.100.0000.01117.97
8.2.90.0000.00819.22
8.2.80.0030.00618.03
8.2.70.0000.00817.63
8.2.60.0030.00517.80
8.2.50.0000.00818.10
8.2.40.0080.00020.59
8.2.30.0000.00719.26
8.2.20.0040.00418.05
8.2.10.0000.00818.13
8.2.00.0030.00517.98
8.1.270.0050.00323.84
8.1.260.0070.00326.35
8.1.250.0080.00028.09
8.1.240.0030.00621.30
8.1.230.0030.00719.15
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0050.00517.35
8.1.190.0050.00317.22
8.1.180.0000.00718.10
8.1.170.0040.00418.64
8.1.160.0000.00718.92
8.1.150.0040.00418.95
8.1.140.0000.01019.58
8.1.130.0000.00718.85
8.1.120.0030.00617.50
8.1.110.0000.00817.45
8.1.100.0040.00417.35
8.1.90.0050.00317.38
8.1.80.0050.00317.35
8.1.70.0070.00017.34
8.1.60.0040.00417.47
8.1.50.0030.00617.50
8.1.40.0040.00417.34
8.1.30.0000.00817.63
8.1.20.0080.00017.63
8.1.10.0030.00517.57
8.1.00.0040.00417.38
8.0.300.0000.00718.77
8.0.290.0080.00016.75
8.0.280.0070.00018.44
8.0.270.0070.00017.30
8.0.260.0030.00316.77
8.0.250.0040.00416.94
8.0.240.0030.00317.00
8.0.230.0030.00317.04
8.0.220.0030.00316.94
8.0.210.0000.00716.98
8.0.200.0040.00417.01
8.0.190.0040.00416.97
8.0.180.0000.00716.97
8.0.170.0000.00716.93
8.0.160.0070.00016.91
8.0.150.0040.00416.87
8.0.140.0070.00016.93
8.0.130.0050.00013.41
8.0.120.0000.00816.89
8.0.110.0000.00716.91
8.0.100.0040.00416.90
8.0.90.0050.00317.01
8.0.80.0060.01016.99
8.0.70.0040.00416.98
8.0.60.0000.00716.94
8.0.50.0000.00817.04
8.0.30.0140.00417.12
8.0.20.0100.01017.40
8.0.10.0040.00416.89
8.0.00.0090.00916.52
7.4.330.0020.00215.55
7.4.320.0000.00616.63
7.4.300.0030.00316.64
7.4.290.0030.00716.50
7.4.280.0080.00016.55
7.4.270.0000.00616.49
7.4.260.0030.00316.59
7.4.250.0040.00416.48
7.4.240.0030.00316.52
7.4.230.0000.00716.39
7.4.220.0070.01116.43
7.4.210.0090.00616.64
7.4.200.0030.00316.63
7.4.160.0040.01316.56
7.4.150.0030.01317.40
7.4.140.0070.01117.86
7.4.130.0150.00316.50
7.4.120.0090.00816.53
7.4.110.0060.01016.57
7.4.100.0060.01216.65
7.4.90.0070.01016.43
7.4.80.0110.00819.39
7.4.70.0080.00816.31
7.4.60.0150.00416.47
7.4.50.0040.01116.54
7.4.40.0070.01016.62
7.4.30.0070.01016.40
7.4.00.0080.00415.14
7.3.330.0030.00313.30
7.3.320.0030.00313.16
7.3.310.0030.00316.11
7.3.300.0030.00316.30
7.3.290.0080.00916.28
7.3.280.0090.00616.29
7.3.270.0100.02017.40
7.3.260.0110.00616.36
7.3.250.0140.00416.31
7.3.240.0130.00816.35
7.3.230.0070.01116.51
7.3.210.0090.00616.39
7.3.200.0110.00616.38
7.3.190.0000.01616.45
7.3.180.0070.00716.30
7.3.170.0140.00716.47
7.3.160.0000.01516.54
7.2.330.0100.00716.75
7.2.320.0070.01116.56
7.2.310.0040.01116.43
7.2.300.0110.00616.85
7.2.290.0040.01316.69
7.2.90.0160.00314.77
7.2.80.0160.00514.70
7.2.70.4350.01014.97
7.2.60.0190.00715.92
7.2.50.0830.00814.84
7.2.40.0090.00915.14
7.2.30.1520.00314.97
7.2.20.0620.00614.80
7.2.10.1310.00314.81
7.2.00.2900.00715.04
7.1.210.0960.00313.81
7.1.200.0290.01213.66
7.1.190.0170.00313.66
7.1.180.0070.01113.71
7.1.170.0150.00413.78
7.1.160.0180.00013.76
7.1.150.1270.00613.62
7.1.140.0190.00313.70
7.1.130.3240.00313.80
7.1.120.3250.00613.63
7.1.110.0260.00313.95
7.1.100.0870.00313.74
7.1.90.0940.00313.83
7.1.80.2180.00313.54
7.1.70.0160.01114.43
7.1.60.0420.00932.53
7.1.50.0360.01332.31
7.1.40.0430.01832.21
7.1.30.0850.01132.09
7.1.20.0760.01032.00
7.1.10.1570.01214.17
7.1.00.0370.01314.13
7.0.310.0550.00313.21
7.0.300.1630.00313.07
7.0.290.0160.00313.30
7.0.280.0680.01013.08
7.0.270.3340.00313.48
7.0.260.2900.00613.27
7.0.250.0090.00913.37
7.0.240.0800.00613.34
7.0.230.0070.01013.33
7.0.220.0090.00913.28
7.0.210.0130.01013.41
7.0.200.1180.00814.11
7.0.190.0940.00813.90
7.0.180.0180.00613.58
7.0.170.0170.00513.64
7.0.160.0400.01313.78
7.0.150.0430.00613.75
7.0.140.0130.01013.75
7.0.130.0180.00813.95
7.0.120.0120.01314.00
7.0.110.0130.00813.82
7.0.100.0760.00813.93
7.0.90.0170.01213.72
7.0.80.0360.00813.83
7.0.70.0130.01113.64
7.0.60.0420.00913.75
7.0.50.0170.00713.89
7.0.40.2580.00813.93
7.0.30.2560.00813.83
7.0.20.0460.00513.81
7.0.10.0160.00513.94
7.0.00.0180.00913.70

preferences:
37.46 ms | 400 KiB | 5 Q