update : 2015.11.03
php.shukuma.com검색:
|
Namespaces and dynamic language features(PHP 5 >= 5.3.0) PHP's implementation of namespaces is influenced by its dynamic nature as a programming language. Thus, to convert code like the following example into namespaced code: Example #1 Dynamically accessing elements example1.php:
<?php Example #2 Dynamically accessing namespaced elements
<?php Be sure to read the note about escaping namespace names in strings. |