3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $range = range(1, 100000); $startTime = microtime(true); shuffle($range); echo "Time: " . number_format(( microtime(true) - $startTime), 4) . " Seconds\n";
based on Fs3vG
Output for 7.1.0
Time: 0.0043 Seconds
Output for 7.0.14
Time: 0.0025 Seconds
Output for 7.0.0, 7.0.6
Time: 0.0028 Seconds
Output for 7.0.5
Time: 0.0017 Seconds
Output for 7.0.3 - 7.0.4
Time: 0.0023 Seconds
Output for 7.0.2
Time: 0.0026 Seconds
Output for 7.0.1
Time: 0.0027 Seconds
Output for 5.6.28
Time: 0.0147 Seconds
Output for 5.6.10, 5.6.21
Time: 0.0133 Seconds
Output for 5.6.20
Time: 0.0134 Seconds
Output for 5.6.19
Time: 0.0107 Seconds
Output for 5.6.18
Time: 0.0105 Seconds
Output for 5.6.17
Time: 0.0113 Seconds
Output for 5.6.16
Time: 0.0189 Seconds
Output for 5.6.15
Time: 0.0109 Seconds
Output for 5.6.14
Time: 0.0143 Seconds
Output for 5.6.13
Time: 0.0095 Seconds
Output for 5.6.12
Time: 0.0140 Seconds
Output for 5.6.11
Time: 0.0137 Seconds
Output for 5.6.9
Time: 0.0132 Seconds
Output for 5.6.8
Time: 0.0139 Seconds
Output for 5.5.35
Time: 0.0170 Seconds
Output for 4.4.6, 5.4.23, 5.5.34
Time: 0.0282 Seconds
Output for 5.5.33
Time: 0.0214 Seconds
Output for 5.5.32
Time: 0.0188 Seconds
Output for 5.5.31
Time: 0.0183 Seconds
Output for 5.5.30
Time: 0.0199 Seconds
Output for 5.5.29
Time: 0.0171 Seconds
Output for 5.5.28
Time: 0.0193 Seconds
Output for 5.5.27
Time: 0.0196 Seconds
Output for 5.5.26
Time: 0.0200 Seconds
Output for 5.5.25
Time: 0.0194 Seconds
Output for 5.5.24
Time: 0.0166 Seconds
Output for 5.2.9, 5.4.45
Time: 0.0299 Seconds
Output for 5.4.44
Time: 0.0581 Seconds
Output for 5.4.43
Time: 0.0554 Seconds
Output for 5.4.42
Time: 0.0720 Seconds
Output for 5.4.41
Time: 0.0308 Seconds
Output for 5.4.40
Time: 0.1112 Seconds
Output for 5.4.39
Time: 0.0324 Seconds
Output for 5.4.38
Time: 0.0509 Seconds
Output for 5.4.37
Time: 0.0550 Seconds
Output for 5.4.36
Time: 0.0462 Seconds
Output for 5.4.35
Time: 0.0625 Seconds
Output for 5.4.34
Time: 0.0549 Seconds
Output for 5.4.2, 5.4.7, 5.4.16, 5.4.31 - 5.4.32
Time: 0.0262 Seconds
Output for 5.3.20, 5.3.23, 5.4.30
Time: 0.0296 Seconds
Output for 5.4.28 - 5.4.29
Time: 0.0302 Seconds
Output for 5.1.3, 5.4.27
Time: 0.0294 Seconds
Output for 5.4.26
Time: 0.0304 Seconds
Output for 5.0.2, 5.3.9, 5.4.25
Time: 0.0267 Seconds
Output for 4.4.2, 5.3.19, 5.4.24
Time: 0.0289 Seconds
Output for 4.3.8, 5.1.1, 5.3.3, 5.4.22
Time: 0.0277 Seconds
Output for 4.3.1, 5.4.8, 5.4.19, 5.4.21
Time: 0.0270 Seconds
Output for 5.4.20
Time: 0.0297 Seconds
Output for 4.3.2, 5.2.6, 5.3.14, 5.3.24, 5.4.4, 5.4.18
Time: 0.0268 Seconds
Output for 5.2.10, 5.4.9, 5.4.17
Time: 0.0253 Seconds
Output for 4.3.6, 5.0.4 - 5.0.5, 5.4.15
Time: 0.0271 Seconds
Output for 5.4.12, 5.4.14
Time: 0.0250 Seconds
Output for 5.2.5, 5.2.12, 5.3.4, 5.3.25, 5.4.13
Time: 0.0260 Seconds
Output for 5.4.11
Time: 0.0472 Seconds
Output for 5.1.5 - 5.1.6, 5.4.5, 5.4.10
Time: 0.0263 Seconds
Output for 5.4.6
Time: 0.0286 Seconds
Output for 4.3.3, 5.2.2, 5.4.3
Time: 0.0254 Seconds
Output for 5.4.1
Time: 0.0237 Seconds
Output for 5.4.0
Time: 0.0291 Seconds
Output for 4.4.1, 5.0.1, 5.3.29
Time: 0.0283 Seconds
Output for 5.3.28
Time: 0.0238 Seconds
Output for 5.3.27
Time: 0.0269 Seconds
Output for 5.1.0, 5.3.26
Time: 0.0280 Seconds
Output for 5.3.22
Time: 0.0512 Seconds
Output for 5.3.21
Time: 0.0303 Seconds
Output for 5.3.18
Time: 0.0306 Seconds
Output for 5.3.17
Time: 0.0467 Seconds
Output for 5.3.16
Time: 0.0261 Seconds
Output for 5.3.12, 5.3.15
Time: 0.0256 Seconds
Output for 5.2.13 - 5.2.14, 5.2.17, 5.3.5, 5.3.7, 5.3.13
Time: 0.0255 Seconds
Output for 5.3.0, 5.3.11
Time: 0.0259 Seconds
Output for 5.2.7, 5.3.1, 5.3.6, 5.3.10
Time: 0.0257 Seconds
Output for 5.3.8
Time: 0.0285 Seconds
Output for 5.2.1, 5.2.4, 5.3.2
Time: 0.0251 Seconds
Output for 5.2.16
Time: 0.0246 Seconds
Output for 5.2.15
Time: 0.0243 Seconds
Output for 5.2.11
Time: 0.0278 Seconds
Output for 5.2.8
Time: 0.0284 Seconds
Output for 5.2.3
Time: 0.0245 Seconds
Output for 5.2.0
Time: 0.0213 Seconds
Output for 5.1.4
Time: 0.0293 Seconds
Output for 5.1.2
Time: 0.0279 Seconds
Output for 5.0.3
Time: 0.0264 Seconds
Output for 5.0.0
Time: 0.0532 Seconds
Output for 4.4.9
Time: 0.0295 Seconds
Output for 4.4.8
Time: 0.0404 Seconds
Output for 4.4.7
Time: 0.0272 Seconds
Output for 4.4.5
Time: 0.0305 Seconds
Output for 4.4.4
Time: 0.0311 Seconds
Output for 4.4.3
Time: 0.0313 Seconds
Output for 4.4.0
Time: 0.0276 Seconds
Output for 4.3.11
Time: 0.0292 Seconds
Output for 4.3.10
Time: 0.0266 Seconds
Output for 4.3.9
Time: 0.0322 Seconds
Output for 4.3.7
Time: 0.0273 Seconds
Output for 4.3.5
Time: -0.9728 Seconds
Output for 4.3.4
Time: 0.0447 Seconds
Output for 4.3.0
Time: 0.0481 Seconds