|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-01-01 02:15 UTC] kalle@php.net
[2009-01-02 02:12 UTC] johannes@php.net
[2009-01-05 07:18 UTC] naturallydigital at yahoo dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 18:00:01 2025 UTC |
Description: ------------ The Reflection API does not support the "use... as... " syntax for namespaces in 5.3 CVS. I ran the raw unzipped Win32 VC6 snapshot from snaps.php.net: "php -c php.ini-dist d:\reflect.php" (code below) Reproduce code: --------------- <?php require_once("A\\B\\C.php"); use \A\B\C as D; try { Reflection::export(new ReflectionClass('D')); } catch (Exception $e) { echo $e->getMessage(); } ?> Expected result: ---------------- User class C (a.k.a. D) reflected in the Command Prompt window. Actual result: -------------- "Class D does not exist" output in the Command Prompt window.