diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-26 12:29:23 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-26 12:29:23 +0200 |
commit | 978cdb736a2a43c9e1473b14aa4a1f62ed96f820 (patch) | |
tree | f0f7e617a0543f6201c8852c1dd0abd1151ed5ee /ext/curl/tests | |
parent | c5caa051711319f78b2b8b116dbc0186a73049a0 (diff) | |
parent | 43cd3f68143eb6b35e19605855dac45db4007fc1 (diff) | |
download | php-git-978cdb736a2a43c9e1473b14aa4a1f62ed96f820.tar.gz |
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fixed bug #79741
Diffstat (limited to 'ext/curl/tests')
-rw-r--r-- | ext/curl/tests/bug79741.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/curl/tests/bug79741.phpt b/ext/curl/tests/bug79741.phpt new file mode 100644 index 0000000000..17c3f57e04 --- /dev/null +++ b/ext/curl/tests/bug79741.phpt @@ -0,0 +1,16 @@ +--TEST-- +Bug #79741: curl_setopt CURLOPT_POSTFIELDS asserts on object with declared properties +--FILE-- +<?php + +class Test { + public $prop = "value"; +} + +$ch = curl_init(); +curl_setopt($ch, CURLOPT_POSTFIELDS, new Test); + +?> +===DONE=== +--EXPECT-- +===DONE=== |