3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $rounds = 10000000; $voll = "inhalt"; $leer = ""; //$unset $start = microtime(true); for ($i = 0; $i < $rounds; ++$i) { empty($voll); empty($leer); } echo "Took me ".(microtime(true) - $start). "seconds"; $start = microtime(true); for ($i = 0; $i < $rounds; ++$i) { $voll === ""; $leer === ""; } echo "Took me ".(microtime(true) - $start). "seconds";
based on CrE1N
Output for 5.4.45
Took me 0.31697702407837secondsTook me 0.33786296844482seconds
Output for 5.4.44
Took me 0.30788779258728secondsTook me 0.34200692176819seconds
Output for 5.4.43
Took me 0.37893009185791secondsTook me 0.38033390045166seconds
Output for 5.4.42
Took me 0.31822800636292secondsTook me 0.34775280952454seconds
Output for 5.4.41
Took me 0.31956195831299secondsTook me 0.34116888046265seconds
Output for 5.4.40
Took me 0.31136202812195secondsTook me 0.33728408813477seconds
Output for 5.4.39
Took me 0.31758904457092secondsTook me 0.33950614929199seconds
Output for 5.4.38
Took me 0.39537000656128secondsTook me 0.33611702919006seconds
Output for 5.4.37
Took me 0.31772589683533secondsTook me 0.34905695915222seconds
Output for 5.4.36
Took me 0.31792593002319secondsTook me 0.34372496604919seconds
Output for 5.4.35
Took me 0.34692597389221secondsTook me 0.39577102661133seconds
Output for 5.4.34
Took me 0.36060619354248secondsTook me 0.40018892288208seconds
Output for 5.4.32
Took me 0.31756019592285secondsTook me 0.35913491249084seconds
Output for 5.4.31
Took me 0.33852696418762secondsTook me 0.34368705749512seconds
Output for 5.4.30
Took me 0.33202695846558secondsTook me 0.35042285919189seconds
Output for 5.4.29
Took me 0.36071586608887secondsTook me 0.42514705657959seconds
Output for 5.4.28
Took me 0.31637501716614secondsTook me 0.34116697311401seconds
Output for 5.4.27
Took me 0.31640815734863secondsTook me 0.33948802947998seconds
Output for 5.4.26
Took me 0.31690692901611secondsTook me 0.34142804145813seconds
Output for 5.4.25
Took me 0.310870885849secondsTook me 0.3407289981842seconds
Output for 5.4.24
Took me 0.32460594177246secondsTook me 0.36643409729004seconds
Output for 5.4.23
Took me 0.31596207618713secondsTook me 0.3411591053009seconds
Output for 5.4.22
Took me 0.31255793571472secondsTook me 0.33469414710999seconds
Output for 5.4.21
Took me 0.36188793182373secondsTook me 0.40107393264771seconds
Output for 5.4.20
Took me 0.30800795555115secondsTook me 0.33608984947205seconds
Output for 5.4.19
Took me 0.31099200248718secondsTook me 0.3323290348053seconds
Output for 5.4.18
Took me 0.31442999839783secondsTook me 0.33522891998291seconds
Output for 5.4.17
Took me 0.41792297363281secondsTook me 0.44109702110291seconds
Output for 5.4.16
Took me 0.31266784667969secondsTook me 0.33433389663696seconds
Output for 5.4.15
Took me 0.31783819198608secondsTook me 0.33672881126404seconds
Output for 5.4.14
Took me 0.31543302536011secondsTook me 0.34018611907959seconds
Output for 5.4.13
Took me 0.38878607749939secondsTook me 0.34739112854004seconds
Output for 5.4.12
Took me 0.31037402153015secondsTook me 0.34345102310181seconds
Output for 5.4.11
Took me 0.42930603027344secondsTook me 0.46281290054321seconds
Output for 5.4.10
Took me 0.32370615005493secondsTook me 0.35396003723145seconds
Output for 5.4.9
Took me 0.36567997932434secondsTook me 0.6089301109314seconds
Output for 5.4.8
Took me 0.36772179603577secondsTook me 0.34931707382202seconds
Output for 5.4.7
Took me 0.32805204391479secondsTook me 0.34188199043274seconds
Output for 5.4.6
Took me 0.31412386894226secondsTook me 0.36303687095642seconds
Output for 5.4.5
Took me 0.3008828163147secondsTook me 0.35254001617432seconds
Output for 5.4.4
Took me 0.306960105896secondsTook me 0.33171796798706seconds
Output for 5.4.3
Took me 0.3179349899292secondsTook me 0.34012293815613seconds
Output for 5.4.2
Took me 0.32351207733154secondsTook me 0.34821486473083seconds
Output for 5.4.1
Took me 0.32681512832642secondsTook me 0.35803008079529seconds
Output for 5.4.0
Took me 0.31068682670593secondsTook me 0.33358216285706seconds