Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Wrapper Class For Include_once / Require_once

DZone's Guide to

Wrapper Class For Include_once / Require_once

·
Free Resource
Here's a great wrapper class for include_once & require_once. Picked this one up from Pure PHP (http://www.pure-php.de/node/22).

Usage:


  

Output:

Array
(
[test.php] => 1
)

Source Code:


  
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}