note 126075 added to function.get-object-vars

From: Date: Thu, 13 May 2021 10:07:06 +0000
Subject: note 126075 added to function.get-object-vars
Groups: php.notes 
Request: Send a blank email to php-notes+get-216379@lists.php.net to get a copy of this message
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() возвращает свойства только там где указаны значения по умолчанию для типизированных свойств. Я неделю потратил на поиск причины, почему объект не возвращает свойства с типом, и возвращает без типа. ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.242 (proxied: 128.74.253.41) ---- Manual Page -- https://php.net/manual/en/function.get-object-vars.php Edit -- https://main.php.net/note/edit/126075 Del: integrated -- https://main.php.net/note/delete/126075/integrated Del: useless -- https://main.php.net/note/delete/126075/useless Del: bad code -- https://main.php.net/note/delete/126075/bad+code Del: spam -- https://main.php.net/note/delete/126075/spam Del: non-english -- https://main.php.net/note/delete/126075/non-english Del: in docs -- https://main.php.net/note/delete/126075/in+docs Del: other reasons-- https://main.php.net/note/delete/126075 Reject -- https://main.php.net/note/reject/126075 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#216379) next »