Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102477 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62963 invoked from network); 27 Jun 2018 05:44:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jun 2018 05:44:15 -0000 Authentication-Results: pb1.pair.com header.from=vsuraski@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=vsuraski@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.182 as permitted sender) X-PHP-List-Original-Sender: vsuraski@gmail.com X-Host-Fingerprint: 209.85.128.182 mail-wr0-f182.google.com Received: from [209.85.128.182] ([209.85.128.182:33598] helo=mail-wr0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/E8-01794-824233B5 for ; Wed, 27 Jun 2018 01:44:11 -0400 Received: by mail-wr0-f182.google.com with SMTP id k16-v6so649176wro.0 for ; Tue, 26 Jun 2018 22:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:content-language :thread-index; bh=X6j3EVmXxMt7Ll0jm8Un1niWz9+oH6Yjow+zduBYKR0=; b=N2tIvCwSmi7LTkw9yv78LnlerGAC1o+w/1Qi0VjVWhrDMAWcjRGt7FHdMqVabB2NWO Kr318FaaLASVRMSaPppnELXT3oJC/lws62GxZ0joe80ZpyRYqKP8/mL78/UId03Ns7U6 YsMjAqaNTNGwyQOMGHX8OduRJg0I4E9O5luCGmpxbOR0xrtsBvaWoNRJEmM+07SfYsEU PadmPNMuCYDIm6GNLJ21K21t5yfGMPc53SAPPgFNflSgwS/DrAgI+9WsBS7X0F1hFdTO UFZsXfhhXoAvwfGh8bGKVkkUvkLWfpQImfwjj4j/DLxviFFhz3MpU0jp9qBYnV1POUBe rB5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:content-language :thread-index; bh=X6j3EVmXxMt7Ll0jm8Un1niWz9+oH6Yjow+zduBYKR0=; b=sBIaczuY47y7/nunMPmbGThE7umfI5yEwLFbNdbBNGzEDvUUbX+4820ULRcHee87QZ vqczzRHS/drLXUmYNCD7W9KH8JaAEkTIPsMGeiEFL/wmIzEhUrYzVJcIB7blRatWGth9 0t/T8UDSTTxG0ZXaBVKo8Y5YsvQnrfMNKTqjTA0FdyT5NVz60OHKy2niZXRhLMmxzVPr H0UKpFBE+xfDiKb5CNFCR7vjZsQ6lxdyHB6Wou9Bj40dMmUPYA6n/hzSrG+mCNrCXjS4 acjvaH6OcWFG+bUc9giVD6YrDgBKh7UfqFsTWCjPC5/WWe3t7hz4b38Wel7yY0Kzkpzb 21GQ== X-Gm-Message-State: APt69E1MqIzi63CX+pNoLcXvaHnGQs2L8gjL65ks5OjogI+Jg882VbPN H6KqWOk8vptPcUGsP4Pp3Gjxad+hhy4= X-Google-Smtp-Source: AAOMgpfVq+r8NpWraQCY/w42OKgmukzNIxvMJR4YT5hvvAhlP5l2uNsA0BdMzv7AgIoSehNF6SW2mA== X-Received: by 2002:adf:9603:: with SMTP id b3-v6mr3772802wra.253.1530078245423; Tue, 26 Jun 2018 22:44:05 -0700 (PDT) Received: from eCenter710 (bzq-79-180-247-42.red.bezeqint.net. [79.180.247.42]) by smtp.gmail.com with ESMTPSA id k12-v6sm4259212wrr.40.2018.06.26.22.44.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jun 2018 22:44:04 -0700 (PDT) To: "'Stanislav Malyshev'" , "'Kalle Sommer Nielsen'" , "'Nikita Popov'" Cc: "'Internals'" References: In-Reply-To: Date: Wed, 27 Jun 2018 08:43:59 +0300 Message-ID: <002901d40dd9$dad9acf0$908d06d0$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: he Thread-Index: AQDbana5Hz+p56NYUXddTWokHdxIRgGaWdcFAh30iTmmRxuxcA== Subject: RE: [PHP-DEV] [RFC] Deprecations for PHP 7.3 From: vsuraski@gmail.com ("Zeev Suraski") Sorry for top posting, but should we be discussing these at this point? = If these are targeting 7.4, I think we probably want to focus on the = ones slated to 7.3 at this point. Perhaps we can add some further blurb (maybe in a box) that despite the = RFC acronym, at this point this is just a list of items to discuss at a = future time..? Zeev > -----Original Message----- > From: Stanislav Malyshev [mailto:smalyshev@gmail.com] > Sent: Wednesday, June 27, 2018 3:39 AM > To: Kalle Sommer Nielsen ; Nikita Popov > > Cc: Internals > Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 7.3 >=20 > Hi! >=20 > > - The (real) type-cast and its function, is_real(). There doesn't > > seem to be any support for reals in settype() anyway (side note: in > > the implementation of settype() it claims "double" is deprecated) > > - Function variants that already exists as constants, = php_sapi_name() > >> PHP_SAPI, pi() > M_PI, phpversion() > PHP_VERSION etc >=20 > Weighting bc preak potential vs. improvement benefit, I am not sure = it's worth it > for both. Maybe for "real" it's ok as I haven't really seen anybody = using it in > ages, looks like most Fortran programmers either retired or aren't = using PHP :) >=20 > > - enable_dl ini directive, as dl() is only operational for CLI and > > Embed anyway >=20 > Makes sense. >=20 > > - The 'b' constant string prefix, its not used and was meant as to > > make code ready for PHP6, should the time come where we want to add = a > > feature that uses this, we can always re-add it >=20 > Yeah this one we probably just have to remove, it doesn't do anything = now. >=20 > > Other things thats been suggested by others in the past: > > > > - Second parameter of spl_autoload() and its associated function > > spl_autoload_extensions() >=20 > Why? >=20 > > - hebrevc() -- same as hebrev() + nl2br(), perhaps even deprecate > > hebrev() too (see next one) >=20 > Probably less useful now that browsers finally can render bidi texts = properly, but > may be still useable for workloads where bidi rendering is not = available. And I > see no problem with function doing something that is achievable by = other > functions. >=20 > > - convert_cyr_string() -- Point to mb_convert_encoding() / iconv >=20 > Maybe just make it a pseudo-alias for iconv? >=20 > > - The alternative string interpolation syntaxes (${varName}, > > ${varName['offset']}, ${expr}) and make them more consistent > > ({$varName}, {$varName['offset']}, {${expr}}) >=20 > I'm not sure how one is "more consistent" than the other. >=20 > > - The historial parameter handling that works both ways for > > implode(), should be unified to match that of explode() >=20 > I'd advise against messing with such widely used function as = implode()... >=20 > -- > Stas Malyshev > smalyshev@gmail.com >=20 > -- > PHP Internals - PHP Runtime Development Mailing List To unsubscribe, = visit: > http://www.php.net/unsub.php