Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55446 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7880 invoked from network); 14 Sep 2011 20:46:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2011 20:46:44 -0000 Authentication-Results: pb1.pair.com header.from=confik@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=confik@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: confik@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:49733] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/70-05109-3B2117E4 for ; Wed, 14 Sep 2011 16:46:44 -0400 Received: by gyb11 with SMTP id 11so1943960gyb.29 for ; Wed, 14 Sep 2011 13:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=g/bFzqWysjlqI7riYAKzj+ZPy1xHTTSNySkYxrbE33k=; b=kmimffVuaPrnq3HL7fdf9hmI/BM+DdiK4Uww5+u2SYhJh0iA4jdAjdcRaDxPBOl0iQ +CZixJBiU6vSh4amaj67EbYQXyMFonT8KRZixvWfnOQUvww4MZnA/fZXyC7Qye4nmFRX d5M4EnVQ56+cM0HqE+9oy4Mlxuw5H3gpQDOio= Received: by 10.100.233.33 with SMTP id f33mr329970anh.2.1316033201082; Wed, 14 Sep 2011 13:46:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.33.19 with HTTP; Wed, 14 Sep 2011 13:46:21 -0700 (PDT) In-Reply-To: References: Date: Thu, 15 Sep 2011 01:46:21 +0500 Message-ID: To: Pierre Joye Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Running mhash tests From: confik@gmail.com (Alexey Shein) 2011/9/15 Pierre Joye : > hi, > > On Wed, Sep 14, 2011 at 9:58 PM, Alexey Shein wrote: > >> Should we delete these tests (and, maybe deprecate/move to pecl the >> extension itself)? > > I don't think we should, they are here to make sure that the emulation > layer works fine. > >> If not, I'd like to know how to run these tests. > > Maybe the skipif is wrong, as far as I remember there was an issue > with seeing the "mhash" layer as being the mhash extension. Maybe we > should change the skipif and uses function_exists instead? Have you > tried it? > They both return false for me: conf@laptop ~/php-src/trunk $ sapi/cli/php -r 'var_dump(extension_loaded("mhash"), function_exists("mhash"));' bool(false) bool(false) conf@laptop ~/php-src/trunk $ > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > -- Regards, Shein Alexey