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.60.0140.00318.55
8.3.50.0180.00316.29
8.3.40.0070.00718.85
8.3.30.0130.00318.60
8.3.20.0060.00320.34
8.3.10.0030.00621.90
8.3.00.0050.00319.56
8.2.180.0100.01016.75
8.2.170.0090.00622.96
8.2.160.0070.00719.04
8.2.150.0030.00624.18
8.2.140.0090.00024.66
8.2.130.0080.00019.45
8.2.120.0040.00426.35
8.2.110.0070.00320.58
8.2.100.0110.00017.78
8.2.90.0050.00319.14
8.2.80.0080.00017.97
8.2.70.0030.00617.38
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0000.00720.42
8.2.30.0030.00619.13
8.2.20.0050.00217.88
8.2.10.0040.00418.12
8.2.00.0000.00717.97
8.1.280.0100.01025.92
8.1.270.0060.00322.10
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0040.00422.53
8.1.230.0030.00719.12
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0040.00420.31
8.1.160.0040.00418.95
8.1.150.0040.00420.70
8.1.140.0050.00519.55
8.1.130.0000.00718.74
8.1.120.0070.00017.31
8.1.110.0040.00417.22
8.1.100.0080.00017.36
8.1.90.0050.00317.29
8.1.80.0000.00717.26
8.1.70.0000.00717.30
8.1.60.0030.00617.48
8.1.50.0040.00417.52
8.1.40.0000.00817.55
8.1.30.0040.00417.63
8.1.20.0040.00417.68
8.1.10.0000.00817.43
8.1.00.0030.00617.43
8.0.300.0040.00418.77
8.0.290.0050.00316.63
8.0.280.0000.00718.38
8.0.270.0050.00217.08
8.0.260.0000.00716.82
8.0.250.0020.00516.93
8.0.240.0030.00516.88
8.0.230.0000.00716.86
8.0.220.0000.00816.79
8.0.210.0050.00316.85
8.0.200.0030.00316.96
8.0.190.0000.00816.98
8.0.180.0000.00716.89
8.0.170.0050.00316.92
8.0.160.0000.00916.85
8.0.150.0000.00816.72
8.0.140.0000.00816.91
8.0.130.0030.00313.38
8.0.120.0040.00416.87
8.0.110.0070.00016.75
8.0.100.0000.00816.89
8.0.90.0000.00716.85
8.0.80.0070.01016.89
8.0.70.0060.00316.76
8.0.60.0060.00316.78
8.0.50.0040.00416.78
8.0.30.0100.00917.11
8.0.20.0140.00617.40
8.0.10.0000.00817.13
8.0.00.0110.00617.03
7.4.330.0000.00515.55
7.4.320.0000.00716.45
7.4.300.0030.00316.57
7.4.290.0060.00316.59
7.4.280.0040.00416.63
7.4.270.0030.00516.43
7.4.260.0030.00316.39
7.4.250.0020.00516.48
7.4.240.0070.00016.50
7.4.230.0000.00716.25
7.4.220.0120.00616.62
7.4.210.0090.00416.63
7.4.200.0070.00016.36
7.4.160.0070.01016.44
7.4.150.0060.01217.40
7.4.140.0080.01017.86
7.4.130.0060.01216.59
7.4.120.0140.00516.63
7.4.110.0080.00816.48
7.4.100.0060.01316.54
7.4.90.0060.00916.45
7.4.80.0090.00919.39
7.4.70.0060.01016.42
7.4.60.0060.01016.49
7.4.50.0030.00616.25
7.4.40.0060.01216.35
7.4.30.0030.01416.35
7.4.10.0100.00715.15
7.4.00.0060.00914.92
7.3.330.0000.00613.07
7.3.320.0000.00513.27
7.3.310.0020.00516.31
7.3.300.0000.00616.32
7.3.290.0060.00816.34
7.3.280.0080.00816.28
7.3.270.0290.01017.40
7.3.260.0110.00616.37
7.3.250.0130.00816.26
7.3.240.0140.00416.21
7.3.230.0100.01316.21
7.3.210.0070.01016.38
7.3.200.0040.01116.24
7.3.190.0060.01116.38
7.3.180.0110.00516.34
7.3.170.0060.01116.54
7.3.160.0060.01016.30
7.3.130.0030.01214.79
7.3.120.0100.00514.79
7.3.110.0100.00714.89
7.3.100.0090.00614.79
7.3.90.0050.00814.64
7.3.80.0060.00714.66
7.3.70.0020.00814.55
7.3.60.0080.00814.54
7.3.50.0040.01014.61
7.3.40.0020.00914.61
7.3.30.0050.01014.68
7.3.20.0080.00716.37
7.3.10.0040.01116.60
7.3.00.0070.00716.39
7.2.330.0100.01016.72
7.2.320.0030.01416.38
7.2.310.0060.01016.67
7.2.300.0140.00416.32
7.2.290.0100.00616.66
7.2.260.0090.00914.88
7.2.250.0090.01015.02
7.2.240.0080.01014.65
7.2.230.0090.00515.02
7.2.220.0070.00515.11
7.2.210.0050.00915.07
7.2.200.0060.00914.98
7.2.190.0080.00614.94
7.2.180.0090.00614.95
7.2.170.0020.01214.90
7.2.160.0030.00914.73
7.2.150.0030.01216.82
7.2.140.0060.00616.78
7.2.130.0070.00716.82
7.2.120.0020.01016.84
7.2.110.0040.01016.84
7.2.100.0050.00816.75
7.2.90.0050.00716.73
7.2.80.0040.01116.77
7.2.70.0060.00816.87
7.2.60.0230.00816.35
7.2.50.0050.00716.83
7.2.40.0060.00816.85
7.2.30.0020.00916.86
7.2.20.0040.01116.70
7.2.10.0070.00616.92
7.2.00.0040.00617.45
7.1.330.0080.00815.62
7.1.320.0070.00715.63
7.1.310.0070.00215.88
7.1.300.0060.00715.64
7.1.290.0060.00515.50
7.1.280.0010.01115.69
7.1.270.0030.01115.79
7.1.260.0020.01415.69
7.1.250.0060.00915.60
7.1.240.0040.00815.70
7.1.230.0070.00715.77
7.1.220.0060.00615.55
7.1.210.0030.00915.76
7.1.200.0060.00915.70
7.1.190.0070.00715.49
7.1.180.0090.00315.68
7.1.170.0090.00615.63
7.1.160.0110.00315.66
7.1.150.0030.00615.50
7.1.140.0100.00315.68
7.1.130.0060.00615.65
7.1.120.0000.01315.75
7.1.110.0060.00315.73
7.1.100.0080.00616.94
7.1.90.0030.00915.63
7.1.80.0030.01015.79
7.1.70.0070.00816.24
7.1.60.0200.00725.46
7.1.50.0120.01025.25
7.1.40.0220.00625.07
7.1.30.0150.00724.93
7.1.20.0200.01425.08
7.1.10.0060.01116.13
7.1.00.0050.01516.02
7.0.330.0000.01315.24
7.0.320.0040.00415.18
7.0.310.0040.01215.30
7.0.300.0000.01015.39
7.0.290.0120.00315.20
7.0.280.0070.00315.30
7.0.270.0060.00615.18
7.0.260.0090.00015.27
7.0.250.0100.00315.32
7.0.240.0090.00615.07
7.0.230.0090.00015.34
7.0.220.0000.01015.20
7.0.210.0000.00815.06
7.0.200.0090.00315.84
7.0.190.0090.00615.88
7.0.180.0040.00915.73
7.0.170.0080.00915.62
7.0.160.0050.01415.53
7.0.150.0030.01315.77
7.0.140.0060.00915.85
7.0.130.0050.01015.68
7.0.120.0100.01015.86
7.0.110.0130.00915.68
7.0.100.0080.01015.69
7.0.90.0090.00615.63
7.0.80.0090.00815.89
7.0.70.0080.01015.55
7.0.60.0070.01015.74
7.0.50.0100.00615.86
7.0.40.0040.01114.81
7.0.30.0080.01214.77
7.0.20.0080.00714.77
7.0.10.0050.01114.84
7.0.00.0060.00914.89
5.6.400.0030.01014.14
5.6.390.0100.00313.98
5.6.380.0030.00714.14
5.6.370.0040.00713.75
5.6.360.0110.00013.98
5.6.350.0110.00014.38
5.6.340.0090.00614.15
5.6.330.0060.01014.29
5.6.320.0060.00614.01
5.6.310.0130.00313.88
5.6.300.0000.01514.38
5.6.290.0060.00814.10
5.6.280.0060.00613.91
5.6.270.0070.00714.24
5.6.260.0040.01114.49
5.6.250.0100.00014.10
5.6.240.0030.00913.95
5.6.230.0070.00314.32
5.6.220.0070.00713.94
5.6.210.0030.00614.03
5.6.200.0110.00014.07
5.6.190.0090.00013.94
5.6.180.0060.00614.38
5.6.170.0120.00314.34
5.6.160.0040.00814.06
5.6.150.0040.01113.82
5.6.140.0100.00314.38
5.6.130.0070.00713.87
5.6.120.0030.00714.09
5.6.110.0060.00613.94
5.6.100.0060.00314.14
5.6.90.0000.00813.89
5.6.80.0000.00913.95
5.6.70.0030.01014.11
5.6.60.0070.00714.05
5.6.50.0070.00714.02
5.6.40.0000.01514.12
5.6.30.0030.00914.03
5.6.20.0090.00014.25
5.6.10.0070.01014.03
5.6.00.0110.00314.02

preferences:
40.43 ms | 401 KiB | 5 Q