Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54254 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33607 invoked from network); 29 Jul 2011 18:10:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jul 2011 18:10:22 -0000 Authentication-Results: pb1.pair.com header.from=flavius.as@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=flavius.as@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.42 as permitted sender) X-PHP-List-Original-Sender: flavius.as@gmail.com X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:57795] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/03-01298-C87F23E4 for ; Fri, 29 Jul 2011 14:10:21 -0400 Received: by fxe23 with SMTP id 23so2874202fxe.29 for ; Fri, 29 Jul 2011 11:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=o5PfYZZlbejt/unxvrKhVOV1PEa5p79G2d/ug4NPi+Q=; b=oYV3/bNi52UuFrHTH2egUfJxV9gMNnNPxT3hDnBIUCZF47xXbgEwZXpKBKR+g+PbrW byt+ArzZ2nMIl5TK9tL/TlE5btIrzz9Zndg3Gh9pu/FQ97+Ep/a7qUK5BdlSnY229/xC mI7cBoggtYDokiTslMVFXfEhjAWwqtZN3jx5o= Received: by 10.223.47.9 with SMTP id l9mr2187848faf.55.1311963017007; Fri, 29 Jul 2011 11:10:17 -0700 (PDT) Received: from [192.168.2.3] (chello080109207086.1.graz.surfer.at [80.109.207.86]) by mx.google.com with ESMTPS id b14sm19530fab.19.2011.07.29.11.10.15 (version=SSLv3 cipher=OTHER); Fri, 29 Jul 2011 11:10:16 -0700 (PDT) Message-ID: <4E32F5E1.2080302@gmail.com> Date: Fri, 29 Jul 2011 20:03:13 +0200 User-Agent: I am harmful. Fear me please :-) Mnenhy/0.7.6.666 MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: zend_call_function() and co. From: flavius.as@gmail.com (Flavius Aspra) Hi I have a few questions about zend_fcall_info and zend_fcall_info_cache. Regarding zend_fcall_info What is function_name useful for? I have a feeling it's for error reporting, but I'm not sure What is symbol_table for? Maybe to put in the function's context other variables beside the parameters, like $this? What is zend_fcall_info_cache for? I've seen in some places that zend_call_function() sometimes takes a NULL for it. When is it useful to cache information about the function call? Regards, Flavius