3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $keyword = array('AV女星','色诱','偷拍','走光','露点','全裸','女优','强奸','SM','三级'); $begin = microtime(TRUE); if (strpos('站和主要商业网站偷拍要树立正确办网导', '偷拍') !== false) { echo 'true '; } $end = microtime(TRUE); echo (($end-$begin)*1000).'ms '; $begin = microtime(TRUE); echo preg_match("/偷拍/", '站和主要商业网站偷拍要树立正确办网导'); $end = microtime(TRUE); echo (($end-$begin)*1000).'ms ';
Output for 7.1.0
true 0.013113021850586ms 10.045061111450195ms
Output for 7.0.14
true 0.017166137695312ms 10.05793571472168ms
Output for 7.0.4, 7.0.10
true 0.014066696166992ms 10.050067901611328ms
Output for 7.0.9
true 0.010967254638672ms 10.069141387939453ms
Output for 7.0.8
true 0.012874603271484ms 10.072956085205078ms
Output for 7.0.7
true 0.015020370483398ms 10.072002410888672ms
Output for 7.0.6
true 0.015974044799805ms 10.073909759521484ms
Output for 7.0.5
true 0.015020370483398ms 10.058889389038086ms
Output for 7.0.3
true 0.012874603271484ms 10.067949295043945ms
Output for 7.0.2
true 0.011920928955078ms 10.056982040405273ms
Output for 7.0.1
true 0.014066696166992ms 10.051975250244141ms
Output for 7.0.0
true 0.016927719116211ms 10.072002410888672ms
Output for 5.3.17, 5.6.28
true 0.018119812011719ms 10.015974044799805ms
Output for 5.6.25
true 0.021219253540039ms 10.014781951904297ms
Output for 5.5.20, 5.5.23, 5.6.5, 5.6.24
true 0.019073486328125ms 10.015974044799805ms
Output for 5.6.23
true 0.021934509277344ms 10.020027160644531ms
Output for 5.5.27, 5.5.30, 5.6.6, 5.6.22
true 0.018119812011719ms 10.016927719116211ms
Output for 5.4.25, 5.5.36, 5.6.9, 5.6.21
true 0.017166137695312ms 10.015020370483398ms
Output for 5.6.20
true 0.015020370483398ms 10.014781951904297ms
Output for 5.5.33, 5.6.19
true 0.016927719116211ms 10.016927719116211ms
Output for 5.4.19, 5.6.18
true 0.017881393432617ms 10.018119812011719ms
Output for 5.4.24, 5.6.17
true 0.014781951904297ms 10.014066696166992ms
Output for 5.5.6, 5.6.16
true 0.015974044799805ms 10.015020370483398ms
Output for 5.6.15
true 0.017166137695312ms 10.02288818359375ms
Output for 5.6.3, 5.6.14
true 0.019073486328125ms 10.02288818359375ms
Output for 5.3.26, 5.5.11, 5.5.38, 5.6.13
true 0.016927719116211ms 10.015974044799805ms
Output for 5.6.11 - 5.6.12
true 0.015974044799805ms 10.015974044799805ms
Output for 5.6.10
true 0.017166137695312ms 10.015974044799805ms
Output for 5.4.8, 5.4.14, 5.6.7 - 5.6.8
true 0.017881393432617ms 10.015020370483398ms
Output for 5.4.11, 5.5.2, 5.6.4
true 0.015020370483398ms 10.011920928955078ms
Output for 5.3.27, 5.5.10, 5.5.19, 5.5.25, 5.6.2
true 0.016927719116211ms 10.015020370483398ms
Output for 5.6.1
true 0.019073486328125ms 10.016927719116211ms
Output for 5.6.0
true 0.020027160644531ms 10.015974044799805ms
Output for 5.5.37
true 0.016212463378906ms 10.023126602172852ms
Output for 5.5.35
true 0.018835067749023ms 10.016212463378906ms
Output for 5.5.34
true 0.016927719116211ms 10.016212463378906ms
Output for 5.5.29, 5.5.32
true 0.017166137695312ms 10.016927719116211ms
Output for 5.5.31
true 0.014066696166992ms 10.013828277587891ms
Output for 5.5.28
true 0.016212463378906ms 10.016212463378906ms
Output for 5.5.26
true 0.017881393432617ms 10.024080276489258ms
Output for 5.5.24
true 0.014066696166992ms 10.014066696166992ms
Output for 5.5.22
true 0.018119812011719ms 10.015020370483398ms
Output for 5.5.21
true 0.019073486328125ms 10.015020370483398ms
Output for 5.3.16, 5.5.18
true 0.013113021850586ms 10.01215934753418ms
Output for 5.4.17, 5.5.16
true 0.017881393432617ms 10.021934509277344ms
Output for 5.5.1, 5.5.15
true 0.015974044799805ms 10.014066696166992ms
Output for 5.5.14
true 0.018835067749023ms 10.015974044799805ms
Output for 5.5.13
true 0.021934509277344ms 10.023126602172852ms
Output for 5.5.12
true 0.015020370483398ms 10.013828277587891ms
Output for 5.5.9
true 0.017881393432617ms 10.014066696166992ms
Output for 5.5.8
true 0.018119812011719ms 10.019073486328125ms
Output for 5.3.19, 5.5.7
true 0.015020370483398ms 10.014066696166992ms
Output for 5.4.16, 5.5.5
true 0.018119812011719ms 10.014781951904297ms
Output for 5.5.4
true 0.015020370483398ms 10.013113021850586ms
Output for 5.4.44, 5.5.3
true 0.018835067749023ms 10.016927719116211ms
Output for 5.5.0
true 0.012874603271484ms 10.011205673217773ms
Output for 5.3.15, 5.4.9, 5.4.45
true 0.016927719116211ms 10.020980834960938ms
Output for 5.4.43
true 0.016927719116211ms 10.024080276489258ms
Output for 5.4.42
true 0.018119812011719ms 10.020980834960938ms
Output for 5.4.18, 5.4.41
true 0.019073486328125ms 10.01978874206543ms
Output for 5.4.40
true 0.020980834960938ms 10.015020370483398ms
Output for 5.4.39
true 0.016927719116211ms 10.017881393432617ms
Output for 5.4.38
true 0.018119812011719ms 10.020027160644531ms
Output for 5.4.37
true 0.020980834960938ms 10.013828277587891ms
Output for 5.3.28, 5.4.36
true 0.019073486328125ms 10.021934509277344ms
Output for 5.4.34 - 5.4.35
true 0.020980834960938ms 10.018835067749023ms
Output for 5.4.32
true 0.014781951904297ms 10.010967254638672ms
Output for 5.4.31
true 0.018119812011719ms 10.018119812011719ms
Output for 5.4.30
true 0.015974044799805ms 10.013113021850586ms
Output for 5.4.29
true 0.015974044799805ms 10.018835067749023ms
Output for 5.4.28
true 0.015974044799805ms 10.012874603271484ms
Output for 5.4.27
true 0.024080276489258ms 10.013113021850586ms
Output for 5.4.26
true 0.017881393432617ms 10.020027160644531ms
Output for 5.4.23
true 0.013828277587891ms 10.011205673217773ms
Output for 5.4.22
true 0.018119812011719ms 10.012874603271484ms
Output for 5.4.21
true 0.01978874206543ms 10.020027160644531ms
Output for 5.4.20
true 0.017166137695312ms 10.01215934753418ms
Output for 5.4.15
true 0.015020370483398ms 10.01215934753418ms
Output for 5.4.13
true 0.017166137695312ms 10.012874603271484ms
Output for 5.4.12
true 0.017166137695312ms 10.014066696166992ms
Output for 5.4.10
true 0.019073486328125ms 10.013828277587891ms
Output for 5.3.24, 5.4.7
true 0.014066696166992ms 10.012874603271484ms
Output for 5.4.6
true 0.014066696166992ms 10.010013580322266ms
Output for 5.4.5
true 0.011920928955078ms 10.010967254638672ms
Output for 5.3.9, 5.4.4
true 0.011920928955078ms 10.011920928955078ms
Output for 5.4.3
true 0.01215934753418ms 10.014066696166992ms
Output for 5.4.2
true 0.010967254638672ms 10.0090599060058594ms
Output for 5.1.4, 5.3.12, 5.4.1
true 0.010967254638672ms 10.010013580322266ms
Output for 5.2.7, 5.4.0
true 0.010013580322266ms 10.0090599060058594ms
Output for 5.3.29
true 0.013113021850586ms 10.014066696166992ms
Output for 5.3.25
true 0.019073486328125ms 10.023126602172852ms
Output for 5.3.23
true 0.016212463378906ms 10.013828277587891ms
Output for 5.3.22
true 0.017881393432617ms 10.016212463378906ms
Output for 5.3.21
true 0.015974044799805ms 10.021934509277344ms
Output for 5.3.20
true 0.010967254638672ms 10.01215934753418ms
Output for 5.3.18
true 0.019073486328125ms 10.022172927856445ms
Output for 5.3.13 - 5.3.14
true 0.01215934753418ms 10.01215934753418ms
Output for 5.2.12, 5.2.15, 5.3.11
true 0.010967254638672ms 10.010967254638672ms
Output for 5.3.10
true 0.011920928955078ms 10.01215934753418ms
Output for 5.3.8
true 0.016212463378906ms 10.013113021850586ms
Output for 5.3.7
true 0.015020370483398ms 10.015974044799805ms
Output for 5.1.0, 5.3.6
true 0.0090599060058594ms 10.0090599060058594ms
Output for 5.3.5
true 0.011205673217773ms 10.012874603271484ms
Output for 5.3.4
true 0.0088214874267578ms 10.0088214874267578ms
Output for 5.3.3
true 0.0088214874267578ms 10.0078678131103516ms
Output for 5.3.2
true 0.011920928955078ms 10.0090599060058594ms
Output for 5.1.5, 5.2.3, 5.3.1
true 0.011920928955078ms 10.010013580322266ms
Output for 5.3.0
true 0.013113021850586ms 10.013113021850586ms
Output for 5.2.17
true 0.010967254638672ms 10.014066696166992ms
Output for 5.2.16
true 0.011920928955078ms 10.013113021850586ms
Output for 5.1.1, 5.2.9, 5.2.14
true 0.012874603271484ms 10.011920928955078ms
Output for 5.2.13
true 0.0078678131103516ms 10.0088214874267578ms
Output for 5.2.11
true 0.0097751617431641ms 10.010013580322266ms
Output for 5.2.10
true 0.015020370483398ms 10.018119812011719ms
Output for 5.2.8
true 0.012874603271484ms 10.01215934753418ms
Output for 5.2.6
true 0.014066696166992ms 10.015020370483398ms
Output for 5.2.5
true 0.010967254638672ms 10.011920928955078ms
Output for 5.2.4
true 0.011205673217773ms 10.013113021850586ms
Output for 5.2.2
true 0.0090599060058594ms 10.01215934753418ms
Output for 5.2.1
true 0.0088214874267578ms 10.011920928955078ms
Output for 5.2.0
true 0.0090599060058594ms 10.013113021850586ms
Output for 5.1.6
true 0.012874603271484ms 10.010967254638672ms
Output for 5.1.3
true 0.0090599060058594ms 10.010013580322266ms
Output for 5.1.2
true 0.010013580322266ms 10.0088214874267578ms
Output for 5.0.5
true 0.010013580322266ms 10.010013580322266ms
Output for 5.0.4
true 0.0081062316894531ms 10.0069141387939453ms
Output for 5.0.3
true 0.0090599060058594ms 10.0071525573730469ms
Output for 5.0.2
true 0.010013580322266ms 10.010967254638672ms
Output for 5.0.1
true 0.0081062316894531ms 10.0090599060058594ms
Output for 5.0.0
true 0.010013580322266ms 10.0081062316894531ms
Output for 4.4.9
true 0.012ms 10.013ms
Output for 4.4.8
true 0.012ms 10.01ms
Output for 4.4.7
true 0.017ms 10.011ms
Output for 4.4.6
true 0.015ms 10.013ms
Output for 4.4.5
true 0.014ms 10.013ms
Output for 4.4.4
true 0.015ms 10.007ms
Output for 4.4.1, 4.4.3
true 0.014ms 10.009ms
Output for 4.4.2
true 0.014ms 10.01ms
Output for 4.4.0
true 0.012ms 10.009ms
Output for 4.3.11
true 0.02ms 10.012ms
Output for 4.3.10
true 0.015ms 10.011ms
Output for 4.3.5 - 4.3.6, 4.3.9
true 0.023ms 10.01ms
Output for 4.3.8
true 0.019ms 10.008ms
Output for 4.3.7
true 0.027ms 10.016ms
Output for 4.3.4
true 0.026ms 10.012ms
Output for 4.3.3
true 0.034ms 10.015ms
Output for 4.3.2
true 0.029ms 10.008ms
Output for 4.3.1
true 0.026ms 10.013ms
Output for 4.3.0
true 0.031ms 10.01ms