3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $keyword = array('AV女星','色诱','偷拍','走光','露点','全裸','女优','强奸','SM','三级'); $begin = microtime(TRUE); foreach($keyword as $key) { if (strpos('站和主要商业网站偷拍要树立正确办网导', $key) !== false) { echo 'true '; break; } } $end = microtime(TRUE); echo (($end-$begin)*1000).'ms '; $begin = microtime(TRUE); echo preg_match("/AV女星|色诱|偷拍|走光|露点|全裸|女优|强奸|SM|三级/", '站和主要商业网站偷拍要树立正确办网导'); $end = microtime(TRUE); echo (($end-$begin)*1000).'ms ';
Output for 7.1.0
true 0.015974044799805ms 10.075817108154297ms
Output for 7.0.14
true 0.016927719116211ms 10.076055526733398ms
Output for 7.0.7
true 0.016927719116211ms 10.082969665527344ms
Output for 7.0.6
true 0.015974044799805ms 10.08702278137207ms
Output for 7.0.5
true 0.015974044799805ms 10.08082389831543ms
Output for 7.0.4
true 0.015020370483398ms 10.072956085205078ms
Output for 7.0.3
true 0.021934509277344ms 10.10299682617188ms
Output for 7.0.2
true 0.015020370483398ms 10.073909759521484ms
Output for 7.0.1
true 0.017166137695312ms 10.082015991210938ms
Output for 7.0.0
true 0.015974044799805ms 10.077962875366211ms
Output for hhvm-3.12.0
true 0.027894973754883ms 10.082969665527344ms
Output for hhvm-3.10.0
true 0.029087066650391ms 10.10299682617188ms
Output for 5.3.5, 5.6.22
true 0.020980834960938ms 10.02598762512207ms
Output for 5.6.11, 5.6.21
true 0.020027160644531ms 10.02598762512207ms
Output for 5.6.20
true 0.019073486328125ms 10.025033950805664ms
Output for 5.6.7, 5.6.19
true 0.014066696166992ms 10.017881393432617ms
Output for 5.4.2, 5.6.18
true 0.018119812011719ms 10.020980834960938ms
Output for 5.6.17
true 0.017166137695312ms 10.023841857910156ms
Output for 5.6.16
true 0.015974044799805ms 10.020980834960938ms
Output for 5.6.15
true 0.020027160644531ms 10.024080276489258ms
Output for 5.6.14
true 0.020027160644531ms 10.027894973754883ms
Output for 5.6.13
true 0.019073486328125ms 10.036954879760742ms
Output for 5.6.12
true 0.020027160644531ms 10.027179718017578ms
Output for 5.6.10
true 0.017881393432617ms 10.023841857910156ms
Output for 5.6.9
true 0.020980834960938ms 10.026226043701172ms
Output for 5.6.8
true 0.019073486328125ms 10.037193298339844ms
Output for 5.6.6
true 0.015020370483398ms 10.019073486328125ms
Output for 5.5.12, 5.5.18, 5.6.5
true 0.010967254638672ms 10.015974044799805ms
Output for 5.6.4
true 0.010967254638672ms 10.014066696166992ms
Output for 5.6.3
true 0.011920928955078ms 10.016212463378906ms
Output for 5.6.2
true 0.016927719116211ms 10.026226043701172ms
Output for 5.6.1
true 0.010013580322266ms 10.013828277587891ms
Output for 5.6.0
true 0.014781951904297ms 10.021934509277344ms
Output for 5.5.36
true 0.020980834960938ms 10.028133392333984ms
Output for 5.5.35
true 0.020027160644531ms 10.026941299438477ms
Output for 5.2.10, 5.5.34
true 0.018835067749023ms 10.021934509277344ms
Output for 5.5.33
true 0.027894973754883ms 10.042915344238281ms
Output for 5.5.32
true 0.018119812011719ms 10.024080276489258ms
Output for 5.5.31
true 0.019073486328125ms 10.024080276489258ms
Output for 5.5.30
true 0.018835067749023ms 10.024080276489258ms
Output for 5.5.29
true 0.019073486328125ms 10.02598762512207ms
Output for 5.5.28
true 0.015974044799805ms 10.019073486328125ms
Output for 5.5.27
true 0.017881393432617ms 10.021934509277344ms
Output for 5.5.26
true 0.020027160644531ms 10.036001205444336ms
Output for 5.5.25
true 0.017881393432617ms 10.025033950805664ms
Output for 5.5.24
true 0.014066696166992ms 10.016927719116211ms
Output for 5.5.23
true 0.014066696166992ms 10.018119812011719ms
Output for 5.5.22
true 0.015974044799805ms 10.017166137695312ms
Output for 5.5.21
true 0.021934509277344ms 10.034809112548828ms
Output for 5.5.20
true 0.012874603271484ms 10.017881393432617ms
Output for 5.5.19
true 0.012874603271484ms 10.025033950805664ms
Output for 5.5.16
true 0.015974044799805ms 10.025033950805664ms
Output for 5.3.23, 5.3.25, 5.3.28, 5.5.15
true 0.011920928955078ms 10.015974044799805ms
Output for 5.5.14
true 0.013113021850586ms 10.015974044799805ms
Output for 5.5.13
true 0.010967254638672ms 10.018119812011719ms
Output for 5.4.29, 5.5.11
true 0.01215934753418ms 10.016927719116211ms
Output for 5.5.10
true 0.01215934753418ms 10.025033950805664ms
Output for 5.5.9
true 0.013828277587891ms 10.018835067749023ms
Output for 5.5.8
true 0.014066696166992ms 10.020980834960938ms
Output for 5.5.6 - 5.5.7
true 0.010967254638672ms 10.015020370483398ms
Output for 5.5.5
true 0.018119812011719ms 10.017881393432617ms
Output for 5.5.4
true 0.011920928955078ms 10.020027160644531ms
Output for 5.5.3
true 0.011920928955078ms 10.02288818359375ms
Output for 5.5.2
true 0.013113021850586ms 10.018119812011719ms
Output for 5.4.32, 5.4.35, 5.5.1
true 0.011920928955078ms 10.014066696166992ms
Output for 5.5.0
true 0.011920928955078ms 10.015020370483398ms
Output for 5.4.45
true 0.019073486328125ms 10.02288818359375ms
Output for 5.2.12, 5.4.1, 5.4.8, 5.4.40, 5.4.43 - 5.4.44
true 0.020027160644531ms 10.02288818359375ms
Output for 5.4.42
true 0.015974044799805ms 10.018119812011719ms
Output for 5.4.41
true 0.02288818359375ms 10.02598762512207ms
Output for 5.4.39
true 0.015974044799805ms 10.016927719116211ms
Output for 5.4.38
true 0.018835067749023ms 10.032901763916016ms
Output for 5.4.37
true 0.010013580322266ms 10.010967254638672ms
Output for 5.4.36
true 0.01215934753418ms 10.014066696166992ms
Output for 5.4.34
true 0.017881393432617ms 10.02288818359375ms
Output for 5.4.31
true 0.013828277587891ms 10.020027160644531ms
Output for 5.4.30
true 0.010967254638672ms 10.011920928955078ms
Output for 5.4.28
true 0.011920928955078ms 10.012874603271484ms
Output for 5.4.27
true 0.013113021850586ms 10.013828277587891ms
Output for 5.4.26
true 0.014066696166992ms 10.024080276489258ms
Output for 5.4.25
true 0.016927719116211ms 10.013828277587891ms
Output for 5.4.24
true 0.010967254638672ms 10.012874603271484ms
Output for 5.4.23
true 0.019073486328125ms 10.018119812011719ms
Output for 5.4.22
true 0.014066696166992ms 10.019073486328125ms
Output for 5.4.21
true 0.013828277587891ms 10.015020370483398ms
Output for 5.4.20
true 0.013113021850586ms 10.015020370483398ms
Output for 5.4.19
true 0.01978874206543ms 10.011920928955078ms
Output for 5.4.18
true 0.015020370483398ms 10.016927719116211ms
Output for 5.4.17
true 0.010013580322266ms 10.025033950805664ms
Output for 5.4.16
true 0.010967254638672ms 10.017881393432617ms
Output for 5.4.15
true 0.010967254638672ms 10.013113021850586ms
Output for 5.4.14
true 0.015020370483398ms 10.017881393432617ms
Output for 5.4.13
true 0.012874603271484ms 10.018119812011719ms
Output for 5.4.12
true 0.016927719116211ms 10.021219253540039ms
Output for 5.4.11
true 0.020980834960938ms 10.023126602172852ms
Output for 5.4.10
true 0.01978874206543ms 10.021934509277344ms
Output for 5.4.9
true 0.020027160644531ms 10.030994415283203ms
Output for 5.4.7
true 0.021934509277344ms 10.030994415283203ms
Output for 5.4.6
true 0.022172927856445ms 10.03814697265625ms
Output for 5.4.5
true 0.023126602172852ms 10.036954879760742ms
Output for 5.4.4
true 0.018835067749023ms 10.01978874206543ms
Output for 5.4.3
true 0.021934509277344ms 10.027894973754883ms
Output for 5.3.17, 5.4.0
true 0.020980834960938ms 10.023841857910156ms
Output for 5.3.29
true 0.01215934753418ms 10.015974044799805ms
Output for 5.3.27
true 0.013113021850586ms 10.019073486328125ms
Output for 5.3.26
true 0.0097751617431641ms 10.013828277587891ms
Output for 5.3.24
true 0.012874603271484ms 10.016927719116211ms
Output for 5.3.22
true 0.019073486328125ms 10.014781951904297ms
Output for 5.3.21
true 0.018119812011719ms 10.020027160644531ms
Output for 5.3.20
true 0.023126602172852ms 10.041961669921875ms
Output for 5.3.19
true 0.020027160644531ms 10.03504753112793ms
Output for 5.3.18
true 0.017881393432617ms 10.020980834960938ms
Output for 5.3.16
true 0.020980834960938ms 10.033855438232422ms
Output for 5.3.15
true 0.020027160644531ms 10.023126602172852ms
Output for 5.3.14
true 0.017881393432617ms 10.019073486328125ms
Output for 5.3.13
true 0.021934509277344ms 10.025033950805664ms
Output for 5.3.12
true 0.023126602172852ms 10.040054321289062ms
Output for 5.2.5, 5.3.11
true 0.020027160644531ms 10.021934509277344ms
Output for 5.3.10
true 0.020980834960938ms 10.020980834960938ms
Output for 5.3.9
true 0.025033950805664ms 10.025033950805664ms
Output for 5.3.8
true 0.020980834960938ms 10.032186508178711ms
Output for 5.3.7
true 0.020980834960938ms 10.03504753112793ms
Output for 5.3.6
true 0.023126602172852ms 10.02598762512207ms
Output for 5.3.4
true 0.020980834960938ms 10.024080276489258ms
Output for 5.3.3
true 0.021934509277344ms 10.024080276489258ms
Output for 5.3.2
true 0.020980834960938ms 10.022172927856445ms
Output for 5.3.1
true 0.018119812011719ms 10.018835067749023ms
Output for 5.3.0
true 0.020027160644531ms 10.020980834960938ms
Output for 5.2.17
true 0.022172927856445ms 10.038862228393555ms
Output for 5.2.16
true 0.020027160644531ms 10.024795532226562ms
Output for 5.2.15
true 0.022172927856445ms 10.024080276489258ms
Output for 5.2.14
true 0.021219253540039ms 10.025033950805664ms
Output for 5.2.13
true 0.021934509277344ms 10.02288818359375ms
Output for 5.2.11
true 0.015020370483398ms 10.013113021850586ms
Output for 5.2.9
true 0.017881393432617ms 10.020027160644531ms
Output for 5.2.8
true 0.020980834960938ms 10.021934509277344ms
Output for 5.2.4, 5.2.7
true 0.021934509277344ms 10.02598762512207ms
Output for 5.2.6
true 0.021934509277344ms 10.036001205444336ms
Output for 5.2.3
true 0.020980834960938ms 10.025033950805664ms
Output for 5.2.2
true 0.017881393432617ms 10.023126602172852ms
Output for 5.2.1
true 0.019073486328125ms 10.020027160644531ms
Output for 5.2.0
true 0.021934509277344ms 10.041961669921875ms
Output for 5.1.6
true 0.016212463378906ms 10.028133392333984ms
Output for 5.1.5
true 0.021934509277344ms 10.031948089599609ms
Output for 5.1.4
true 0.019073486328125ms 10.026941299438477ms
Output for 5.1.3
true 0.02598762512207ms 10.036001205444336ms
Output for 5.1.2
true 0.020027160644531ms 10.037908554077148ms
Output for 5.1.1
true 0.016927719116211ms 10.020027160644531ms
Output for 5.1.0
true 0.013828277587891ms 10.016927719116211ms
Output for 5.0.5
true 0.021219253540039ms 10.017881393432617ms
Output for 5.0.4
true 0.02598762512207ms 10.018835067749023ms
Output for 5.0.3
true 0.028848648071289ms 10.023126602172852ms
Output for 5.0.2
true 0.024080276489258ms 10.020027160644531ms
Output for 5.0.1
true 0.02598762512207ms 10.019073486328125ms
Output for 5.0.0
true 0.023841857910156ms 10.018119812011719ms
Output for 4.4.9
true 0.019ms 10.02ms
Output for 4.4.8
true 0.028ms 10.033ms
Output for 4.4.7
true 0.032ms 10.029ms
Output for 4.4.6
true 0.031ms 10.026ms
Output for 4.3.2, 4.4.5
true 0.032ms 10.02ms
Output for 4.4.4
true 0.029ms 10.019ms
Output for 4.4.3
true 0.032ms 10.024ms
Output for 4.4.0, 4.4.2
true 0.027ms 10.023ms
Output for 4.4.1
true 0.026ms 10.021ms
Output for 4.3.11
true 0.024ms 10.022ms
Output for 4.3.10
true 0.03ms 10.021ms
Output for 4.3.9
true 0.038ms 10.018ms
Output for 4.3.8
true 0.036ms 10.015ms
Output for 4.3.7
true 0.042ms 10.017ms
Output for 4.3.6
true 0.039ms 10.021ms
Output for 4.3.5
true 0.036ms 10.016ms
Output for 4.3.4
true 0.038ms 10.017ms
Output for 4.3.3
true 0.038ms 10.03ms
Output for 4.3.1
true 0.051ms 10.021ms
Output for 4.3.0
true 0.033ms 10.013ms