Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101420 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21490 invoked from network); 26 Dec 2017 15:57:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Dec 2017 15:57:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=lisachenko.it@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lisachenko.it@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.44 as permitted sender) X-PHP-List-Original-Sender: lisachenko.it@gmail.com X-Host-Fingerprint: 74.125.82.44 mail-wm0-f44.google.com Received: from [74.125.82.44] ([74.125.82.44:34297] helo=mail-wm0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/D3-58518-B71724A5 for ; Tue, 26 Dec 2017 10:57:47 -0500 Received: by mail-wm0-f44.google.com with SMTP id y82so36313529wmg.1 for ; Tue, 26 Dec 2017 07:57:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Gr3K+ocgKEL7MxFMwYxho+92ClYKmZZRltnslyv/fgk=; b=QISJWfe0BOV2kOEse3mONRlWbaiQn/uW5MnNL5nt3w2y+McDaLxJG2sYE3DYfSR7pr 3KO4c0B3nYxVVo2QH2k8HFFbti4cI1fNKNM+o62L0HS2RvdbzXs8FPvH+7JA2XAet5m4 epvaXjH/OWAzHjU/MpBIQO2OI6Q1D+W3Sl4xqORu0kzrukBcSzO/4DBAkX2DCAhVzGGZ t01d0sID3LjPJRFkI7xOXKzfdT1KocpiGfs4ZoRwMO9ya7pm1rybaFIgKimZkkpyk2Ho 3h7tY5iFNeDbJcM+9pQAzeD+vUUBCr+wBjKyARs+7yBDLfIZTx8i6LV34kwZ+MyyCOMo RkIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Gr3K+ocgKEL7MxFMwYxho+92ClYKmZZRltnslyv/fgk=; b=ltpIERT5CRkSBOd9Qlyz+9skyBZxykEwp9cfZdRjwjJgpjYe4DHn868zYYOGO8aqwP RwYzrchwLxcQ9dpnR+ePch1l8WW4yDbRw9EjKx39YQTSKUFKvmE52iRFE1pymmykjzIc mfXU3V2TicB8kQMnz9+6wTgkxZL+eznew0b3yPixN7KDCoxKj3/a85/mCB67Nb/2OsBl edHNuRBGSWT7JuAHo0VAEH+rtHalk03j2dsQnxdHYZjm0wVr4Nav2a4huQqFwB0l2M0a yg1tu2PFOnO5jkNjvXqtGxEfGnwJYkpzFi3TIQUwgeT7ZdzIDL4GvAMtVDBN2dwuk0rh OaiQ== X-Gm-Message-State: AKGB3mJeamjCDa7/mvpeTJKg9uK6Al+4v0kUbmXQ+V8z7bF6Kj1A+UpQ INtcobRQ7GnoTnoOJ6TqeEjK00bqAs2wKbjXZI9qfrs2 X-Google-Smtp-Source: ACJfBovwhM6fvOB9qxfPXI3I7kXKIAh3kgqH0Yc9o/6J8rdaSjY15Ceu7yvNrAMb+LwgOdsQbvE0QLzAeLubZfJ3EVs= X-Received: by 10.28.187.133 with SMTP id l127mr19586695wmf.128.1514303864780; Tue, 26 Dec 2017 07:57:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.141.174 with HTTP; Tue, 26 Dec 2017 07:57:04 -0800 (PST) Date: Tue, 26 Dec 2017 18:57:04 +0300 Message-ID: To: PHP internals list Content-Type: multipart/alternative; boundary="001a114a6cb6f13ce00561405705" Subject: [Discussion] Deprecate several ReflectionParameter methods From: lisachenko.it@gmail.com (Alexander Lisachenko) --001a114a6cb6f13ce00561405705 Content-Type: text/plain; charset="UTF-8" Hi, internals! I would like to nominate following methods for deprecation in next patch version of PHP: - ReflectionParameter->isArray(), - ReflectionParameter->isCallable(), - ReflectionParameter->allowsNull(), - ReflectionParameter->getClass() All these methods are covered with ReflectionNamedType API, available for PHP>=7 via ReflectionParameter->hasType() and ReflectionParameter->getType(). So, next major version will use ReflectionNamedType API for getting information about type instead of querying small subset of type information directly from ReflectionParameter API. What is your opinion about this? Thanks! Best regards, Alexander Lisachenko --001a114a6cb6f13ce00561405705--