Over a million developers have joined DZone.

Wrapper Class For Include_once / Require_once

·
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:

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

{{ parent.tldr }}

{{ parent.urlSource.name }}