1
0
mirror of https://github.com/php/php-src.git synced 2026-04-16 20:41:18 +02:00
Files
archived-php-src/ext/standard/tests
Andrea Faulds e4e9cd8355 Export stdClass objects using (object) cast (fixes #48016)
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.
2018-07-12 13:22:26 +02:00
..
2018-02-22 13:03:21 +01:00
2018-07-05 19:10:24 +02:00
2018-02-26 22:26:55 -08:00
2018-06-30 16:50:49 +02:00
2018-07-02 17:59:33 +02:00
2018-07-07 17:14:54 +02:00