Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54402 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44451 invoked from network); 5 Aug 2011 09:59:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Aug 2011 09:59:35 -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.220.170 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:39776] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/00-43800-60FBB3E4 for ; Fri, 05 Aug 2011 05:59:35 -0400 Received: by vxh24 with SMTP id 24so1106414vxh.29 for ; Fri, 05 Aug 2011 02:59:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1xpj4oRF5e0E/0gzZBCB6Rf/WhpEqYnxOa7XRvPKkvI=; b=pxX6wY6t+YXiZlQZvIlcxP0DPiWk7ig5Opt4YUlS+CvOAlwriC4sj+yrvm9WgzXnOT mhn6TPbZYoMZxi7rmwmqPo9BgKdUE8D8zWeBJVl2Zp2Wd5xoW1xDz8QmS6Je1/kWnJwL cLnBIRUXwWvP0SWmdNQj7EtT8d1wM1oLoCFpA= MIME-Version: 1.0 Received: by 10.220.177.204 with SMTP id bj12mr88970vcb.155.1312538371769; Fri, 05 Aug 2011 02:59:31 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.220.200.204 with HTTP; Fri, 5 Aug 2011 02:59:31 -0700 (PDT) In-Reply-To: References: Date: Fri, 5 Aug 2011 11:59:31 +0200 X-Google-Sender-Auth: 1w8nn2Aoptgq24T_y6qo3XuBVhI Message-ID: To: Keloran Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] 5.4 and safemode From: kalle@php.net (Kalle Sommer Nielsen) Hi Keloran 2011/7/28 Keloran : > I noticed that in revision > *313784 > =A0*it is checking for safemode/open basedir, but isn't safemode being dr= opped > from 5.4 (if going by the RFC), since it was deprecated in 5.3 ?, unless = im > reading that wrong, or if not dropped, then wouldn't this check be moot > anyway by having the main feature deprecated > > just a wonder > Late reply; but better late than never. The code for safe_mode checking is commented out by the compiler preprocessor directives which are used a few places in extensions thats synced in all active branches to limit the amount of work needed to maintain different code in active branches so its without a meaning. See main/php.h for the API version thats updated at every major/minor version of PHP. --=20 regards, Kalle Sommer Nielsen kalle@php.net