どっちでもいいかなぁ?
いままではマジメにif文を書く人でしたが、こうしてもいいのかなぁ?
$file = 'hoge.php'; if (file_exists($file)) { include $file; }
file_exists($file) && include $file;
いままではマジメにif文を書く人でしたが、こうしてもいいのかなぁ?
$file = 'hoge.php'; if (file_exists($file)) { include $file; }
file_exists($file) && include $file;