3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t0 = microtime(true); for ($i = 0; $i < 10000; $i++) { strstr('Text in dem gesucht wird', 'such'); } $t1 = microtime(true); var_dump($t1 - $t0); $t0 = microtime(true); for ($i = 0; $i < 10000; $i++) { strpos('Text in dem gesucht wird', 'such') !== false; } $t1 = microtime(true); var_dump($t1 - $t0);
Output for 7.1.0
float(0.0012431144714355) float(0.00067496299743652)
Output for 7.0.14
float(0.0015799999237061) float(0.00067281723022461)
Output for 7.0.6
float(0.00067687034606934) float(0.00035810470581055)
Output for 7.0.5
float(0.00088906288146973) float(0.0005030632019043)
Output for 7.0.4
float(0.00099587440490723) float(0.00061202049255371)
Output for 7.0.3
float(0.0009920597076416) float(0.00057005882263184)
Output for 7.0.2
float(0.0008540153503418) float(0.00061988830566406)
Output for 7.0.1
float(0.0009009838104248) float(0.00038504600524902)
Output for 7.0.0
float(0.0010199546813965) float(0.00065183639526367)
Output for 5.6.28
float(0.0036180019378662) float(0.0039360523223877)
Output for 5.6.21
float(0.0023229122161865) float(0.0020661354064941)
Output for 5.6.20
float(0.0014119148254395) float(0.0013079643249512)
Output for 5.6.19
float(0.0015029907226562) float(0.0013978481292725)
Output for 5.6.18
float(0.0020678043365479) float(0.0019159317016602)
Output for 5.6.17
float(0.0026321411132812) float(0.0019979476928711)
Output for 5.6.16
float(0.0017368793487549) float(0.0016567707061768)
Output for 5.6.15
float(0.0023751258850098) float(0.0020759105682373)
Output for 5.6.14
float(0.001910924911499) float(0.0017850399017334)
Output for 5.6.13
float(0.001349925994873) float(0.0012640953063965)
Output for 5.6.12
float(0.0014300346374512) float(0.0013608932495117)
Output for 5.6.11
float(0.0022652149200439) float(0.0020360946655273)
Output for 5.6.10
float(0.0014190673828125) float(0.0013329982757568)
Output for 5.6.9
float(0.0013968944549561) float(0.0013089179992676)
Output for 5.6.8
float(0.0022730827331543) float(0.0020689964294434)
Output for 5.6.7
float(0.001446008682251) float(0.0014050006866455)
Output for 5.5.35
float(0.0015711784362793) float(0.0014579296112061)
Output for 5.5.34
float(0.0014190673828125) float(0.0013699531555176)
Output for 5.5.33
float(0.0016942024230957) float(0.0016219615936279)
Output for 5.5.32
float(0.0021119117736816) float(0.002061128616333)
Output for 5.5.31
float(0.0014770030975342) float(0.0013961791992188)
Output for 5.5.30
float(0.0018000602722168) float(0.0017848014831543)
Output for 5.5.29
float(0.0014631748199463) float(0.0013961791992188)
Output for 5.5.28
float(0.0022470951080322) float(0.0021460056304932)
Output for 5.5.27
float(0.0018069744110107) float(0.0017030239105225)
Output for 5.5.26
float(0.0023949146270752) float(0.0020790100097656)
Output for 5.5.25
float(0.0022029876708984) float(0.0020241737365723)
Output for 5.5.24
float(0.0023410320281982) float(0.0022151470184326)
Output for 5.4.45
float(0.0028121471405029) float(0.0023841857910156)
Output for 5.4.44
float(0.0020718574523926) float(0.0019361972808838)
Output for 5.4.43
float(0.0020451545715332) float(0.0019998550415039)
Output for 5.4.42
float(0.0026941299438477) float(0.0025091171264648)
Output for 5.4.41
float(0.002155065536499) float(0.0024302005767822)
Output for 5.4.40
float(0.002133846282959) float(0.0019140243530273)
Output for 5.4.39
float(0.0020039081573486) float(0.0010898113250732)
Output for 5.4.38
float(0.0034871101379395) float(0.0040850639343262)
Output for 5.4.37
float(0.0024609565734863) float(0.002615213394165)
Output for 5.4.36
float(0.0027251243591309) float(0.0029730796813965)
Output for 5.4.35
float(0.0041360855102539) float(0.0041289329528809)
Output for 5.4.34
float(0.0036110877990723) float(0.0040979385375977)
Output for 5.4.32
float(0.0019059181213379) float(0.0018229484558105)
Output for 5.4.31
float(0.0017409324645996) float(0.0018408298492432)
Output for 5.4.30
float(0.001924991607666) float(0.0018799304962158)
Output for 5.4.29
float(0.0017561912536621) float(0.0018439292907715)
Output for 5.4.28
float(0.0018091201782227) float(0.0018460750579834)
Output for 5.4.27
float(0.0021059513092041) float(0.0018999576568604)
Output for 5.4.26
float(0.0018460750579834) float(0.0019299983978271)
Output for 5.4.25
float(0.0018050670623779) float(0.0018858909606934)
Output for 5.4.24
float(0.0019118785858154) float(0.0018889904022217)
Output for 5.4.23
float(0.0017740726470947) float(0.0019519329071045)
Output for 5.4.22
float(0.0017569065093994) float(0.0020649433135986)
Output for 5.4.21
float(0.0017740726470947) float(0.0020830631256104)
Output for 5.4.20
float(0.0019881725311279) float(0.0020229816436768)
Output for 5.4.19
float(0.0018041133880615) float(0.0019240379333496)
Output for 5.4.18
float(0.0017740726470947) float(0.0018880367279053)
Output for 5.4.17
float(0.0019659996032715) float(0.0020780563354492)
Output for 5.4.16
float(0.0018329620361328) float(0.0020902156829834)
Output for 5.4.15
float(0.0018298625946045) float(0.001859188079834)
Output for 5.4.14
float(0.001967191696167) float(0.0021400451660156)
Output for 5.4.13
float(0.0018961429595947) float(0.0023519992828369)
Output for 5.4.12
float(0.0021059513092041) float(0.0020909309387207)
Output for 5.4.11
float(0.0020639896392822) float(0.0021109580993652)
Output for 5.4.10
float(0.002018928527832) float(0.0020380020141602)
Output for 5.4.9
float(0.0022938251495361) float(0.0021059513092041)
Output for 5.4.8
float(0.0019619464874268) float(0.0020267963409424)
Output for 5.4.7
float(0.0023031234741211) float(0.0026168823242188)
Output for 5.4.6
float(0.0019359588623047) float(0.0021140575408936)
Output for 5.4.5
float(0.0018899440765381) float(0.0022561550140381)
Output for 5.4.4
float(0.0020060539245605) float(0.0020599365234375)
Output for 5.4.3
float(0.0020210742950439) float(0.0020430088043213)
Output for 5.4.2
float(0.0019550323486328) float(0.001978874206543)
Output for 5.4.1
float(0.0019409656524658) float(0.0024380683898926)
Output for 5.4.0
float(0.0019190311431885) float(0.0020239353179932)
Output for 5.3.29
float(0.0042808055877686) float(0.0025570392608643)
Output for 5.3.28
float(0.0020349025726318) float(0.0054259300231934)
Output for 5.3.27
float(0.0020349025726318) float(0.0023288726806641)
Output for 5.3.26
float(0.0019738674163818) float(0.00217604637146)
Output for 5.3.25
float(0.0026421546936035) float(0.0028741359710693)
Output for 5.3.24
float(0.002018928527832) float(0.0021908283233643)
Output for 5.3.23
float(0.0020318031311035) float(0.0022609233856201)
Output for 5.3.22
float(0.0020439624786377) float(0.0028390884399414)
Output for 5.3.21
float(0.0021109580993652) float(0.0022640228271484)
Output for 5.3.20
float(0.002662181854248) float(0.0025241374969482)
Output for 5.3.19
float(0.0027730464935303) float(0.0022919178009033)
Output for 5.3.18
float(0.0020439624786377) float(0.0022268295288086)
Output for 5.3.17
float(0.0026118755340576) float(0.0026919841766357)
Output for 5.3.16
float(0.0021030902862549) float(0.0024211406707764)
Output for 5.3.15
float(0.002065896987915) float(0.0022580623626709)
Output for 5.3.14
float(0.0022110939025879) float(0.0022869110107422)
Output for 5.3.13
float(0.002122163772583) float(0.0024011135101318)
Output for 5.3.12
float(0.0021429061889648) float(0.002439022064209)
Output for 5.3.11
float(0.0020501613616943) float(0.0023739337921143)
Output for 5.3.10
float(0.0022389888763428) float(0.0023689270019531)
Output for 5.3.9
float(0.0023989677429199) float(0.0024871826171875)
Output for 5.3.8
float(0.0020339488983154) float(0.0022850036621094)
Output for 5.3.7
float(0.0021078586578369) float(0.0024039745330811)
Output for 5.3.6
float(0.0022411346435547) float(0.0022249221801758)
Output for 5.3.5
float(0.0022110939025879) float(0.002310037612915)
Output for 5.3.4
float(0.0024960041046143) float(0.0024030208587646)
Output for 5.3.3
float(0.0024600028991699) float(0.0024049282073975)
Output for 5.3.2
float(0.002079963684082) float(0.0026731491088867)
Output for 5.3.1
float(0.0025389194488525) float(0.0025570392608643)
Output for 5.3.0
float(0.0019910335540771) float(0.002255916595459)
Output for 5.2.17
float(0.0021660327911377) float(0.0023670196533203)
Output for 5.2.16
float(0.002126932144165) float(0.0023651123046875)
Output for 5.2.15
float(0.0021841526031494) float(0.0024869441986084)
Output for 5.2.14
float(0.0021660327911377) float(0.002485990524292)
Output for 5.2.13
float(0.0022609233856201) float(0.0022900104522705)
Output for 5.2.12
float(0.0022268295288086) float(0.0023829936981201)
Output for 5.2.11
float(0.0021121501922607) float(0.002371072769165)
Output for 5.2.10
float(0.0057709217071533) float(0.0052108764648438)
Output for 5.2.9
float(0.0020771026611328) float(0.0024771690368652)
Output for 5.2.8
float(0.0020570755004883) float(0.0023958683013916)
Output for 5.2.7
float(0.0021159648895264) float(0.0023050308227539)
Output for 5.2.6
float(0.0021920204162598) float(0.0023651123046875)
Output for 5.2.5
float(0.0021347999572754) float(0.0024089813232422)
Output for 5.2.4
float(0.0023741722106934) float(0.0023698806762695)
Output for 5.2.3
float(0.0021848678588867) float(0.0023279190063477)
Output for 5.2.2
float(0.0022208690643311) float(0.0023629665374756)
Output for 5.2.1
float(0.0021247863769531) float(0.0023658275604248)
Output for 5.2.0
float(0.0022830963134766) float(0.0025269985198975)
Output for 5.1.6
float(0.0019588470458984) float(0.0022847652435303)
Output for 5.1.5
float(0.0020301342010498) float(0.0021710395812988)
Output for 5.1.4
float(0.0021018981933594) float(0.0023109912872314)
Output for 5.1.3
float(0.0019540786743164) float(0.0023229122161865)
Output for 5.1.2
float(0.0020871162414551) float(0.0026140213012695)
Output for 5.1.1
float(0.0021557807922363) float(0.002479076385498)
Output for 5.1.0
float(0.0022659301757813) float(0.0024561882019043)
Output for 5.0.5
float(0.0031569004058838) float(0.0034329891204834)
Output for 5.0.4
float(0.003032922744751) float(0.0035109519958496)
Output for 5.0.3
float(0.0029780864715576) float(0.0036718845367432)
Output for 5.0.2
float(0.0027730464935303) float(0.0035090446472168)
Output for 5.0.1
float(0.0031239986419678) float(0.0036501884460449)
Output for 5.0.0
float(0.0027689933776855) float(0.0030648708343506)
Output for 4.4.9
float(0.002925) float(0.003901)
Output for 4.4.8
float(0.002799) float(0.003637)
Output for 4.4.7
float(0.002737) float(0.003285)
Output for 4.4.6
float(0.002759) float(0.003416)
Output for 4.4.5
float(0.0027579999999999) float(0.0032369999999999)
Output for 4.4.4
float(0.002791) float(0.003682)
Output for 4.4.3
float(0.00276) float(0.003163)
Output for 4.4.2
float(0.0028899999999999) float(0.003813)
Output for 4.4.1
float(0.0028049999999999) float(0.0032169999999999)
Output for 4.4.0
float(0.0027710000000001) float(0.003485)
Output for 4.3.11
float(0.002643) float(0.003226)
Output for 4.3.10
float(-0.997483) float(0.00298)
Output for 4.3.9
float(0.002622) float(0.00346)
Output for 4.3.8
float(0.002526) float(0.003146)
Output for 4.3.7
float(0.002561) float(0.00342)
Output for 4.3.6
float(0.004839) float(0.00606)
Output for 4.3.5
float(0.003549) float(0.003443)
Output for 4.3.4
float(0.002644) float(0.00318)
Output for 4.3.3
float(0.003156) float(0.003414)
Output for 4.3.2
float(0.002948) float(0.003626)
Output for 4.3.1
float(0.002498) float(0.002963)
Output for 4.3.0
float(0.0042519999999999) float(0.0040519999999999)