mirror of
https://github.com/php/php-src.git
synced 2026-04-20 06:21:12 +02:00
Before this change, var_export()'s output for stdClass objects calls the non-existent stdClass::__set_state method, and is therefore useless. This commit makes var_export() output an (object) cast from an array instead, which when evaluated, will produce a stdClass object. Other classes see unchanged output.
218 B
218 B