IsFileTest

Check if file (existing) exists with is_file


<?php 

$file 
$this->getTempFile();

$this->start($loop);

for (
$i 0$i $this->loop; ++$i) {
    
clearstatcache();
    
$value is_file($file);
}

unlink($file);

return 
$this->end();
PHP Loops Seconds Percent
8.3.10 100.000 0.206270 +183%
8.3.9 100.000 0.196641 +175%
7.3.33 100.000 0.143212 +127%
7.3.31 100.000 0.126173 +112%
7.3.30 100.000 0.124034 +110%
7.3.29 100.000 0.134013 +119%
7.3.28 100.000 0.124708 +111%
7.3.27 100.000 0.160264 +142%
7.3.24 100.000 0.130243 +116%
7.3.23 100.000 0.134194 +119%
7.3.22 100.000 0.124478 +111%
7.3.19 100.000 0.128461 +114%
7.3.18 100.000 0.114740 +102%
7.3.17 100.000 0.118638 +105%
7.3.16 100.000 0.115025 +102%
7.3.15 100.000 0.121181 +108%
7.3.14 100.000 0.125855 +112%
7.3.13 100.000 0.118181 +105%
7.3.12 100.000 0.113020 100%
7.3.11 100.000 0.221518 +197%
7.3.9 100.000 0.324861 +289%
7.3.8 100.000 0.311784 +277%
7.2.30 100.000 0.124236 +110%
8.3.10 10.000 0.022270 +166%
7.2.34 100.000 0.144097 +128%
7.2.33 100.000 0.121333 +108%
7.2.31 100.000 0.123981 +110%
7.2.29 100.000 0.127399 +113%
7.2.28 100.000 0.113417 +101%
7.2.27 100.000 0.119712 +106%
7.2.26 100.000 0.119841 +107%
7.2.25 100.000 0.117881 +105%
7.2.24 100.000 0.230830 +205%
7.2.22 100.000 0.330163 +294%
7.2.21 100.000 0.304635 +271%
7.1.33 100.000 0.143438 +128%
7.1.32 100.000 0.346150 +308%
7.1.31 100.000 0.307967 +274%
7.1.0 100.000 0.311250 +277%
7.0.33 100.000 0.149525 +133%
7.0.7 100.000 0.273108 +243%
5.6.40 100.000 0.173707 +154%
5.6.22 100.000 0.401803 +357%
5.5.36 100.000 0.390030 +347%
5.4.45 100.000 0.406633 +362%
5.3.29 100.000 0.439282 +391%
8.3.9 10.000 0.024396 +181%
8.0.30 100.000 0.166095 +148%
8.0.29 100.000 0.118945 +106%
8.0.28 100.000 0.121243 +108%
8.0.27 100.000 0.131394 +117%
8.0.26 100.000 0.137319 +122%
8.0.25 100.000 0.125549 +112%
8.0.24 100.000 0.119975 +107%
8.0.23 100.000 0.129815 +115%
8.0.20 10.000 0.014389 +107%
8.0.20 100.000 0.125249 +111%
8.0.19 10.000 0.020378 +152%
8.0.19 100.000 0.133626 +119%
8.0.17 10.000 0.019710 +147%
8.0.17 100.000 0.136427 +121%
8.0.16 10.000 0.018811 +140%
8.0.16 100.000 0.139346 +124%
8.0.14 10.000 0.020375 +152%
8.0.14 100.000 0.135841 +121%
8.0.11 100.000 0.123070 +109%
8.0.10 100.000 0.130267 +116%
8.0.9 100.000 0.127589 +113%
8.0.8 100.000 0.126930 +113%
8.0.7 100.000 0.137998 +123%
8.0.3 100.000 0.153809 +137%
8.0.2 100.000 0.186881 +166%
8.0.0 100.000 0.130323 +116%
7.4.33 100.000 0.148403 +132%
7.4.32 100.000 0.118914 +106%
7.4.30 100.000 0.121229 +108%
7.4.28 100.000 0.137662 +122%
7.4.27 100.000 0.144423 +128%
7.4.24 100.000 0.136293 +121%
7.4.23 100.000 0.130883 +116%
7.4.22 100.000 0.124367 +111%
8.0.11 10.000 0.018767 +140%
8.0.10 10.000 0.019327 +144%
8.0.0 10.000 0.018208 +135%
7.4.29 100.000 0.132570 +118%
7.4.21 10.000 0.018347 +136%
7.4.21 100.000 0.121528 +108%
7.4.20 10.000 0.019446 +145%
7.4.20 100.000 0.127511 +113%
7.4.16 100.000 0.153008 +136%
7.4.15 100.000 0.175005 +156%
7.4.33 10.000 0.017753 +132%
7.4.32 10.000 0.016762 +125%
7.4.30 10.000 0.013581 +101%
7.4.29 10.000 0.019746 +147%
7.4.24 10.000 0.018585 +138%
7.4.23 10.000 0.019061 +142%
7.4.22 10.000 0.016720 +124%
7.4.13 100.000 0.128163 +114%
7.4.12 100.000 0.134443 +120%
7.4.11 100.000 0.127299 +113%
7.4.10 100.000 0.122855 +109%
8.0.2 10.000 0.025317 +188%
7.4.0 100.000 0.265667 +236%
8.0.30 10.000 0.019867 +148%
8.0.29 10.000 0.013448 100%
8.0.28 10.000 0.014902 +111%
8.0.27 10.000 0.017344 +129%
8.0.26 10.000 0.015759 +117%
8.0.25 10.000 0.015390 +114%
8.0.24 10.000 0.016377 +122%
8.0.23 10.000 0.017042 +127%
8.0.9 10.000 0.017492 +130%
8.0.8 10.000 0.020252 +151%
8.0.7 10.000 0.019798 +147%
8.0.3 10.000 0.022810 +170%
7.4.28 10.000 0.020447 +152%
7.4.27 10.000 0.021102 +157%
7.4.16 10.000 0.023589 +175%
7.4.15 10.000 0.024326 +181%
7.4.13 10.000 0.018296 +136%
7.4.12 10.000 0.015576 +116%
7.4.11 10.000 0.019253 +143%
7.4.10 10.000 0.015607 +116%
7.4.7 10.000 0.017147 +128%
7.4.7 100.000 0.126136 +112%
7.4.6 10.000 0.017035 +127%
7.4.6 100.000 0.118645 +105%
7.4.5 10.000 0.017164 +128%
7.4.5 100.000 0.118465 +105%
7.4.4 10.000 0.017821 +133%
7.4.4 100.000 0.119451 +106%
7.4.3 10.000 0.018206 +135%
7.4.3 100.000 0.112472 100%
7.4.1 100.000 0.118271 +105%
7.4.2 10.000 0.019055 +142%
7.4.2 100.000 0.123502 +110%
7.4.1 10.000 0.020427 +152%
7.4.0 10.000 0.028023 +208%
7.3.33 10.000 0.017831 +133%
7.3.31 10.000 0.018344 +136%
7.3.30 10.000 0.018718 +139%
7.3.29 10.000 0.017257 +128%
7.3.28 10.000 0.019497 +145%
7.3.27 10.000 0.023954 +178%
7.3.24 10.000 0.017299 +129%
7.3.23 10.000 0.019088 +142%
7.3.22 10.000 0.016757 +125%
7.3.19 10.000 0.018359 +137%
7.3.18 10.000 0.017704 +132%
7.3.17 10.000 0.016849 +125%
7.3.16 10.000 0.017873 +133%
7.3.15 10.000 0.018668 +139%
7.3.14 10.000 0.020226 +150%
7.3.13 10.000 0.019250 +143%
7.3.12 10.000 0.017722 +132%
7.3.11 10.000 0.022812 +170%
7.3.9 10.000 0.032319 +240%
7.3.8 10.000 0.030630 +228%
7.2.34 10.000 0.018536 +138%
7.2.33 10.000 0.017399 +129%
7.2.31 10.000 0.017691 +132%
7.2.30 10.000 0.019831 +147%
7.2.29 10.000 0.017838 +133%
7.2.28 10.000 0.018202 +135%
7.2.27 10.000 0.021033 +156%
7.2.26 10.000 0.019212 +143%
7.2.25 10.000 0.016417 +122%
7.2.24 10.000 0.024524 +182%
7.2.22 10.000 0.033359 +248%
7.2.21 10.000 0.031403 +234%
7.1.33 10.000 0.019204 +143%
7.1.32 10.000 0.032471 +241%
7.1.31 10.000 0.030608 +228%
7.1.0 10.000 0.032182 +239%
7.0.33 10.000 0.019482 +145%
7.0.7 10.000 0.028446 +212%
5.6.40 10.000 0.021927 +163%
5.6.22 10.000 0.041674 +310%
5.5.36 10.000 0.040443 +301%
5.4.45 10.000 0.042446 +316%
5.3.29 10.000 0.045584 +339%