<?php

$s = new SplFileObject(__FILE__);
$s->getChildren('string');
<?php

$s = new SplFileObject(__FILE__);
var_dump($s->getChildren());