get_include_path()
を PATH_SEPARATOR
で explode()
した結果を foreach でまわして file_exists()
的なことをするひつようは、PHP 5.3 からなくなったわけですが。あまり知られてない(というかおととい知った)
<?php
$filename = stream_resolve_include_path('Hoge.php');
Go to list of users who liked
More than 5 years have passed since last update.
get_include_path()
を PATH_SEPARATOR
で explode()
した結果を foreach でまわして file_exists()
的なことをするひつようは、PHP 5.3 からなくなったわけですが。あまり知られてない(というかおととい知った)
<?php
$filename = stream_resolve_include_path('Hoge.php');
Register as a new user and use Qiita more conveniently
Go to list of users who liked