1
0
mirror of https://github.com/php/php-src.git synced 2026-04-16 04:21:18 +02:00
Files
archived-php-src/ext
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-07-09 21:25:19 +02:00
2018-07-05 13:37:59 +03:00
2018-07-10 00:04:44 +03:00
2018-06-10 21:22:12 +02:00
2018-07-11 18:05:28 +02:00
2018-07-06 16:08:57 +02:00
2018-07-09 15:15:08 +02:00
2018-07-05 17:24:38 +02:00
2018-02-23 11:06:20 +01:00
2018-07-09 13:34:04 +02:00
2018-07-06 19:15:26 +08:00
2018-06-08 23:02:25 +02:00
2018-06-04 17:10:49 +02:00
2018-06-25 08:31:32 +02:00
2018-07-10 11:20:50 +02:00