Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85477 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82210 invoked from network); 26 Mar 2015 19:06:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2015 19:06:43 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.46 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.215.46 mail-la0-f46.google.com Received: from [209.85.215.46] ([209.85.215.46:35717] helo=mail-la0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/22-00585-2C854155 for ; Thu, 26 Mar 2015 14:06:42 -0500 Received: by lahp7 with SMTP id p7so34526765lah.2 for ; Thu, 26 Mar 2015 12:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=wjPSzDY/D3mefXJfm8HnQenMINOzI/bPsAu4EVgDkQA=; b=Bu9/LhiQo/DS50vQBl9s8Eb7xOcDh9b3q+k9JLBFwC3f1hWEYyLD4z0k6Mj6HvibQp mBhCsN0MRVYYdO13z6HNyeqdLCJvnU2U+lCB84D1/+slvwlb3d9m3Pny129AFvQ7Ac3Q B+FRdazUCKEqissTOkVidWklgYUiW83odWZf4mMNZH+Vyle2JCPvLt8l2SkMgLhD6tvI QQ95TixDFyF8hq8nkVOoEK+QHzWnIbxmmXbUakxJE/0z2IaD1mqwrtOSxu2P8TFaiAnr HoRqXJuvzJBVjAPp7Ms1LsKAtr31Q/1+KhN1+fJR1ryQKAM7Hw26L0VPkD+iVdSg7Qb5 gXnw== MIME-Version: 1.0 X-Received: by 10.152.5.134 with SMTP id s6mr5551006las.6.1427396799304; Thu, 26 Mar 2015 12:06:39 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.112.28.9 with HTTP; Thu, 26 Mar 2015 12:06:39 -0700 (PDT) In-Reply-To: References: <55142689.2080106@fedoraproject.org> Date: Thu, 26 Mar 2015 20:06:39 +0100 X-Google-Sender-Auth: TSE6R7djE2xBCVEtx_-NrCak3iE Message-ID: To: Internals Content-Type: text/plain; charset=UTF-8 Subject: Fwd: [PHP-DEV] is_callable and function_exists with disable_functions From: kalle@php.net (Kalle Sommer Nielsen) Forgot to CC list ---------- Forwarded message ---------- From: Kalle Sommer Nielsen Date: 2015-03-26 20:06 GMT+01:00 Subject: Re: [PHP-DEV] is_callable and function_exists with disable_functions To: Remi Collet 2015-03-26 16:32 GMT+01:00 Remi Collet : >> do you mind if I change the current behavior of is_callable , to >> return false on this case? > > Make sense > >> or, at least, change function_exists's behavior instead? > > Seems a bad idea. I agree with both points here, I think is_callable() should mimic function_exists() behavior, is this the same case for disable_classes? -- regards, Kalle Sommer Nielsen kalle@php.net -- regards, Kalle Sommer Nielsen kalle@php.net