On Wed, May 8, 2013 at 9:43 PM, Ivan Kurnosov <[email protected]> wrote:

>
> https://github.com/powerstack/powerstack/blob/master/lib/powerstack/core/filesystem.php#L106
>  --
> hehe, this is really nice :-)
>
>
... but file_get_contents wasn't added until PHP 4.3.0

It's nice to know that users of php 4.2.0 will be fully supported if they
work out how to get the namespaces and __construct()s accepted.

Also it's heartwarming to see how some thought has gone into return values


            if ($content === false) {
                return false;
            }

            return $content;


This way if $content is false, false will be returned instead of the value
of $content.

-- 
Bruce Clement

Home:    http://www.clement.co.nz/
Twitter:    http://twitter.com/Bruce_Clement

"Before attempting to create something new, it is vital to have a good
appreciation of everything that already exists in this field." Mikhail
Kalashnikov

-- 
-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
--- 
You received this message because you are subscribed to the Google Groups "NZ 
PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to