Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28751 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96648 invoked by uid 1010); 12 Apr 2007 17:38:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96631 invoked from network); 12 Apr 2007 17:38:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Apr 2007 17:38:37 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 85.214.94.56 cause and error) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Received: from [85.214.94.56] ([85.214.94.56:60654] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/B1-24520-99E6E164 for ; Thu, 12 Apr 2007 13:38:34 -0400 Received: from baumbart.mbo (dslb-084-063-024-091.pools.arcor-ip.net [84.63.24.91]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id A43E61B363F; Thu, 12 Apr 2007 19:38:30 +0200 (CEST) Date: Thu, 12 Apr 2007 19:38:55 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1098201837.20070412193855@marcus-boerger.de> To: =?iso-8859-15?Q?Johannes_Schl=FCter?= CC: Lukas Kahwe Smith , internals@lists.php.net In-Reply-To: <1176393177.3354.45.camel@johannes.nop> References: <461E4437.2090105@pooteeweet.org> <1176393177.3354.45.camel@johannes.nop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP6 todo list From: helly@php.net (Marcus Boerger) Hello Johannes, Thursday, April 12, 2007, 5:52:57 PM, you wrote: > Hi Lukas, > On Thu, 2007-04-12 at 16:37 +0200, Lukas Kahwe Smith wrote: >> 4. safe_mode/open_basedir >> 1. remove safe mode and throw E_CORE_ERROR when set >> 2. unbundle safe_mode_exec_dir from safe_mode and keep it >> (rasmus) (take a look at this patch too) >> 3. new ini option: open_basedir_for_include which would allow >> using include/require(_once) on an expanded set of directories (sara) >> >> Whats the state here. I remember that there was still a fair bit of back >> and forth on this point. > At least safe_mode and magic_quotes are gone. I'm not sure about > safe_mode_exec_dir or open_basedir_for_include. >> 9. remove zend.ze1_compatibility mode and throw E_CORE_ERROR when >> set DONE (dmitry) >> >> Same here. Gone for good? > No. > Dmitry removed it on 2006/03/16 10:33:23 but Zeev reverted that change > on 2006/06/05 13:58:52. > I didn't find the discussion but I remember there was some "When did we > decide on that?" posting from Zeev. I thought Zeev only brought it back for 5? We agreed for removing it in 6. If it is still there we drop it. And if someone brings it back he will get his access removed. >> 4. add an ifsetor() construct with the middle value for the ?: >> ternary operator dropped >> >> Kinda scared to mention this one. Me want very much though :) >> > Marcus recently added a ?: Operator which isn't exactly the ifsetor but > close to it. No, ifsetor will always be faster. Even @?: isn't the same as there still error messages will be generated, just not send out. > zend_language_parser.y revision 1.179 > date: 2007/03/04 16:25:57; author: helly; state: Exp; lines: +4 -1 > - Implement '?:' > [DOC] "expr1 ?: expr1" is a shortcut for: "expr1 ? expr1 : expr2" as > exists in gcc and discussed some time back. Note that this is not > an implementation ifsetor($var, default). While ifsetor would not > generate any message for non existing variables or array indices > the ternary shortcut does. Also the ternary shortcut does a > boolean > evaluation rather then checking for isset(). That way ther ternary > shortcut can work on any expression while ifsetor can only work on > variables. Also to be silent one has do do: "@$expr1 ?: $expr2". Best regards, Marcus