Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76626 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84228 invoked from network); 18 Aug 2014 02:37:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Aug 2014 02:37:13 -0000 Authentication-Results: pb1.pair.com header.from=zxcvdavid@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=zxcvdavid@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.172 as permitted sender) X-PHP-List-Original-Sender: zxcvdavid@gmail.com X-Host-Fingerprint: 209.85.192.172 mail-pd0-f172.google.com Received: from [209.85.192.172] ([209.85.192.172:46407] helo=mail-pd0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/11-12023-7D661F35 for ; Sun, 17 Aug 2014 22:37:11 -0400 Received: by mail-pd0-f172.google.com with SMTP id y13so6606784pdi.17 for ; Sun, 17 Aug 2014 19:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type; bh=73Zjlhr7b8+JFPjrjqH4HwUkWh5xwDhsfciObJhIjSQ=; b=GUVLmaUWdmzaPGJUz8jZrxzigVKglnXLqP+NecS8pLPusKzcL//nV8+2iED5LabmLC j0F4vbuEiEd26cFAOxiKDTGBeSeR+LVHh20lBsD1M/4SyC4rbqVVgxXc/uTeg/shgpGi lfLjihcq4gCYiwtGHY9GxPflnp1oo/lbxnPyAJ+JFioqa8Csy2C+F/KFGsmqoMtGGfA1 jLowqGJZR5pInrAqVAJ6Runq9J9z/ow39Cvmbxka8k98rZ9WpV86md6yOapWee1SoiJs Zoi3Ojiq6a2spSlvjGxnWcQ6KNgep0XLDRCfoecY4K3fHqBZAaR3Ymt5keUlmrSYsgnn xr5w== X-Received: by 10.68.69.3 with SMTP id a3mr20165177pbu.94.1408329427965; Sun, 17 Aug 2014 19:37:07 -0700 (PDT) Received: from [10.0.20.170] ([103.14.214.22]) by mx.google.com with ESMTPSA id pr5sm14610455pbb.53.2014.08.17.19.37.06 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 17 Aug 2014 19:37:07 -0700 (PDT) Date: Mon, 18 Aug 2014 10:37:02 +0800 To: Aaron Lewis Cc: PHP Internals Message-ID: <86EEE03317124B84B62883DBE41C4ADD@gmail.com> In-Reply-To: References: X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="53f166ce_67a70b69_142" Subject: =?utf-8?Q?=E5=9B=9E=E5=A4=8D=EF=BC=9A_?=[PHP-DEV] How should I call a PHP function From: zxcvdavid@gmail.com (Wei Dai) --53f166ce_67a70b69_142 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, > Hi, > > I'm trying to call a function inside a module, a PHP_FUNCTION. > > Other than zend_eval_stringl, what's the direct way to do it? Please refer to call_user_function and call_user_function_ex. > > > -- > Best Regards, > Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/ > Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > cheers, Wei Dai --53f166ce_67a70b69_142--