Req #80620 [Opn->Nab]: feature request - List data types

From: Date: Wed, 13 Jan 2021 06:54:28 +0000
Subject: Req #80620 [Opn->Nab]: feature request - List data types
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231525@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80620&edit=1 ID: 80620 Updated by: requinix@php.net Reported by: fazedoutofturn at hotmail dot com Summary: feature request - List data types -Status: Open +Status: Not a bug Type: Feature/Change Request Package: *Programming Data Structures PHP Version: Next Major Version Block user comment: N Private report: N New Comment: See the proposal for the "array_is_list" function, and related messages on the internal mailing list. https://wiki.php.net/rfc/is_list Previous Comments: ------------------------------------------------------------------------ [2021-01-13 05:08:30] fazedoutofturn at hotmail dot com Description: ------------ This is my first time requesting for a PHP feature or using this report system. But since PHP 8 has been released, could we get List data types? We already have scalar data type declarations now. It would be nice to have other data types that other languages has as well. Arrays are nice, but having Lists would make PHP head towards a more consistent OOP language. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80620&edit=1

« previous php.bugs (#231525) next »