note 128870 added to reflectionnamedtype.isbuiltin

From: Date: Fri, 08 Sep 2023 11:16:25 +0000
Subject: note 128870 added to reflectionnamedtype.isbuiltin
Groups: php.notes 
Request: Send a blank email to php-notes+get-220831@lists.php.net to get a copy of this message
Here is a list of php 8.2 built-in types. ReflectionType::isBuiltin will return true for them: array, bool, callable, float, int, null, object, string, false, iterable, mixed, never, true, void. On the other hand, classes and local alias keywords that may be used as types in some cases, are not built-in: parent, self, static. Try it: https://onlinephp.io/c/b7f57 ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 2a01:e0a:9fc:9400:d6de:c649:55bc:3422) ---- Manual Page -- https://php.net/manual/en/reflectionnamedtype.isbuiltin.php Edit -- https://main.php.net/note/edit/128870 Del: integrated -- https://main.php.net/note/delete/128870/integrated Del: useless -- https://main.php.net/note/delete/128870/useless Del: bad code -- https://main.php.net/note/delete/128870/bad+code Del: spam -- https://main.php.net/note/delete/128870/spam Del: non-english -- https://main.php.net/note/delete/128870/non-english Del: in docs -- https://main.php.net/note/delete/128870/in+docs Del: other reasons-- https://main.php.net/note/delete/128870 Reject -- https://main.php.net/note/reject/128870 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220831) next »