3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $keywords = array('AV女星','色诱','偷拍','走光','露点','全裸','女优','强奸','SM','三级'); $begin = microtime(TRUE); foreach($keywords as $key) { strpos('站和主要商业网站偷拍要树立正确办网导', $key) !== false; } $end = microtime(TRUE); echo (($end-$begin)*1000).'ms '; $begin = microtime(TRUE); preg_match("/AV女星|色诱|偷拍|走光|露点|全裸|女优|强奸|SM|三级/", '站和主要商业网站偷拍要树立正确办网导'); $end = microtime(TRUE); echo (($end-$begin)*1000).'ms ';
Output for 7.1.0
0.0040531158447266ms 0.085115432739258ms
Output for 7.0.14
0.0040531158447266ms 0.075101852416992ms
Output for 7.0.9
0.0059604644775391ms 0.05793571472168ms
Output for 7.0.8
0.0059604644775391ms 0.061988830566406ms
Output for 7.0.7
0.0059604644775391ms 0.072956085205078ms
Output for 7.0.6
0.0050067901611328ms 0.076055526733398ms
Output for 7.0.5
0.0059604644775391ms 0.076055526733398ms
Output for 7.0.4
0.003814697265625ms 0.090122222900391ms
Output for 7.0.3
0.0040531158447266ms 0.098943710327148ms
Output for 7.0.2
0.0040531158447266ms 0.078916549682617ms
Output for 7.0.1
0.0030994415283203ms 0.072956085205078ms
Output for 7.0.0
0.0030994415283203ms 0.058889389038086ms
Output for 5.5.18, 5.5.36, 5.6.19, 5.6.28
0.0081062316894531ms 0.025033950805664ms
Output for 5.6.23
0.0069141387939453ms 0.021934509277344ms
Output for 5.6.22
0.0071525573730469ms 0.024080276489258ms
Output for 5.6.21
0.0059604644775391ms 0.020980834960938ms
Output for 5.6.20
0.0071525573730469ms 0.02288818359375ms
Output for 5.6.18
0.0059604644775391ms 0.030994415283203ms
Output for 5.3.14, 5.5.14, 5.6.17
0.0059604644775391ms 0.018119812011719ms
Output for 5.3.15, 5.4.22, 5.4.30, 5.4.38, 5.6.14, 5.6.16
0.0069141387939453ms 0.020980834960938ms
Output for 5.5.15, 5.6.15
0.0069141387939453ms 0.017881393432617ms
Output for 5.6.13
0.0078678131103516ms 0.02288818359375ms
Output for 5.6.12
0.0071525573730469ms 0.030994415283203ms
Output for 5.6.11
0.010013580322266ms 0.026941299438477ms
Output for 5.6.10
0.0081062316894531ms 0.02288818359375ms
Output for 5.6.9
0.0069141387939453ms 0.028848648071289ms
Output for 5.6.8
0.0050067901611328ms 0.016927719116211ms
Output for 5.4.37, 5.6.7
0.0081062316894531ms 0.02598762512207ms
Output for 5.6.6
0.0081062316894531ms 0.023841857910156ms
Output for 5.6.5
0.0078678131103516ms 0.026941299438477ms
Output for 5.6.4
0.0061988830566406ms 0.015974044799805ms
Output for 5.6.3
0.0059604644775391ms 0.020027160644531ms
Output for 5.5.3, 5.5.10, 5.5.29, 5.6.2
0.0081062316894531ms 0.021934509277344ms
Output for 5.6.1
0.0069141387939453ms 0.022172927856445ms
Output for 5.4.2, 5.6.0
0.0071525573730469ms 0.017881393432617ms
Output for 5.5.37
0.0078678131103516ms 0.030994415283203ms
Output for 5.5.35
0.0071525573730469ms 0.020027160644531ms
Output for 5.5.34
0.0090599060058594ms 0.030040740966797ms
Output for 5.5.23, 5.5.26, 5.5.33
0.0090599060058594ms 0.024080276489258ms
Output for 5.5.32
0.0078678131103516ms 0.033855438232422ms
Output for 5.5.31
0.0050067901611328ms 0.015974044799805ms
Output for 5.5.30
0.0078678131103516ms 0.022172927856445ms
Output for 5.2.1, 5.5.28
0.0090599060058594ms 0.025033950805664ms
Output for 5.5.0, 5.5.27
0.0071525573730469ms 0.020980834960938ms
Output for 5.4.28, 5.5.25
0.0069141387939453ms 0.019073486328125ms
Output for 5.4.19, 5.5.24
0.0078678131103516ms 0.021934509277344ms
Output for 5.5.9, 5.5.22
0.0081062316894531ms 0.020980834960938ms
Output for 5.5.21
0.013113021850586ms 0.034093856811523ms
Output for 5.5.20
0.0078678131103516ms 0.024080276489258ms
Output for 5.5.19
0.0069141387939453ms 0.031948089599609ms
Output for 5.4.41, 5.5.16
0.0090599060058594ms 0.02288818359375ms
Output for 5.1.3, 5.5.13
0.0081062316894531ms 0.015974044799805ms
Output for 5.5.4, 5.5.12
0.0069141387939453ms 0.016927719116211ms
Output for 5.5.11
0.0059604644775391ms 0.019073486328125ms
Output for 5.4.11, 5.5.7 - 5.5.8
0.0078678131103516ms 0.018835067749023ms
Output for 5.4.43, 5.5.6
0.0078678131103516ms 0.020027160644531ms
Output for 5.4.40, 5.5.5
0.0059604644775391ms 0.016927719116211ms
Output for 5.3.8, 5.5.2
0.0059604644775391ms 0.015020370483398ms
Output for 5.3.29, 5.5.1
0.0081062316894531ms 0.027894973754883ms
Output for 5.4.45
0.0090599060058594ms 0.030994415283203ms
Output for 5.4.44
0.0090599060058594ms 0.021934509277344ms
Output for 5.4.42
0.0090599060058594ms 0.023126602172852ms
Output for 5.4.39
0.0069141387939453ms 0.018119812011719ms
Output for 5.4.36
0.0078678131103516ms 0.01978874206543ms
Output for 5.4.35
0.0078678131103516ms 0.018119812011719ms
Output for 5.3.20, 5.4.18, 5.4.34
0.0088214874267578ms 0.020027160644531ms
Output for 5.4.32
0.0069141387939453ms 0.025033950805664ms
Output for 5.4.31
0.010967254638672ms 0.026941299438477ms
Output for 5.2.2, 5.2.11, 5.3.23, 5.4.6 - 5.4.7, 5.4.13 - 5.4.14, 5.4.29
0.0090599060058594ms 0.020980834960938ms
Output for 5.4.17, 5.4.27
0.0081062316894531ms 0.020027160644531ms
Output for 5.3.27, 5.4.10, 5.4.26
0.0059604644775391ms 0.014066696166992ms
Output for 5.4.8, 5.4.25
0.0071525573730469ms 0.019073486328125ms
Output for 5.4.24
0.0090599060058594ms 0.026941299438477ms
Output for 5.4.23
0.0081062316894531ms 0.019073486328125ms
Output for 5.4.21
0.0069141387939453ms 0.017166137695312ms
Output for 5.4.20
0.0071525573730469ms 0.02598762512207ms
Output for 5.4.16
0.0071525573730469ms 0.015974044799805ms
Output for 5.4.15
0.0061988830566406ms 0.014066696166992ms
Output for 5.4.12
0.0059604644775391ms 0.018835067749023ms
Output for 5.4.9
0.0050067901611328ms 0.013113021850586ms
Output for 5.4.5
0.0059604644775391ms 0.012874603271484ms
Output for 5.4.4
0.0050067901611328ms 0.014066696166992ms
Output for 5.4.3
0.0078678131103516ms 0.014066696166992ms
Output for 5.4.1
0.0050067901611328ms 0.012874603271484ms
Output for 5.4.0
0.0059604644775391ms 0.010967254638672ms
Output for 5.3.28
0.0069141387939453ms 0.015020370483398ms
Output for 5.3.26
0.0078678131103516ms 0.019073486328125ms
Output for 5.3.25
0.010013580322266ms 0.024795532226562ms
Output for 5.2.7, 5.3.24
0.010013580322266ms 0.02598762512207ms
Output for 5.3.22
0.0078678131103516ms 0.024795532226562ms
Output for 5.2.15, 5.3.21
0.010013580322266ms 0.018835067749023ms
Output for 5.3.19
0.0090599060058594ms 0.027894973754883ms
Output for 5.1.2, 5.1.4, 5.2.17, 5.3.18
0.010013580322266ms 0.020980834960938ms
Output for 5.3.17
0.0097751617431641ms 0.01978874206543ms
Output for 5.3.16
0.0081062316894531ms 0.018119812011719ms
Output for 5.3.13
0.0090599060058594ms 0.018835067749023ms
Output for 5.3.12
0.0090599060058594ms 0.020027160644531ms
Output for 5.3.11
0.0088214874267578ms 0.028848648071289ms
Output for 5.3.10
0.0059604644775391ms 0.01215934753418ms
Output for 5.1.5 - 5.1.6, 5.2.13, 5.3.7, 5.3.9
0.010013580322266ms 0.020027160644531ms
Output for 5.3.6
0.012874603271484ms 0.027894973754883ms
Output for 5.2.3, 5.3.5
0.010013580322266ms 0.021934509277344ms
Output for 5.2.12, 5.3.2 - 5.3.4
0.0050067901611328ms 0.011920928955078ms
Output for 5.3.1
0.0071525573730469ms 0.010967254638672ms
Output for 5.3.0
0.0078678131103516ms 0.015974044799805ms
Output for 5.2.16
0.010013580322266ms 0.029087066650391ms
Output for 5.2.14
0.020027160644531ms 0.028133392333984ms
Output for 5.2.10
0.0081062316894531ms 0.01215934753418ms
Output for 5.2.9
0.010967254638672ms 0.020027160644531ms
Output for 5.2.8
0.0069141387939453ms 0.014781951904297ms
Output for 5.2.5 - 5.2.6
0.0090599060058594ms 0.019073486328125ms
Output for 5.2.4
0.0088214874267578ms 0.020980834960938ms
Output for 5.2.0
0.010013580322266ms 0.025033950805664ms
Output for 5.1.1
0.010967254638672ms 0.020980834960938ms
Output for 5.1.0
0.0078678131103516ms 0.016927719116211ms
Output for 5.0.5
0.018835067749023ms 0.017166137695312ms
Output for 5.0.4
0.015974044799805ms 0.018119812011719ms
Output for 5.0.3
0.015020370483398ms 0.016927719116211ms
Output for 5.0.2
0.019073486328125ms 0.015974044799805ms
Output for 5.0.1
0.020980834960938ms 0.016927719116211ms
Output for 5.0.0
0.01215934753418ms 0.0097751617431641ms
Output for 4.4.9
0.03ms 0.025ms
Output for 4.4.8
0.021ms 0.04ms
Output for 4.4.7
0.028ms 0.039ms
Output for 4.4.6
0.021ms 0.024ms
Output for 4.4.5
0.025ms 0.021ms
Output for 4.4.4
0.025ms 0.017ms
Output for 4.4.3
0.026ms 0.019ms
Output for 4.4.2
0.028ms 0.019ms
Output for 4.4.1
0.026ms 0.018ms
Output for 4.4.0
0.023ms 0.019ms
Output for 4.3.11
0.021ms 0.019ms
Output for 4.3.10
0.025ms 0.028ms
Output for 4.3.9
0.037ms 0.017ms
Output for 4.3.8
0.032ms 0.014ms
Output for 4.3.7
0.035ms 0.023ms
Output for 4.3.6
0.036ms 0.017ms
Output for 4.3.5
0.032ms 0.023ms
Output for 4.3.2, 4.3.4
0.036ms 0.016ms
Output for 4.3.3
0.029ms 0.02ms
Output for 4.3.1
0.034ms 0.015ms
Output for 4.3.0
0.038ms 0.016ms