CoderKungfu/php-queue

Replace file_exists() with is_file()

Closed this issue · 2 comments

php-queue\src\PHPQueue\Base.php
Line 48 - if (file_exists($classFile))
Line 175 - if (file_exists($classFile))

php-queue\src\PHPQueue\Backend\CSV.php
Line 29 - if ( !file_exists($this->file_path) )

Is is_file() more performant?

Applied recommended change set: miccheng@4bf2438