Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106036 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 71645 invoked from network); 22 Jun 2019 23:06:01 -0000 Received: from unknown (HELO mail-pl1-f194.google.com) (209.85.214.194) by pb1.pair.com with SMTP; 22 Jun 2019 23:06:01 -0000 Received: by mail-pl1-f194.google.com with SMTP id e5so4647916pls.13 for ; Sat, 22 Jun 2019 13:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4tnBSKruWzr/3kWb7KeyRQnHAG6OUI+U+T1ecXLGnMk=; b=Vn1DShJTaaajDo/LB2hJg/VDjPUCp8yjZrNRktYn3UX5ZHQ/DD8wyw7TDV4siWGsFu cRHhukIg2EKF9XuFGjrTJbbndWlET5lfU80X4Ju0JVdvyd4WhY/dkqkHKgqVUBXj4nRU 7luUnIy6u2D74MN6ZP8eMVkBHIdbCKYF9F8Nc+PgHIdce7x/jfmL6xUbV1ce9qMG29XB ZVMFxTolG2Aj6GDMT6l7t7pZgD4Sv3MN21mdj1arqO5qBfKxwD96bgi25vnNiY8NApo7 yzYrwi71rpfsQq+/gpVfDT8z2IxoIoj4PjsGvPcPiEEAHVNQ8HyOm93qgIEk4vxuSA9V F4Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=4tnBSKruWzr/3kWb7KeyRQnHAG6OUI+U+T1ecXLGnMk=; b=Ptmad1NeiLlako+27z7jhZFvWseyZIhuyU0t+GRnqbeb1+W92S7EFjPE75gX5P7vAN XXYOJkYrKIol0hdlIlNEvR/p/O3VjoYiBGNgUEmOcJ7xeolE1i3m7JA2w6MpM1yRGTl4 bmSKc7PGJT8eGbOeb+DvkwO7iXD7V/73dovlAZ07sVySGnj2WQC2RvhbAKy1gJfvlI2c UIuhILxVEAh+m13/6HmMfg4cvwaSVwsr3abVQ6Or+Mcq4sTsAyCkVrNZ6ads0e+Dnb12 d0UWuzbwPARMj9/WrHGacCB8xYdwJmTEj5+sa1cpQLvO9IGafFjADS/WTZDlMHaee8Yz nw7g== X-Gm-Message-State: APjAAAV4M0VT2Y5VXE7bDNBBiNIuYzeiElnjakeUEpMFfti61TUhcD0C wzExsqeBb+3FGcDQ6CSqIQ== X-Google-Smtp-Source: APXvYqwcdHgo0v/l5w2mubDi3xkXd1VkIPVyQsABHNyh7X3osF2X+z66qfZDanqxHuDKtfsRlnoTnA== X-Received: by 2002:a17:902:7295:: with SMTP id d21mr119026098pll.299.1561234889214; Sat, 22 Jun 2019 13:21:29 -0700 (PDT) Received: from Stas-Pro-2016.lan (c-24-4-176-254.hsd1.ca.comcast.net. [24.4.176.254]) by smtp.gmail.com with ESMTPSA id t8sm7452469pfq.31.2019.06.22.13.21.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Jun 2019 13:21:26 -0700 (PDT) To: Kalle Sommer Nielsen , Internals , Nikita Popov References: <09a8bba3-d17a-a8e5-f9b7-cc3d65f1e66c@gmail.com> Openpgp: preference=signencrypt Autocrypt: addr=smalyshev@gmail.com; prefer-encrypt=mutual; keydata= mQMuBE9mqaARCACFSqcGmNunkjQQu3X+yXnTmFeEkvM4JXZTOBdR8aEevNGmmFEfyvjaDjWi 9hcwp4E/lYtC+P7VsVjM1OSX9eq0jC/lGL0ZyRXek+mNy0n5H1NSuTpf9Y18LMqhc4G+RU+L cNiZ9K0DJuOOvNLPxW7OHZguxb3wdKPXNVa2jyRfJAKm2uaJJMT1mTmFT9a0Q8SKr+mUrrJk uG0H2o6SzrKt8Wwoint1eh67zVsJaJtQFchnEZnlawIcqP2yC4nLGR3MkubowxoEBYCZet18 aHVVR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LXwNn20tFNvSXfb8RdeXvVEb7Scx+W9qYpiaun2iXJgCVH8fgpZpR856ulT1q6uCG++CX ubEvip/eJkZl93/84h04KQJwsgOrAh0Om3OePRn8Pr+++0LNS0EL8uX/YHeTOGOnnmTqYTey SBVFdov6L4mepddfjekicKQqhL7mZh/xuq29JijT0uNNX8v4vDWQDu5dlAcdd+uB3gcXMD/P ginD11zp+6wtrWCm/+yBqpvDwXQX5PGUnwvbRfl7Ay3MmwmoXiecZMg0dwTSc7e0lhB4HGRH ZdBMJB4rHUVGdzqujK/ctOvrAAMFB/0Utb76Qe6sCMlHxVAmeE/fbo7Pi05btZ/x01r67dHf aMSP0riCKJ7M0OW+jAXtu9+z/BVnYisW67WWfxl2cS5tZDgiHgJARXWUOO72+sScHP8KQmTl 1z16gyKbwY3SmyBkwcpOL35nhUWNLy93syPoY6sZUTikr2bZYukHDQ33XBPs4e6MbWKfsa9q aVmnlOF3k5UqChjutfHaEa4Q7VP4wBIpphHBi9MI16oJIzzBPbGl2uoedjwiZ6QeQZnSuOVY ZxU2d3lRA8PrtfFN1VSlpEm/VcAvtieHUYWHN0wOu+cp3Slr5XJVNjTjJhl28SlinMME54mK AGf2Ldr/dRwXiGEEGBEIAAkFAk9mqaACGwwACgkQL3lWvF2gS126EQD/VVd3FgjLKglClRQP zdfU847tqDK4zJjbmRv5vLLwoE0A+wbrQs7jVGU3NrS0AIl5vUmewpp2BKzSkepy23nWmejw Message-ID: Date: Sat, 22 Jun 2019 13:21:23 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <09a8bba3-d17a-a8e5-f9b7-cc3d65f1e66c@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Deprecations for 7.4 - specifics From: smalyshev@gmail.com (Stanislav Malyshev) Hi! enable_dl - I am not clear what is proposed - to remove dl() functionality in PHP 8 completely, even in CLI? Or to keep it in CLI always on and remove the directive? My opinion: drop the directive, let the SAPI decide if dl() is possible, with CLI keeping it. Not sure about embed though. But I guess if somebody needs it in embed, they probably could patch it so it enables the dl(). Not sure how easy it would be to make this per-SAPI decision though... The 'real' type - see no reason to touch it, it doesn't hurt anybody. hebrev, hebrevc, apache_request_headers, is_writeable, convert_cyr_string, money_format, restore_include_path - leave them in peace (argued why in another thread). Maybe legacy extension as Zeev suggested, I'm fine with that. Magic quotes and all related - burn with fire. Magic quotes was a mistake, and here my BC inner voice is not able to say anything in its favor. array_key_exists(object) - fine with dropping object behavior. It does say "array". And btw, can we actually make it work with ArrayAccess properly? INPUT_SESSION & INPUT_REQUEST - if they weren't implemented, drop them. No point in keeping stuff that doesn't work. register_argc_argv - support making $argc/$argv always available in CLI but not sure about the definition of CLI. Does CGI qualify? Does embed? This worries me a bit. Same situation as in dl() - it's like we need some ini setting that is only accessible to SAPIs... Maybe we should introduce new INI level that is only settable by SAPI but not changeable later? Just brainstorming here. Reflection export() - check if any real code is using it. Reflection printing is kinda-sorta is the area that BC breaks may be acceptable, since it's unlikely production code paths would depend on it, but we need to check it. Undecided so far. mb_strrpos - if we promised to deprecate, we may as well do it. implode() - leave it alone, yes I know it's weird order, but messing with it helps nobody. Yes, I know, "inconsistent". Making it "consistent" will improve the life of exactly 0 people. Please let it be. ezmlm_hash - undecided... it's really the niche of the niche. It also doesn't hurt anyone, but not sure if anybody actually using it anymore. allow_url_include - as I said, needs separate RFC. I am leaning towards removing it, but maybe there's some use case for it... Unbinding $this - already wrote about it, doesn't look like we have a choice there given that what it is trying to do seems not to be supported in PHP 8. So there may not be a point in even voting on it, unless I misunderstand the explanation. If we need a vote, may be a good idea to separate this one either. -- Stas Malyshev smalyshev@gmail.com