3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { const NAME = self::class; public function test() { var_dump(new (static::NAME)()); } }

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.00318.43
8.3.50.0040.01116.36
8.3.40.0120.00618.66
8.3.30.0120.00318.33
8.3.20.0040.00421.60
8.3.10.0030.00620.21
8.3.00.0000.00820.49
8.2.180.0070.01118.29
8.2.170.0110.00722.96
8.2.160.0100.00720.49
8.2.150.0070.00724.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0100.00022.20
8.2.100.0030.00620.16
8.1.280.0070.00725.92
8.1.270.0000.00820.56
8.1.260.0000.00726.35
8.1.250.0000.00828.09
8.1.240.0150.00318.50
8.1.230.0030.00718.41
7.3.100.0030.00914.73
7.3.90.0080.01114.61
7.3.80.0080.00614.63
7.3.70.0060.00814.55
7.3.60.0100.00314.55
7.3.50.0030.01114.50
7.3.40.0030.01014.66
7.3.30.0030.01014.67
7.3.20.0070.00714.71
7.3.10.0040.01014.81
7.3.00.0070.00714.66
7.2.230.0100.00314.82
7.2.220.0110.00714.68
7.2.210.0090.00614.66
7.2.200.0080.00714.69
7.2.190.0030.01514.93
7.2.180.0030.01214.60
7.2.170.0070.00714.82
7.2.160.0100.01014.84
7.2.150.0060.01314.96
7.2.140.0030.01014.88
7.2.130.0070.00714.60
7.2.120.0030.01014.93
7.2.110.0060.00814.81
7.2.100.0030.01014.94
7.2.90.0120.00814.77
7.2.80.0030.01314.92
7.2.70.0150.00314.91
7.2.60.0060.00915.02
7.2.50.0290.00314.90
7.2.40.0060.01014.80
7.2.30.0100.00714.86
7.2.20.0060.01014.57
7.2.10.0080.00714.93
7.2.00.0080.00614.82
7.1.320.0030.01513.89
7.1.310.0100.00313.78
7.1.300.0090.00613.69
7.1.290.0040.01113.71
7.1.280.0050.00813.76
7.1.270.0070.00613.77
7.1.260.0070.00713.58
7.1.250.0090.00313.84

preferences:
31.87 ms | 400 KiB | 5 Q