Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40008 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78542 invoked from network); 20 Aug 2008 03:39:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Aug 2008 03:39:21 -0000 X-Host-Fingerprint: 68.112.148.14 68-112-148-14.dhcp.stcd.mn.charter.com Received: from [68.112.148.14] ([68.112.148.14:12972] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/A3-51571-8E19BA84 for ; Tue, 19 Aug 2008 23:39:21 -0400 Message-ID: To: internals@lists.php.net Date: Tue, 19 Aug 2008 22:39:16 -0500 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 68.112.148.14 Subject: Namespace Global User Function Calls From: rpanning@gmail.com (Ryan Panning) I can't seem to get global user function calls to work from namespaces in the latest 5.3 snaps. This is on Win XP SP2 using Apache 2.2.8 and the php5apache2_2.dll. Example: global_file.php --------------- require 'namespace_file.php'; function globalFunc() { 'Global Called!'; } TestNS::callGlobalFunc(); namespace_file.php ------------------ namespace TestNS; function callGlobalFunc() { ::globalFunc(); }