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

rahul chaudhary rahul300chaudhary400 at gmail.com
Thu Aug 15 07:51:50 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp_php_security_project/attachments/20130815/cabad45b/attachment.html>


More information about the OWASP_PHP_Security_Project mailing list