get_mangled_object_vars

PHP 7 >= 7.4.0, PHP 8
get_mangled_object_vars - Returns an array of mangled object properties
Manual
Code Examples

Example #1 get_mangled_object_vars example

Result: array(6) { ["Bprivate"]=> int(4) ["public"]=> int(1) ["*protected"]=> int(2) ["Aprivate"]=> int(3) ["dynamic"]=> int(5) [6]=> int(6) } array(2) { ["AOprivate"]=> int(1) ["dynamic"]=> int(2) }
PHP Version:


Function get_mangled_object_vars:

Class/Object Information Functions

Most used PHP functions