Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61810 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76047 invoked from network); 26 Jul 2012 13:40:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jul 2012 13:40:18 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@mindplay.dk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@mindplay.dk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mindplay.dk from 209.85.212.42 cause and error) X-PHP-List-Original-Sender: rasmus@mindplay.dk X-Host-Fingerprint: 209.85.212.42 mail-vb0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:44549] helo=mail-vb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6E/51-02574-0C841105 for ; Thu, 26 Jul 2012 09:40:17 -0400 Received: by vbbfs19 with SMTP id fs19so1887035vbb.29 for ; Thu, 26 Jul 2012 06:40:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=ALtORI2L32vbKRdytgGaYvD+Vy6x0Bx24M4ekdEA4aM=; b=B+EQhwq6remRg3KR99fmhXHXZQBuSSOn8cwe1R4Jayy2L8yL6ZM4Avbi7E/grq42Oq Iu/pnxBf/7T51IhELwH2F4J1HHFS5RaDV1UwH+kPDnNBeWNo198mPj/u8dOXIkq0901b oAlTU5zSQRO1x06Uo0Eieme945FvGrV7Hx375uUy6KAy00c3DmOi06lhg93vjDecszyQ gLgG0M67GBUktBoDP1f7NJAvseLq8JLb3yhk5C4jpWa2C1/dQSP0l3E/hSio/r96oKCR TVneCjZtwLHmAav6wIuAUrigBCVUhTdRVvgr2IB7n8xJ1s4cOmnfRFLLJom2vGj+eBzt ZyfQ== MIME-Version: 1.0 Received: by 10.52.69.200 with SMTP id g8mr18979094vdu.113.1343310014086; Thu, 26 Jul 2012 06:40:14 -0700 (PDT) Received: by 10.220.117.193 with HTTP; Thu, 26 Jul 2012 06:40:13 -0700 (PDT) Date: Thu, 26 Jul 2012 09:40:13 -0400 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=20cf307d0454367f8c04c5bbbce2 X-Gm-Message-State: ALoCoQmYlrsfaOIOUvRG9G5Pv/9kuKzk3NbhrSNfl+0dABdmw5NkKk/wuCITuSrVNsSKecVdnBVz Subject: ReflectionParameter::getClassName() missing From: rasmus@mindplay.dk (Rasmus Schultz) --20cf307d0454367f8c04c5bbbce2 Content-Type: text/plain; charset=ISO-8859-1 I was doing some work with the Reflection API, and I ran into something missing from ReflectionParameter. Turns out, there's no way to get the class-name of a parameter, short of calling getClass() - the problem with that is, there's no way to get the class-name of a parameter without causing the class itself to autoload. Okay, so I can work around that by __toString() and parsing that, but that seems rather hacky. Thoughts? --20cf307d0454367f8c04c5bbbce2--