note 126075 rejected from function.get-object-vars by cmb

From: Date: Thu, 13 May 2021 10:18:18 +0000
Subject: note 126075 rejected from function.get-object-vars by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-216380@lists.php.net to get a copy of this message
Note Submitter: koreshs at mail dot ru ---- https://www.php.net/manual/ru/function.get-object-vars.php Important note. The description should specify that get_object_vars () returns properties only where the default values for typed properties are specified. I spent a week searching for the reason why an object doesn't return properties with a type, and returns without a type. Важное замечание. В описании должно быть указано, что get_object_vars() возвращает свойства только там где указаны значения по умолчанию для типизированных свойств. Я неделю потратил на поиск причины, почему объект не возвращает свойства с типом, и возвращает без типа.

« previous php.notes (#216380) next »