3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = range(1,150000); $t = microtime(true); array_filter($arr); $t = microtime(true) - $t; printf('array_filter took %0.6f seconds to filter through %d elements', $t, count($arr));
Output for 7.1.0
array_filter took 0.004006 seconds to filter through 150000 elements
Output for 7.0.14
array_filter took 0.003948 seconds to filter through 150000 elements
Output for 7.0.10
array_filter took 0.005454 seconds to filter through 150000 elements
Output for 7.0.9
array_filter took 0.005080 seconds to filter through 150000 elements
Output for 7.0.8
array_filter took 0.088355 seconds to filter through 150000 elements
Output for 7.0.7
array_filter took 0.087968 seconds to filter through 150000 elements
Output for 7.0.6
array_filter took 0.006171 seconds to filter through 150000 elements
Output for 7.0.4 - 7.0.5
array_filter took 0.005629 seconds to filter through 150000 elements
Output for 7.0.3
array_filter took 0.107014 seconds to filter through 150000 elements
Output for 7.0.2
array_filter took 0.095141 seconds to filter through 150000 elements
Output for 7.0.1
array_filter took 0.095799 seconds to filter through 150000 elements
Output for 7.0.0
array_filter took 0.112024 seconds to filter through 150000 elements
Output for hhvm-3.12.0
array_filter took 0.012805 seconds to filter through 150000 elements
Output for hhvm-3.10.0
array_filter took 0.018433 seconds to filter through 150000 elements
Output for 5.6.28
array_filter took 0.022655 seconds to filter through 150000 elements
Output for 5.6.25
array_filter took 0.026402 seconds to filter through 150000 elements
Output for 5.6.24
array_filter took 0.024495 seconds to filter through 150000 elements
Output for 5.6.23
array_filter took 0.021471 seconds to filter through 150000 elements
Output for 5.6.22
array_filter took 0.022813 seconds to filter through 150000 elements
Output for 5.6.21
array_filter took 0.017051 seconds to filter through 150000 elements
Output for 5.6.20
array_filter took 0.017980 seconds to filter through 150000 elements
Output for 5.6.19
array_filter took 0.020507 seconds to filter through 150000 elements
Output for 5.6.18
array_filter took 0.020103 seconds to filter through 150000 elements
Output for 5.6.17
array_filter took 0.018920 seconds to filter through 150000 elements
Output for 5.6.16
array_filter took 0.017322 seconds to filter through 150000 elements
Output for 5.6.15
array_filter took 0.019605 seconds to filter through 150000 elements
Output for 5.6.14
array_filter took 0.020230 seconds to filter through 150000 elements
Output for 5.6.13
array_filter took 0.019050 seconds to filter through 150000 elements
Output for 5.6.12
array_filter took 0.020957 seconds to filter through 150000 elements
Output for 5.6.11
array_filter took 0.022801 seconds to filter through 150000 elements
Output for 5.6.10
array_filter took 0.019384 seconds to filter through 150000 elements
Output for 5.6.9
array_filter took 0.025600 seconds to filter through 150000 elements
Output for 5.6.8
array_filter took 0.020096 seconds to filter through 150000 elements
Output for 5.5.27, 5.6.7
array_filter took 0.019684 seconds to filter through 150000 elements
Output for 5.6.6
array_filter took 0.021783 seconds to filter through 150000 elements
Output for 5.6.5
array_filter took 0.017688 seconds to filter through 150000 elements
Output for 5.6.4
array_filter took 0.021097 seconds to filter through 150000 elements
Output for 5.6.3
array_filter took 0.023967 seconds to filter through 150000 elements
Output for 5.6.2
array_filter took 0.018977 seconds to filter through 150000 elements
Output for 5.6.1
array_filter took 0.021099 seconds to filter through 150000 elements
Output for 5.6.0
array_filter took 0.023838 seconds to filter through 150000 elements
Output for 5.5.38
array_filter took 0.021625 seconds to filter through 150000 elements
Output for 5.5.37
array_filter took 0.019884 seconds to filter through 150000 elements
Output for 5.5.36
array_filter took 0.028755 seconds to filter through 150000 elements
Output for 5.5.35
array_filter took 0.022448 seconds to filter through 150000 elements
Output for 5.5.34
array_filter took 0.018208 seconds to filter through 150000 elements
Output for 5.5.33
array_filter took 0.019651 seconds to filter through 150000 elements
Output for 5.5.32
array_filter took 0.020771 seconds to filter through 150000 elements
Output for 5.5.31
array_filter took 0.020175 seconds to filter through 150000 elements
Output for 5.5.30
array_filter took 0.018777 seconds to filter through 150000 elements
Output for 5.5.29
array_filter took 0.018651 seconds to filter through 150000 elements
Output for 5.5.28
array_filter took 0.020009 seconds to filter through 150000 elements
Output for 5.5.26
array_filter took 0.023301 seconds to filter through 150000 elements
Output for 5.5.25
array_filter took 0.023983 seconds to filter through 150000 elements
Output for 5.5.24
array_filter took 0.023274 seconds to filter through 150000 elements
Output for 5.5.23
array_filter took 0.022244 seconds to filter through 150000 elements
Output for 5.5.22
array_filter took 0.019502 seconds to filter through 150000 elements
Output for 5.5.21
array_filter took 0.021125 seconds to filter through 150000 elements
Output for 5.5.20
array_filter took 0.020084 seconds to filter through 150000 elements
Output for 5.5.19
array_filter took 0.027830 seconds to filter through 150000 elements
Output for 5.5.14, 5.5.18
array_filter took 0.021457 seconds to filter through 150000 elements
Output for 5.5.16
array_filter took 0.029122 seconds to filter through 150000 elements
Output for 5.5.15
array_filter took 0.018754 seconds to filter through 150000 elements
Output for 5.5.13
array_filter took 0.017576 seconds to filter through 150000 elements
Output for 5.5.12
array_filter took 0.020621 seconds to filter through 150000 elements
Output for 5.5.11
array_filter took 0.027583 seconds to filter through 150000 elements
Output for 5.5.10
array_filter took 0.020024 seconds to filter through 150000 elements
Output for 5.5.9
array_filter took 0.021826 seconds to filter through 150000 elements
Output for 5.5.8
array_filter took 0.022146 seconds to filter through 150000 elements
Output for 5.5.7
array_filter took 0.020471 seconds to filter through 150000 elements
Output for 5.5.6
array_filter took 0.018823 seconds to filter through 150000 elements
Output for 5.5.5
array_filter took 0.018127 seconds to filter through 150000 elements
Output for 5.5.4
array_filter took 0.031794 seconds to filter through 150000 elements
Output for 5.5.3
array_filter took 0.018792 seconds to filter through 150000 elements
Output for 5.5.2
array_filter took 0.020541 seconds to filter through 150000 elements
Output for 5.5.1
array_filter took 0.020906 seconds to filter through 150000 elements
Output for 5.5.0
array_filter took 0.020332 seconds to filter through 150000 elements
Output for 5.4.45
array_filter took 0.021239 seconds to filter through 150000 elements
Output for 5.4.44
array_filter took 0.020083 seconds to filter through 150000 elements
Output for 5.4.43
array_filter took 0.022597 seconds to filter through 150000 elements
Output for 5.4.42
array_filter took 0.024565 seconds to filter through 150000 elements
Output for 5.4.41
array_filter took 0.019434 seconds to filter through 150000 elements
Output for 5.4.40
array_filter took 0.021101 seconds to filter through 150000 elements
Output for 5.4.39
array_filter took 0.021284 seconds to filter through 150000 elements
Output for 5.4.38
array_filter took 0.018665 seconds to filter through 150000 elements
Output for 5.4.37
array_filter took 0.019926 seconds to filter through 150000 elements
Output for 5.4.36
array_filter took 0.019693 seconds to filter through 150000 elements
Output for 5.4.35
array_filter took 0.020833 seconds to filter through 150000 elements
Output for 5.4.34
array_filter took 0.022421 seconds to filter through 150000 elements
Output for 5.4.32
array_filter took 0.023322 seconds to filter through 150000 elements
Output for 5.4.31
array_filter took 0.023898 seconds to filter through 150000 elements
Output for 5.4.30
array_filter took 0.022902 seconds to filter through 150000 elements
Output for 5.4.29
array_filter took 0.021020 seconds to filter through 150000 elements
Output for 5.4.28
array_filter took 0.022741 seconds to filter through 150000 elements
Output for 5.4.27
array_filter took 0.022028 seconds to filter through 150000 elements
Output for 5.4.26
array_filter took 0.022294 seconds to filter through 150000 elements
Output for 5.4.25
array_filter took 0.021263 seconds to filter through 150000 elements
Output for 5.4.24
array_filter took 0.022235 seconds to filter through 150000 elements
Output for 5.4.23
array_filter took 0.024016 seconds to filter through 150000 elements
Output for 5.4.22
array_filter took 0.018403 seconds to filter through 150000 elements
Output for 5.4.21
array_filter took 0.023341 seconds to filter through 150000 elements
Output for 5.4.20
array_filter took 0.022691 seconds to filter through 150000 elements
Output for 5.4.19
array_filter took 0.030926 seconds to filter through 150000 elements
Output for 5.4.18
array_filter took 0.026311 seconds to filter through 150000 elements
Output for 5.4.17
array_filter took 0.026148 seconds to filter through 150000 elements
Output for 5.4.16
array_filter took 0.018905 seconds to filter through 150000 elements
Output for 5.4.15
array_filter took 0.024594 seconds to filter through 150000 elements
Output for 5.4.14
array_filter took 0.019622 seconds to filter through 150000 elements
Output for 5.4.13
array_filter took 0.024404 seconds to filter through 150000 elements
Output for 5.4.12
array_filter took 0.021530 seconds to filter through 150000 elements
Output for 5.4.11
array_filter took 0.025236 seconds to filter through 150000 elements
Output for 5.4.10
array_filter took 0.026496 seconds to filter through 150000 elements
Output for 5.4.9
array_filter took 0.023675 seconds to filter through 150000 elements
Output for 5.4.8
array_filter took 0.025406 seconds to filter through 150000 elements
Output for 5.4.7
array_filter took 0.024377 seconds to filter through 150000 elements
Output for 5.4.6
array_filter took 0.019703 seconds to filter through 150000 elements
Output for 5.4.5
array_filter took 0.021173 seconds to filter through 150000 elements
Output for 5.4.4
array_filter took 0.022397 seconds to filter through 150000 elements
Output for 5.4.3
array_filter took 0.024566 seconds to filter through 150000 elements
Output for 5.4.2
array_filter took 0.022907 seconds to filter through 150000 elements
Output for 5.4.1
array_filter took 0.023683 seconds to filter through 150000 elements
Output for 5.4.0
array_filter took 0.025291 seconds to filter through 150000 elements
Output for 5.3.29
array_filter took 0.021954 seconds to filter through 150000 elements
Output for 5.3.28
array_filter took 0.019962 seconds to filter through 150000 elements
Output for 5.3.27
array_filter took 0.028861 seconds to filter through 150000 elements
Output for 5.3.26
array_filter took 0.020554 seconds to filter through 150000 elements
Output for 5.3.25
array_filter took 0.025449 seconds to filter through 150000 elements
Output for 5.3.24
array_filter took 0.020987 seconds to filter through 150000 elements
Output for 5.3.23
array_filter took 0.019816 seconds to filter through 150000 elements
Output for 5.3.22
array_filter took 0.021322 seconds to filter through 150000 elements
Output for 5.3.21
array_filter took 0.025159 seconds to filter through 150000 elements
Output for 5.3.20
array_filter took 0.022934 seconds to filter through 150000 elements
Output for 5.3.19
array_filter took 0.023250 seconds to filter through 150000 elements
Output for 5.3.18
array_filter took 0.020100 seconds to filter through 150000 elements
Output for 5.3.17
array_filter took 0.019972 seconds to filter through 150000 elements
Output for 5.3.16
array_filter took 0.018625 seconds to filter through 150000 elements
Output for 5.3.15
array_filter took 0.023586 seconds to filter through 150000 elements
Output for 5.3.14
array_filter took 0.017925 seconds to filter through 150000 elements
Output for 5.3.13
array_filter took 0.021766 seconds to filter through 150000 elements
Output for 5.3.12
array_filter took 0.021337 seconds to filter through 150000 elements
Output for 5.3.11
array_filter took 0.022386 seconds to filter through 150000 elements
Output for 5.3.10
array_filter took 0.020797 seconds to filter through 150000 elements
Output for 5.3.9
array_filter took 0.031407 seconds to filter through 150000 elements
Output for 5.3.8
array_filter took 0.020556 seconds to filter through 150000 elements
Output for 5.3.7
array_filter took 0.023212 seconds to filter through 150000 elements
Output for 5.3.6
array_filter took 0.021517 seconds to filter through 150000 elements
Output for 5.3.5
array_filter took 0.022683 seconds to filter through 150000 elements
Output for 5.3.4
array_filter took 0.024539 seconds to filter through 150000 elements
Output for 5.3.3
array_filter took 0.019501 seconds to filter through 150000 elements
Output for 5.3.2
array_filter took 0.021748 seconds to filter through 150000 elements
Output for 5.3.1
array_filter took 0.025232 seconds to filter through 150000 elements
Output for 5.3.0
array_filter took 0.020996 seconds to filter through 150000 elements
Output for 5.2.17
array_filter took 0.022266 seconds to filter through 150000 elements
Output for 5.2.16
array_filter took 0.025130 seconds to filter through 150000 elements
Output for 5.2.15
array_filter took 0.024984 seconds to filter through 150000 elements
Output for 5.2.14
array_filter took 0.022707 seconds to filter through 150000 elements
Output for 5.2.13
array_filter took 0.021617 seconds to filter through 150000 elements
Output for 5.2.12
array_filter took 0.021358 seconds to filter through 150000 elements
Output for 5.2.11
array_filter took 0.021880 seconds to filter through 150000 elements
Output for 5.2.10
array_filter took 0.024361 seconds to filter through 150000 elements
Output for 5.2.9
array_filter took 0.023777 seconds to filter through 150000 elements
Output for 5.2.8
array_filter took 0.020120 seconds to filter through 150000 elements
Output for 5.2.7
array_filter took 0.019867 seconds to filter through 150000 elements
Output for 5.2.6
array_filter took 0.020788 seconds to filter through 150000 elements
Output for 5.2.5
array_filter took 0.020743 seconds to filter through 150000 elements
Output for 5.2.4
array_filter took 0.023894 seconds to filter through 150000 elements
Output for 5.2.3
array_filter took 0.027149 seconds to filter through 150000 elements
Output for 5.2.2
array_filter took 0.028052 seconds to filter through 150000 elements
Output for 5.2.1
array_filter took 0.021467 seconds to filter through 150000 elements
Output for 5.2.0
array_filter took 0.021319 seconds to filter through 150000 elements
Output for 5.1.6
array_filter took 0.025042 seconds to filter through 150000 elements
Output for 5.1.5
array_filter took 0.033369 seconds to filter through 150000 elements
Output for 5.1.4
array_filter took 0.024362 seconds to filter through 150000 elements
Output for 5.1.3
array_filter took 0.025563 seconds to filter through 150000 elements
Output for 5.1.2
array_filter took 0.027350 seconds to filter through 150000 elements
Output for 5.1.1
array_filter took 0.026881 seconds to filter through 150000 elements
Output for 5.1.0
array_filter took 0.021133 seconds to filter through 150000 elements
Output for 5.0.5
array_filter took 0.022286 seconds to filter through 150000 elements
Output for 5.0.4
array_filter took 0.024618 seconds to filter through 150000 elements
Output for 5.0.3
array_filter took 0.023992 seconds to filter through 150000 elements
Output for 5.0.2
array_filter took 0.019744 seconds to filter through 150000 elements
Output for 5.0.1
array_filter took 0.026369 seconds to filter through 150000 elements
Output for 5.0.0
array_filter took 0.024994 seconds to filter through 150000 elements
Output for 4.4.9
array_filter took 0.035277 seconds to filter through 150000 elements
Output for 4.4.8
array_filter took 0.038469 seconds to filter through 150000 elements
Output for 4.4.7
array_filter took 0.029802 seconds to filter through 150000 elements
Output for 4.4.6
array_filter took 0.029062 seconds to filter through 150000 elements
Output for 4.4.5
array_filter took 0.029843 seconds to filter through 150000 elements
Output for 4.4.4
array_filter took 0.028792 seconds to filter through 150000 elements
Output for 4.4.3
array_filter took 0.036517 seconds to filter through 150000 elements
Output for 4.4.2
array_filter took 0.023245 seconds to filter through 150000 elements
Output for 4.4.1
array_filter took 0.038320 seconds to filter through 150000 elements
Output for 4.4.0
array_filter took 0.024378 seconds to filter through 150000 elements
Output for 4.3.11
array_filter took 0.018794 seconds to filter through 150000 elements
Output for 4.3.10
array_filter took 0.027602 seconds to filter through 150000 elements
Output for 4.3.9
array_filter took 0.019959 seconds to filter through 150000 elements
Output for 4.3.8
array_filter took 0.022139 seconds to filter through 150000 elements
Output for 4.3.7
array_filter took 0.025531 seconds to filter through 150000 elements
Output for 4.3.6
array_filter took 0.020651 seconds to filter through 150000 elements
Output for 4.3.5
array_filter took 0.018596 seconds to filter through 150000 elements
Output for 4.3.4
array_filter took 0.020565 seconds to filter through 150000 elements
Output for 4.3.3
array_filter took 0.023297 seconds to filter through 150000 elements
Output for 4.3.2
array_filter took 0.018764 seconds to filter through 150000 elements
Output for 4.3.1
array_filter took 0.024392 seconds to filter through 150000 elements
Output for 4.3.0
array_filter took 0.018946 seconds to filter through 150000 elements