note 126037 deleted from language.types.iterable by cmb
| From: | cmb@php.net | Date: | Sat, 24 Apr 2021 10:27:30 +0000 |
| Subject: | note 126037 deleted from language.types.iterable by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-216321@lists.php.net to get a copy of this message | ||
Note Submitter: simPod
----
iterable is a pseudo class and does not really exist.
Using
iterable::class resolves to a class in the current namespace
<?php
namespace A;
echo iterable::class; // A\iterable
echo \iterable::class; // iterable
?>