3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); namespace Kata\List; final class SomeClass { public function hello(): string { return 'Hello'; } } $foo = new \Kata\List\SomeClass(); echo $foo->hello();

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.00416.63
8.3.50.0150.00318.17
8.3.40.0110.00720.42
8.3.30.0060.00918.50
8.3.20.0040.00424.18
8.3.10.0070.00424.66
8.3.00.0070.00026.16
8.2.180.0130.00325.92
8.2.170.0000.01522.96
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0070.00021.13
8.2.110.0030.00722.27
8.2.100.0090.00317.47
8.2.90.0030.00617.75
8.2.80.0040.00418.69
8.2.70.0050.00219.28
8.2.60.0030.00617.63
8.2.50.0030.00517.63
8.2.40.0030.00619.23
8.2.30.0040.00418.03
8.2.20.0100.00019.29
8.2.10.0000.00718.07
8.2.00.0000.00819.14
8.1.280.0070.01025.92
8.1.270.0150.00324.66
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00323.91
8.1.230.0100.00021.04
8.1.220.0000.00818.64
8.1.210.0030.00618.77
8.1.200.0030.00617.23
8.1.190.0030.00617.10
8.1.180.0000.00818.10
8.1.170.0000.00817.62
8.1.160.0000.00719.05
8.1.150.0040.00418.43
8.1.140.0000.00717.39
8.1.130.0030.00519.06
8.1.120.0000.00717.35
8.1.110.0000.00817.30
8.1.100.0050.01117.34
8.1.90.0160.00317.34
8.1.80.0120.00317.25
8.1.70.0080.00817.35
8.1.60.0040.01317.55
8.1.50.0160.00317.31
8.1.40.0130.00617.48
8.1.30.0100.01017.49
8.1.20.0140.00317.58
8.1.10.0130.00517.50
8.1.00.0140.00317.45
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00818.46
8.0.270.0030.00316.82
8.0.260.0000.00718.43
8.0.250.0000.00616.83
8.0.240.0000.00616.86
8.0.230.0090.00516.64
8.0.220.0120.00416.73
8.0.210.0110.00316.61
8.0.200.0080.00816.87
8.0.190.0080.00816.84
8.0.180.0120.00316.76
8.0.170.0070.00716.84
8.0.160.0040.01216.72
8.0.150.0130.00316.64
8.0.140.0120.00216.66
8.0.130.0090.00616.85
8.0.120.0160.00016.77
8.0.110.0060.00916.69
8.0.100.0070.00816.80
8.0.90.0140.00316.77
8.0.80.0090.00616.79
8.0.70.0040.01116.59
8.0.60.0150.00016.86
8.0.50.0100.00016.75
8.0.30.0110.00616.72
8.0.20.0070.00316.84
8.0.10.0050.00816.81
7.4.330.0050.00015.55
7.4.320.0070.00016.36
7.4.300.0150.00416.32
7.4.290.0070.00716.30
7.4.280.0050.00816.25
7.4.270.0120.00316.13
7.4.260.0130.00016.35
7.4.250.0090.00216.41
7.4.240.0000.00916.28
7.4.230.0000.00916.19
7.4.220.0030.00616.05
7.4.210.0050.00516.16
7.4.200.0060.00316.06
7.4.190.0070.00416.39
7.4.180.0000.00915.89
7.4.160.0000.01016.29
7.4.150.0040.00416.05
7.4.140.0070.00315.90
7.4.130.0000.00815.73
7.4.120.0000.00815.66
7.4.110.0090.00016.12
7.4.100.0040.00416.32
7.4.90.0090.00016.02
7.4.80.0000.00916.17
7.4.70.0060.00315.93
7.4.60.0080.00015.80
7.4.50.0000.00916.03
7.4.40.0100.00015.91
7.4.30.0070.00315.87
7.4.20.0050.00516.07
7.4.10.0080.00015.85
7.4.00.0060.00316.11

preferences:
31.25 ms | 400 KiB | 5 Q