Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66904 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32766 invoked from network); 3 Apr 2013 07:46:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Apr 2013 07:46:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.46 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.212.46 mail-vb0-f46.google.com Received: from [209.85.212.46] ([209.85.212.46:43868] helo=mail-vb0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/4A-07534-B5EDB515 for ; Wed, 03 Apr 2013 02:46:35 -0500 Received: by mail-vb0-f46.google.com with SMTP id 11so229114vbe.5 for ; Wed, 03 Apr 2013 00:46:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=XZaBPTI8Q88SFbslHZHZCEZ5J6AxtdBvLJ/c21/cNJ4=; b=DlfmSf04scBy6M88nOVSoU32J0VGY77fMyvkMgpzGB8lBh7axRnGsZsxXAwMYrYojO fUx/fzpSjGvFIVA5bLGs9EPyo2xORZ2SGdYXkPxd9+lQ2hyNv6thQf7rbg75rPIktLRQ Yfev9mP68QO5q8loVXchmcgnxt1o9htlV1OrUpT/dWS0ZYCYOjNQFGKq8qvr2de+VVJ0 6J7zSZORn4cCIc1FAZr+oMUJL6RwRB84en642o6RL1l+bJxIxtN+JgRyOR7VMcieBwBr btMS19JMDWxk5shiYP9pv5cdSZFzPfl0YPMgOS8hJQbIw/T3gERdul68LvKhbjswHjhW Q7XQ== MIME-Version: 1.0 X-Received: by 10.52.95.33 with SMTP id dh1mr342984vdb.52.1364975192546; Wed, 03 Apr 2013 00:46:32 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.58.76.225 with HTTP; Wed, 3 Apr 2013 00:46:32 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Apr 2013 09:46:32 +0200 X-Google-Sender-Auth: mWe5N9nbjrgmfX90nRDAjMK3Rro Message-ID: To: Hannes Magnusson Cc: Laruence , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers From: kalle@php.net (Kalle Sommer Nielsen) 2013/4/3 Hannes Magnusson : > You'll actually have to assign the value of CURL_WRAPPERS_ENABLED to > $curlwrappers, as defined() only checks if the constant exist.. not if > its set to true :) well, s/defined('CURL_WRAPPERS_ENABLED')/defined('CURL_WRAPPERS_ENABLED') && CURL_WRAPPERS_ENABLED/ Doesn't make it prettier (either way) =) -- regards, Kalle Sommer Nielsen kalle@php.net