Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76503 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16193 invoked from network); 14 Aug 2014 02:13:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2014 02:13:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=the.warl0ck.1989@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=the.warl0ck.1989@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.47 as permitted sender) X-PHP-List-Original-Sender: the.warl0ck.1989@gmail.com X-Host-Fingerprint: 209.85.218.47 mail-oi0-f47.google.com Received: from [209.85.218.47] ([209.85.218.47:46565] helo=mail-oi0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F5/31-07085-D4B1CE35 for ; Wed, 13 Aug 2014 22:13:34 -0400 Received: by mail-oi0-f47.google.com with SMTP id x69so432280oia.6 for ; Wed, 13 Aug 2014 19:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=gl7GTd6CtKcqOQv7lyeq0E4yGlMF4KmSnREGoXnxtgw=; b=vuTZJs2bqVeXblvGC3w5hPzUmnC0giBkrMof5XGe+Jh853ujvrdK2Fko9S/vQbpvsR fralxFuqjM3zx66T2AdxR+ihK+p9vJ8bPOhtHWLYGfIVzk/2duWeQBbgEcH1YoF+3yc3 e9Q4ihWXA2wJZVe3VW3PCb302MZpTKdO4shBsqueOf8rwCfLmmy1m7AMQkI1d4bpVjRm 1eS+nVeC8ImbKONPKty+a91d5N6+3h4K2Sk2XZdOgayh81gaWlEOiyPcH0l8ONdl9Z0D ATi+yzX5QmI3W0MaHE4InuHiORRYmYv+Voff+/m3YZCMbBpVMcY/TW/DPGudQ+2fq57a mBAw== MIME-Version: 1.0 X-Received: by 10.60.121.67 with SMTP id li3mr8716444oeb.17.1407982411314; Wed, 13 Aug 2014 19:13:31 -0700 (PDT) Received: by 10.76.175.6 with HTTP; Wed, 13 Aug 2014 19:13:31 -0700 (PDT) Date: Thu, 14 Aug 2014 10:13:31 +0800 Message-ID: To: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Can't use php_error_docref in zend_API.c? From: the.warl0ck.1989@gmail.com (Aaron Lewis) Hi, I'm trying to print error messages in zend, so I add a function in zend_API.{h,c} Then I got and error: /Zend/zend_API.c:3226: undefined reference to `php_error_docref So, what's the appropriate function to use? -- Best Regards, Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/ Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33