3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $a = 'hello'; } interface Loggable { public function log(); } class QMSLogger implements Loggable { public function log($queueName = null) { echo "Foo"; } } $foo = new QMSLogger(); $foo->log();

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.0150.00018.30
8.3.50.0070.01116.27
8.3.40.0150.00018.67
8.3.30.0030.01218.60
8.3.20.0040.00420.21
8.3.10.0040.00420.73
8.3.00.0040.00421.92
8.2.180.0170.00316.38
8.2.170.0110.00422.96
8.2.160.0070.00719.16
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00319.76
8.2.120.0080.00026.35
8.2.110.0070.00322.21
8.2.100.0090.00317.91
8.2.90.0040.00419.05
8.2.80.0040.00418.04
8.2.70.0030.00517.63
8.2.60.0030.00617.93
8.2.50.0060.00318.16
8.2.40.0070.00020.64
8.2.30.0040.00419.30
8.2.20.0060.00318.05
8.2.10.0000.00718.06
8.2.00.0000.00717.93
8.1.280.0000.01525.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0080.00321.81
8.1.230.0110.00021.09
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0000.00817.35
8.1.190.0060.00317.23
8.1.180.0000.00718.10
8.1.170.0000.00818.59
8.1.160.0050.00218.89
8.1.150.0070.00020.33
8.1.140.0040.00419.59
8.1.130.0070.00018.88
8.1.120.0000.00717.53
8.1.110.0040.00417.37
8.1.100.0040.00417.38
8.1.90.0040.00417.48
8.1.80.0000.00717.43
8.1.70.0070.00017.39
8.1.60.0030.00917.48
8.1.50.0040.00417.54
8.1.40.0040.00417.51
8.1.30.0030.00517.55
8.1.20.0040.00417.54
8.1.10.0000.00717.48
8.1.00.0040.00417.37
8.0.300.0000.00718.77
8.0.290.0030.00616.63
8.0.280.0000.00818.45
8.0.270.0000.00817.27
8.0.260.0000.00618.84
8.0.250.0070.00016.83
8.0.240.0030.00316.84
8.0.230.0030.00516.99
8.0.220.0000.00716.80
8.0.210.0000.00816.91
8.0.200.0050.00316.91
8.0.190.0030.00516.99
8.0.180.0070.00016.84
8.0.170.0040.00416.93
8.0.160.0070.00016.89
8.0.150.0040.00416.73
8.0.140.0000.00816.79
8.0.130.0030.00313.29
8.0.120.0040.00416.89
8.0.110.0040.00416.89
8.0.100.0040.00416.82
8.0.90.0000.00716.89
8.0.80.0060.00916.89
8.0.70.0000.00716.79
8.0.60.0030.00516.73
8.0.50.0000.00716.79
8.0.30.0160.00816.93
8.0.20.0080.01417.41
8.0.10.0070.00016.92
8.0.00.0120.00616.91
7.4.330.0040.00015.55
7.4.320.0000.00616.61
7.4.300.0000.00616.45
7.4.290.0040.00416.52
7.4.280.0000.00816.59
7.4.270.0040.00416.59
7.4.260.0030.00616.58
7.4.250.0070.00016.46
7.4.240.0000.00716.59
7.4.230.0000.00816.49
7.4.220.0110.01416.70
7.4.210.0090.00616.54
7.4.200.0030.00316.57
7.4.160.0060.00816.40
7.4.150.0090.00917.40
7.4.140.0070.01117.86
7.4.130.0140.00516.40
7.4.120.0100.01216.55
7.4.110.0130.00416.48
7.4.100.0110.00616.48
7.4.90.0040.01416.47
7.4.80.0070.01119.39
7.4.70.0110.00516.43
7.4.60.0030.01316.64
7.4.50.0070.01116.53
7.4.40.0150.00316.32
7.4.30.0060.01016.55
7.4.00.0090.00814.94
7.3.330.0060.00013.02
7.3.320.0000.00513.09
7.3.310.0030.00316.26
7.3.300.0050.00216.24
7.3.290.0060.01016.23
7.3.280.0080.00916.22
7.3.270.0060.01117.40
7.3.260.0120.00516.33
7.3.250.0080.00916.49
7.3.240.0100.00816.23
7.3.230.0090.00616.37
7.3.210.0150.00316.23
7.3.200.0070.01116.13
7.3.190.0090.00616.37
7.3.180.0060.01216.37
7.3.170.0080.00816.54
7.3.160.0100.00616.16
7.3.120.0130.00014.86
7.3.110.0060.01014.49
7.3.100.0080.00314.61
7.3.90.0040.00814.84
7.3.80.0050.00514.92
7.3.70.0070.01414.58
7.3.60.0000.00914.79
7.3.50.0040.01114.72
7.3.40.0100.00714.64
7.3.30.0070.00714.64
7.3.20.0070.00716.35
7.3.10.0080.00616.49
7.3.00.0070.00716.46
7.2.330.0090.00916.65
7.2.320.0030.01416.39
7.2.310.0030.01316.70
7.2.300.0080.00816.38
7.2.290.0060.01116.46
7.2.250.0030.01014.75
7.2.240.0000.01515.16
7.2.230.0120.00414.59
7.2.220.0030.00915.13
7.2.210.0070.01315.13
7.2.200.0030.01515.11
7.2.190.0060.00314.96
7.2.180.0060.00915.00
7.2.170.0090.00614.73
7.2.130.0060.00916.82
7.2.120.0040.01217.00
7.2.110.0030.00616.67
7.2.100.0080.00616.95
7.2.90.0000.01716.82
7.2.80.0030.01016.57
7.2.70.0000.01116.78
7.2.60.0060.01016.89
7.2.50.0040.01117.09
7.2.40.0040.01216.87
7.2.30.0040.01116.98
7.2.20.0030.00916.89
7.2.10.0030.00616.91
7.2.00.0070.01017.08
7.1.330.0000.01215.58
7.1.320.0060.00615.71
7.1.310.0040.01115.61
7.1.300.0080.00615.69
7.1.290.0040.00715.47
7.1.280.0030.01415.34
7.1.270.0120.00615.38
7.1.260.0060.00615.55
7.1.250.0040.00415.45
7.1.200.0100.00315.52
7.1.80.0030.00917.63
7.1.70.0030.00816.89
7.1.60.0180.00635.18
7.1.50.0150.00934.60
7.1.40.0150.00934.43
7.1.30.0210.00434.13
7.1.20.0180.00734.50
7.1.10.0040.00716.41
7.1.00.0040.00816.75
7.0.200.0040.00716.57
7.0.190.0080.00316.77
7.0.180.0040.00816.04
7.0.170.0000.01116.07
7.0.160.0000.01216.17
7.0.150.0030.00816.12
7.0.140.0060.00616.25
7.0.130.0040.00816.45
7.0.120.0040.00816.41
7.0.110.0030.00916.20
7.0.100.0040.00816.22
7.0.90.0030.00916.32
7.0.80.0080.00416.27
7.0.70.0000.01116.29
7.0.60.0000.01115.95
7.0.50.0030.00916.20
7.0.40.0040.00816.29
7.0.30.0060.00616.45
7.0.20.0060.00616.38
7.0.10.0060.00616.37
7.0.00.0030.00916.37

preferences:
58.83 ms | 400 KiB | 5 Q