1--TEST--
2Bug #79741: curl_setopt CURLOPT_POSTFIELDS asserts on object with declared properties
3--FILE--
4<?php
5
6class Test {
7 public $prop = "value";
8}
9
10$ch = curl_init();
11curl_setopt($ch, CURLOPT_POSTFIELDS, new Test);
12
13?>
14===DONE===
15--EXPECT--
16===DONE===
17