[OWASP_PHPSEC] Doubts in phpsec / framework / _core/autoload.php

rahul chaudhary rahul300chaudhary400 at gmail.com
Thu Aug 15 13:55:32 UTC 2013


*SORRY, DOUBT IS IN *
*FRONT.PHP*

AND *NOT IN* AUTOLOAD.PHP


On Thu, Aug 15, 2013 at 1:21 PM, rahul chaudhary <
rahul300chaudhary400 at gmail.com> wrote:

> 1) Line 38: elseif ($tokens[$j]==='{' or $tokens[$j]===';')
> In this, I do not understand why you check for an open brace. If its a
> namespace, where can we get open-brace. I understand that with ";" you are
> checking for termination. But brace I dont understand.
>
> 2) Line 45: if ($tokens[$j]==='{')
> In this you check for open-brace. Does this means that you are NOT
> COUNTING "ABSTRACT CLASSES" ?
>
>
>
> --
> Regards,
> Rahul Chaudhary
> Ph - 412-519-9634
>



-- 
Regards,
Rahul Chaudhary
Ph - 412-519-9634
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp_php_security_project/attachments/20130815/e6a49db0/attachment.html>


More information about the OWASP_PHP_Security_Project mailing list