3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( 10, 10, 10, 5.50 2.75 2.75 2.75 ); var_dump(array_count_values($arr));

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)
5.4.390.0000.08019.20
5.4.380.0100.06019.31
5.4.370.0070.07319.09
5.4.360.0070.05719.09
5.4.350.0070.07019.16
5.4.340.0030.05719.00
5.4.320.0030.04718.99
5.4.310.0030.07718.95
5.4.300.0030.04319.24
5.4.290.0170.04718.94
5.4.280.0000.05019.07
5.4.270.0070.05718.95
5.4.260.0030.08019.31
5.4.250.0170.06319.19
5.4.240.0030.07319.22
5.4.230.0100.05319.23
5.4.220.0130.06719.07
5.4.210.0030.07318.94
5.4.200.0030.07719.21
5.4.190.0000.08018.84
5.4.180.0130.07018.99
5.4.170.0030.07319.07
5.4.160.0030.05019.18
5.4.150.0030.06019.19
5.4.140.0030.05716.29
5.4.130.0030.07016.50
5.4.120.0000.06716.32
5.4.110.0030.04716.58
5.4.100.0000.07716.33
5.4.90.0070.07316.45
5.4.80.0130.06016.44
5.4.70.0130.05716.40
5.4.60.0130.06316.33
5.4.50.0070.06016.55
5.4.40.0300.03716.25
5.4.30.0000.06716.51
5.4.20.0030.04716.33
5.4.10.0030.05316.52
5.4.00.0000.07715.88
5.3.290.0200.04714.57
5.3.280.0030.07314.44
5.3.270.0130.06714.54
5.3.260.0070.06314.54
5.3.250.0030.09314.45
5.3.240.0000.06314.46
5.3.230.0100.07314.43
5.3.220.0100.06314.41
5.3.210.0030.06314.51
5.3.200.0000.04014.47
5.3.190.0030.07014.59
5.3.180.0030.04314.61
5.3.170.0030.06314.61
5.3.160.0000.05714.40
5.3.150.0000.03714.54
5.3.140.0030.07714.43
5.3.130.0100.06714.58
5.3.120.0070.07014.59
5.3.110.0000.06014.45
5.3.100.0000.07314.09
5.3.90.0070.07013.96
5.3.80.0030.07013.96
5.3.70.0000.06713.96
5.3.60.0030.06013.86
5.3.50.0030.03713.89
5.3.40.0030.07713.99
5.3.30.0030.06013.86
5.3.20.0030.07013.60
5.3.10.0030.07313.63
5.3.00.0030.04713.41
5.2.170.0000.05712.15
5.2.160.0100.05712.15
5.2.150.0000.06312.15
5.2.140.0000.06312.15
5.2.130.0000.04712.15
5.2.120.0000.06712.15
5.2.110.0000.05712.15
5.2.100.0000.03712.15
5.2.90.0030.06012.15
5.2.80.0030.05012.15
5.2.70.0100.04712.15
5.2.60.0000.04712.15
5.2.50.0030.05012.15
5.2.40.0070.06012.15
5.2.30.0000.03312.15
5.2.20.0070.02712.15
5.2.10.0070.02312.15
5.2.00.0000.02712.15
5.1.60.0030.03712.15
5.1.50.0030.02312.15
5.1.40.0000.02312.15
5.1.30.0000.03312.15
5.1.20.0030.02312.15
5.1.10.0000.02312.15
5.1.00.0030.02312.15
5.0.50.0000.02012.15
5.0.40.0000.02012.15
5.0.30.0030.03312.15
5.0.20.0030.01712.15
5.0.10.0000.02012.15
5.0.00.0030.02712.15
4.4.90.0100.02712.15
4.4.80.0030.03312.15
4.4.70.0000.01312.15
4.4.60.0000.01312.15
4.4.50.0000.01712.15
4.4.40.0030.02712.15
4.4.30.0030.01312.15
4.4.20.0000.01712.15
4.4.10.0000.01712.15
4.4.00.0000.02312.15
4.3.110.0030.01312.15
4.3.100.0000.01312.15
4.3.90.0030.01312.15
4.3.80.0000.02312.15
4.3.70.0000.01312.15
4.3.60.0000.01312.15
4.3.50.0000.01312.15
4.3.40.0000.02312.15
4.3.30.0000.01712.15
4.3.20.0000.01712.15
4.3.10.0000.01712.15
4.3.00.0000.01712.15

preferences:
147.52 ms | 1394 KiB | 7 Q