3v4l.org

run code in 300+ PHP versions simultaneously
<?php $times = array();for ($i = 0; $i < 10000; $i++) $times[] = microtime(true); print count(array_unique($times))."\n";

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)
7.2.00.0100.00619.61
7.1.70.0030.11617.34
7.1.60.0300.06119.82
7.1.50.0100.11317.11
7.1.00.0070.15322.51
7.0.200.0000.06016.94
7.0.140.0030.15321.95
7.0.60.0070.08720.93
7.0.50.0070.15018.92
7.0.40.0000.09720.27
7.0.30.0330.14720.23
7.0.20.0270.15320.17
7.0.10.0070.15720.29
7.0.00.0070.14720.19
5.6.280.0070.17723.48
5.6.210.0030.13023.32
5.6.200.0130.16020.68
5.6.190.0130.12322.85
5.6.180.0100.11722.93
5.6.170.0230.15322.89
5.6.160.0100.11722.54
5.6.150.0070.13020.72
5.6.140.0070.11020.62
5.6.130.0100.17320.70
5.6.120.0030.14023.54
5.6.110.0100.11023.57
5.6.100.0100.18023.54
5.6.90.0070.15723.56
5.6.80.0400.14323.00
5.5.350.0030.15023.06
5.5.340.0030.12320.45
5.5.330.0170.16722.65
5.5.320.0270.14022.71
5.5.310.0300.17322.70
5.5.300.0070.11020.41
5.5.290.0100.15720.46
5.5.280.0100.12723.44
5.5.270.0170.15723.53
5.5.260.0030.18023.33
5.5.250.0100.12023.13
5.5.240.0030.17322.85
5.4.450.0470.14321.86
5.4.440.0270.10321.64
5.4.430.0200.13321.75
5.4.420.0570.11321.90
5.4.410.0100.16321.46
5.4.400.0030.16721.07
5.4.390.0100.15721.20
5.4.380.0330.18721.12
5.4.370.0200.16021.05
5.4.360.0270.15021.22
5.4.350.0170.16321.25
5.4.340.0170.15721.12
5.4.320.0130.11015.02
5.4.310.0120.11015.02
5.4.300.0080.12015.02
5.4.290.0060.11915.02
5.4.280.0060.11514.91
5.4.270.0070.15914.88
5.4.260.0120.16914.88
5.4.250.0070.11914.89
5.4.240.0150.13614.88
5.4.230.0120.12114.88
5.4.220.0080.13114.88
5.4.210.0100.12714.88
5.4.200.0100.12714.88
5.4.190.0070.11614.87
5.4.180.0080.11914.87
5.4.170.0110.11514.89
5.4.160.0110.13314.88
5.4.150.0080.13114.88
5.4.140.0020.12314.56
5.4.130.0090.12314.54
5.4.120.0110.14214.51
5.4.110.0080.13414.50
5.4.100.0060.12314.50
5.4.90.0080.12614.50
5.4.80.0090.11914.50
5.4.70.0070.12614.49
5.4.60.0070.12114.49
5.4.50.0130.13314.49
5.4.40.0070.14414.48
5.4.30.0100.11714.48
5.4.20.0100.11414.48
5.4.10.0080.13514.48
5.4.00.0080.12113.97
5.3.290.0090.11915.20
5.3.280.0150.11715.11
5.3.270.0080.12215.12
5.3.260.0120.12015.12
5.3.250.0090.11415.13
5.3.240.0090.11515.12
5.3.230.0080.11715.12
5.3.220.0090.12015.09
5.3.210.0100.11915.09
5.3.200.0090.12515.08
5.3.190.0070.13015.08
5.3.180.0070.11815.08
5.3.170.0090.11615.08
5.3.160.0080.12115.08
5.3.150.0100.13015.08
5.3.140.0070.12915.07
5.3.130.0080.12015.07
5.3.120.0070.12815.07
5.3.110.0050.12915.07
5.3.100.0110.13714.56
5.3.90.0060.12214.54
5.3.80.0100.12214.52
5.3.70.0100.11914.52
5.3.60.0060.12314.58
5.3.50.0100.12014.45
5.3.40.0080.11614.45
5.3.30.0140.12414.42
5.3.20.0110.11714.20
5.3.10.0080.11814.16
5.3.00.0090.12114.14
5.2.170.0110.10911.41
5.2.160.0060.11011.41
5.2.150.0050.12011.41
5.2.140.0090.10711.40
5.2.130.0070.11811.37
5.2.120.0070.14111.36
5.2.110.0140.11811.37
5.2.100.0080.11511.37
5.2.90.0060.03811.37
5.2.80.0060.12811.36
5.2.70.0060.12211.59
5.2.60.0080.12811.31
5.2.50.0110.16111.29
5.2.40.0130.16011.26
5.2.30.0120.15511.24
5.2.20.0090.10111.23
5.2.10.0120.27111.15
5.2.00.0080.25711.02
5.1.60.0100.32111.07
5.1.50.0120.36711.07
5.1.40.0100.25411.06
5.1.30.0060.30511.40
5.1.20.0110.29311.42
5.1.10.0130.28911.15
5.1.00.0080.30811.15
5.0.50.0050.2729.63
5.0.40.0070.2799.49
5.0.30.0130.3949.30
5.0.20.0070.2939.27
5.0.10.0060.2789.25
5.0.00.0070.2899.24
4.4.90.0040.0328.20
4.4.80.0030.0328.18
4.4.70.0070.0268.18
4.4.60.0060.0298.18
4.4.50.0050.0428.19
4.4.40.0040.0458.18
4.4.30.0020.0328.18
4.4.20.0050.0368.25
4.4.10.0080.0298.25
4.4.00.0090.0408.22
4.3.110.0090.0418.12
4.3.100.0090.0398.12
4.3.90.0030.0368.13
4.3.80.0110.0588.12
4.3.70.0020.0358.13
4.3.60.0040.0348.13
4.3.50.0110.0438.13
4.3.40.0060.0628.09
4.3.30.0060.0496.89
4.3.20.0060.0486.87
4.3.10.0060.0516.82
4.3.00.0070.03315.02

preferences:
37.09 ms | 400 KiB | 5 Q