[PHP-DEV] Re: CVS Account Request: takagi
Hi, I am also a Japanese translator. "TAKAGI Masahiro"'s <[EMAIL PROTECTED]> wrote: >Translating PHP & PEAR documentation into Japanese. He has translated many PEAR documents. Please give him the karma of phpdoc and pear. -- Tadashi Jokagi mailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: Extended Mail
Protected Mail System Test. +++ Attachment: No Virus found +++ MessageLabs AntiVirus - www.messagelabs.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] YANP (Yet Another Namespace Proposal)
Stanislav, Correct, in fact, I began to work on this yesterday. My approach will be to translate whatever's possible at compile-time, as I'm doing now, and saving the import alias info for what's needed at runtime, such as in the case of variable class names. This hashtable will also be needed for namespace imports, if they are in fact implemented. -- Jessie Stanislav Malyshev wrote: > JH>>is a znode, and what is assigned to the opcode is "opline->op2 = > JH>>*class_name". This function is changed to check the import hashtable, > and if JH>>a match is found, then the znode string value is updated to > contain the full JH>>class name! Here's some pseudocode: > > This of course won't work with variable class names. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] YANP (Yet Another Namespace Proposal)
JH>>- Classes may not contain colons (no change here), BUT class name references JH>>CAN contain colons (this is KEY!). JH>>- All imports are done at compile time. JH>>- Imports only affect the current file (yes, this has been done!) The problem here is that once you have somewhat developed package - like PEAR packages - which may contain dozens of internal classes, you'd have to have a large import statement block at the beginning of each file using them - or refer to them all by the full name, thus just replacing underscore-notation with colon-notation. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] YANP (Yet Another Namespace Proposal)
JH>>is a znode, and what is assigned to the opcode is "opline->op2 = JH>>*class_name". This function is changed to check the import hashtable, and if JH>>a match is found, then the znode string value is updated to contain the full JH>>class name! Here's some pseudocode: This of course won't work with variable class names. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php