note 129571 added to language.types.type-system

From: Date: Sun, 09 Jun 2024 21:41:01 +0000
Subject: note 129571 added to language.types.type-system
Groups: php.notes 
Request: Send a blank email to php-notes+get-221369@lists.php.net to get a copy of this message
Even through "resource" is listed as a "type", it will fail during assignment by functions like opendir(): PHP Fatal error: Uncaught TypeError: Cannot assign resource to property $handle of type resource|false ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.84.18 (proxied: 108.58.160.146) ---- Manual Page -- https://php.net/manual/en/language.types.type-system.php Edit -- https://main.php.net/note/edit/129571 Del: integrated -- https://main.php.net/note/delete/129571/integrated Del: useless -- https://main.php.net/note/delete/129571/useless Del: bad code -- https://main.php.net/note/delete/129571/bad+code Del: spam -- https://main.php.net/note/delete/129571/spam Del: non-english -- https://main.php.net/note/delete/129571/non-english Del: in docs -- https://main.php.net/note/delete/129571/in+docs Del: other reasons-- https://main.php.net/note/delete/129571 Reject -- https://main.php.net/note/reject/129571 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221369) next »