3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $begin = microtime(TRUE); foreach(range(1, 1000) as $i) { preg_match("/偷拍/", '站和主要商业网站偷拍要树立正确办网导'); } $end = microtime(TRUE); echo (($end-$begin)*1000).'ms ';
Output for 7.1.0
0.14400482177734ms
Output for 7.0.14
0.22101402282715ms
Output for 7.0.12
0.25296211242676ms
Output for 7.0.6
0.31208992004395ms
Output for 7.0.5
0.21195411682129ms
Output for 7.0.4
0.19001960754395ms
Output for 7.0.3
0.20694732666016ms
Output for 7.0.2
0.21100044250488ms
Output for 7.0.1
0.2138614654541ms
Output for 7.0.0
0.19383430480957ms
Output for hhvm-3.12.0
0.28300285339355ms
Output for hhvm-3.10.0
0.27799606323242ms
Output for 5.6.28
0.89192390441895ms
Output for 5.6.21
0.61798095703125ms
Output for 5.6.20
0.62394142150879ms
Output for 5.6.19
0.49090385437012ms
Output for 5.5.25, 5.6.18
0.48995018005371ms
Output for 5.6.8, 5.6.17
0.49591064453125ms
Output for 5.6.16
0.46992301940918ms
Output for 5.4.3, 5.4.9, 5.6.15
0.46396255493164ms
Output for 5.4.42, 5.5.30, 5.6.14
0.48112869262695ms
Output for 5.6.13
0.48518180847168ms
Output for 5.6.12
0.49114227294922ms
Output for 5.6.11
0.76198577880859ms
Output for 5.6.10
0.47779083251953ms
Output for 5.6.9
0.49614906311035ms
Output for 5.6.7
0.4878044128418ms
Output for 5.5.19, 5.6.6
0.4880428314209ms
Output for 5.2.0, 5.6.5
0.4889965057373ms
Output for 5.4.22, 5.6.3 - 5.6.4
0.48303604125977ms
Output for 5.5.20, 5.6.2
0.50783157348633ms
Output for 5.6.1
0.66995620727539ms
Output for 5.6.0
0.75912475585938ms
Output for 5.5.35
1.1680126190186ms
Output for 5.2.4, 5.5.34
0.60296058654785ms
Output for 5.5.33
0.54502487182617ms
Output for 5.5.0, 5.5.32
0.49805641174316ms
Output for 5.3.8, 5.5.31
0.53882598876953ms
Output for 5.5.29
0.47993659973145ms
Output for 5.5.28
0.77295303344727ms
Output for 5.5.27
0.82778930664062ms
Output for 5.5.5, 5.5.11, 5.5.15, 5.5.26
0.49901008605957ms
Output for 5.5.24
0.49495697021484ms
Output for 5.5.23
0.5040168762207ms
Output for 5.5.22
0.49710273742676ms
Output for 5.5.21
0.50711631774902ms
Output for 5.5.18
0.48398971557617ms
Output for 5.5.16
0.50592422485352ms
Output for 5.5.14
0.48708915710449ms
Output for 5.5.13
0.80513954162598ms
Output for 5.5.12
0.55885314941406ms
Output for 5.5.2, 5.5.10
0.49304962158203ms
Output for 5.5.7, 5.5.9
0.47898292541504ms
Output for 5.5.8
0.47683715820312ms
Output for 5.5.6
0.75793266296387ms
Output for 5.4.14, 5.5.4
0.46205520629883ms
Output for 5.5.3
0.6260871887207ms
Output for 5.4.4, 5.5.1
0.47397613525391ms
Output for 5.4.45
0.45108795166016ms
Output for 5.4.44
0.74887275695801ms
Output for 5.4.43
0.47588348388672ms
Output for 5.4.18, 5.4.34, 5.4.41
0.4580020904541ms
Output for 5.4.40
0.4420280456543ms
Output for 5.4.38 - 5.4.39
0.46896934509277ms
Output for 5.4.21, 5.4.32, 5.4.37
0.46801567077637ms
Output for 5.4.36
0.44894218444824ms
Output for 5.4.35
0.66208839416504ms
Output for 5.4.11, 5.4.31
0.45895576477051ms
Output for 5.4.30
0.46515464782715ms
Output for 5.4.6, 5.4.25, 5.4.29
0.46706199645996ms
Output for 5.4.28
0.46491622924805ms
Output for 5.4.27
0.46300888061523ms
Output for 5.4.26
0.46181678771973ms
Output for 5.4.24
0.49400329589844ms
Output for 5.4.23
0.48494338989258ms
Output for 5.4.8, 5.4.20
0.47206878662109ms
Output for 5.3.13, 5.4.19
0.58197975158691ms
Output for 5.4.17
0.45299530029297ms
Output for 5.4.15 - 5.4.16
0.45394897460938ms
Output for 5.4.13
0.45490264892578ms
Output for 5.4.12
0.4727840423584ms
Output for 5.4.10
0.4570484161377ms
Output for 5.4.5, 5.4.7
0.47802925109863ms
Output for 5.4.2
0.46110153198242ms
Output for 5.4.1
0.47111511230469ms
Output for 5.4.0
0.46014785766602ms
Output for 5.3.19, 5.3.29
0.54597854614258ms
Output for 5.3.28
0.6859302520752ms
Output for 5.3.27
0.52404403686523ms
Output for 5.3.26
0.55599212646484ms
Output for 5.3.25
0.55098533630371ms
Output for 5.3.24
0.6568431854248ms
Output for 5.3.23
0.5340576171875ms
Output for 5.3.22
0.82898139953613ms
Output for 5.3.21
0.7789134979248ms
Output for 5.3.7, 5.3.20
0.55813789367676ms
Output for 5.3.18
0.56290626525879ms
Output for 5.2.12, 5.3.16 - 5.3.17
0.5640983581543ms
Output for 5.3.15
0.59294700622559ms
Output for 5.3.14
0.59604644775391ms
Output for 5.3.12
0.5490779876709ms
Output for 5.3.11
0.5488395690918ms
Output for 5.3.10
0.74601173400879ms
Output for 5.3.9
0.5497932434082ms
Output for 5.3.6
0.57601928710938ms
Output for 5.3.5
0.55718421936035ms
Output for 5.3.4
0.66304206848145ms
Output for 5.3.3
0.53596496582031ms
Output for 5.3.2
0.5347728729248ms
Output for 5.3.1
0.56099891662598ms
Output for 5.3.0
0.57005882263184ms
Output for 5.2.17
0.55193901062012ms
Output for 5.2.16
0.5500316619873ms
Output for 5.2.15
0.54812431335449ms
Output for 5.2.14
0.58603286743164ms
Output for 5.2.13
0.78701972961426ms
Output for 5.2.11
0.60486793518066ms
Output for 5.2.10
0.55384635925293ms
Output for 5.2.9
0.579833984375ms
Output for 5.2.8
0.59080123901367ms
Output for 5.2.7
0.58388710021973ms
Output for 5.2.6
0.57291984558105ms
Output for 5.2.5
0.61893463134766ms
Output for 5.2.3
0.62417984008789ms
Output for 5.2.2
0.63014030456543ms
Output for 5.2.1
0.50616264343262ms
Output for 5.1.6
0.56982040405273ms
Output for 5.1.0, 5.1.5
0.54001808166504ms
Output for 5.1.4
0.55909156799316ms
Output for 5.1.3
0.50497055053711ms
Output for 5.1.2
0.53215026855469ms
Output for 5.1.1
0.50210952758789ms
Output for 5.0.5
0.82802772521973ms
Output for 5.0.4
0.80299377441406ms
Output for 5.0.3
0.77700614929199ms
Output for 5.0.2
0.94389915466309ms
Output for 5.0.1
0.68998336791992ms
Output for 5.0.0
0.65088272094727ms
Output for 4.4.9
0.71699999999997ms
Output for 4.4.8
0.72000000000003ms
Output for 4.4.7
0.717ms
Output for 4.4.6
0.71500000000002ms
Output for 4.4.5
1.368ms
Output for 4.4.4
1.058ms
Output for 4.4.3
0.72499999999998ms
Output for 4.4.2
0.70799999999999ms
Output for 4.4.1
0.72099999999997ms
Output for 4.4.0
0.70800000000004ms
Output for 4.3.11
0.67800000000001ms
Output for 4.3.10
0.67700000000004ms
Output for 4.3.9
0.94ms
Output for 4.3.8
1.029ms
Output for 4.3.7
0.973ms
Output for 4.3.6
0.77299999999991ms
Output for 4.3.5
0.80500000000006ms
Output for 4.3.4
0.878ms
Output for 4.3.3
0.78400000000001ms
Output for 4.3.2
0.72ms
Output for 4.3.1
1.0220000000001ms
Output for 4.3.0
0.83900000000003ms