Zach Borboa
b754ebf065
Add Coinbase ETH spot price example
2017-04-30 13:29:12 -07:00
Zach Borboa
a97721c8ea
Add memory leak test examples
2017-04-30 13:19:59 -07:00
Zach Borboa
b760961085
Merge pull request #445 from zachborboa/master
...
Fix memory leaks
2017-04-30 04:17:00 -07:00
Zach Borboa
8a374aa191
Update tests to run assertions before instances are cleaned up and properties are null.
2017-04-30 03:52:59 -07:00
Zach Borboa
d21a7dcc8b
Clean up completed multi curl instance to fix memory leak
2017-04-30 03:10:24 -07:00
Zach Borboa
d214d6b767
Use temporary placeholder to store header callback data and avoid memory leak.
2017-04-30 02:52:45 -07:00
Zach Borboa
13ef3e4ef9
Reduce number of ops
2017-04-29 11:25:19 -07:00
Zach Borboa
e0a6112375
Reduce number of ops
2017-04-29 11:21:28 -07:00
Zach Borboa
8ee986c563
Merge pull request #444 from zachborboa/master
...
Allow the disabling of automatic response decoding
2017-04-29 03:53:49 -07:00
Zach Borboa
fb1f36da16
Fix syntax error for PHP 5.3 and PHP 5.4.
...
Fixes "PHP Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in XXX on line XXX".
2017-04-29 03:29:24 -07:00
Zach Borboa
efbcc080bb
Allow the disabling of automatic response decoding.
...
The following will disable their respective decoders:
$curl->setDefaultDecoder(false);
$curl->setJsonDecoder(false);
$curl->setXmlDecoder(false);
2017-04-29 02:54:35 -07:00
Zach Borboa
5706ad7723
Fix here-document warning.
...
Fixes "warning: here-document at line XX delimited by end-of-file (wanted `EOF')".
2017-04-29 00:27:12 -07:00
Zach Borboa
323bfc37b9
Merge pull request #443 from zachborboa/master
...
Remove use of anonymous functions for json decoder and xml decoder
2017-04-28 01:30:52 -07:00
Zach Borboa
38f6825aa2
Replace variable function calls with call_user_func().
...
Fixes "Call to undefined function \Curl\Decoder::decodeXml()" in PHP
5.3, 5.4, 5.5, 5.6, hhvm.
2017-04-28 00:40:00 -07:00
Zach Borboa
97319a51f8
Move decoder functions to separate class file
2017-04-27 23:51:21 -07:00
Zach Borboa
a6e94ae8bd
Remove use of anonymous functions for json decoder and xml decoder
2017-04-27 02:41:45 -07:00
Zach Borboa
ee6908aef9
Merge pull request #433 from zachborboa/fix-432
...
Add additional wait when curl_multi_select fails to block
2017-04-27 00:35:01 -07:00
Zach Borboa
5aed969628
Add additional wait when curl_multi_select fails to block
2017-04-27 00:15:48 -07:00
Zach Borboa
a6303eeb79
Merge pull request #442 from zachborboa/master
...
Allow using string as well as array for query parameter argument
2017-04-26 23:55:57 -07:00
Zach Borboa
658a10f013
Fix #441 : Allow using string as well as array for query parameter argument
2017-04-25 23:53:33 -07:00
Zach Borboa
5d1a9e4c01
Merge pull request #435 from zachborboa/master
...
Clean up
2017-03-20 02:06:15 -07:00
Zach Borboa
0996917ae0
Add assertions to fix "risky tests" warning
2017-03-20 01:42:15 -07:00
Zach Borboa
4fbfbd8ced
Use instance's file handle
2017-03-20 01:20:27 -07:00
Zach Borboa
93c1224fc0
Display PHPUnit version before running unit tests
2017-03-19 09:00:26 -07:00
Zach Borboa
e1a2da4c2c
Merge pull request #431 from zachborboa/master
...
Fix new version of PHPUnit causing build to break
2017-03-18 04:52:27 -07:00
Zach Borboa
d9b5e3ebd5
Fix PHPUnit 6.0 release causing build to break.
...
Use PHPUnit's new namespacing.
Add shim for backwards compatibility and run on PHP < 7.0.
2017-03-18 04:25:48 -07:00
Zach Borboa
c86e86d917
Fix #428 : Add custom request example
2017-03-01 19:00:47 -08:00
Zach Borboa
9cae335fc3
Improve search result text
...
Remove alt text from images which causes search result description to display unhelpful information before the library's description.
"Release License Build Status Downloads. PHP Curl class makes it easy to ..."
2017-02-26 13:31:33 -08:00
Zach Borboa
95036afbb7
Add screencast
2017-02-11 03:04:09 -08:00
Zach Borboa
75edfe2ab1
Bump minor version
7.2.0
2017-01-26 23:49:43 -08:00
Zach Borboa
acfd5bb1ee
Add more flair
2017-01-26 23:25:49 -08:00
Zach Borboa
ffa9651ffc
Clean up
2016-12-30 10:49:01 -08:00
Zach Borboa
79f659d159
Fix probable bugs; Clean up style
2016-12-28 19:19:23 -08:00
Zach Borboa
9eef25aa4f
Merge pull request #419 from zachborboa/master
...
Process multicurl requests in ascending numerical order
2016-12-25 02:05:52 -05:00
Zach Borboa
7dc6eba0af
Process multicurl requests in ascending numerical order.
...
Previously, multicurl requests were added to the end and removed from the end. Requests are now added to the end and
removed from the beginning. Using array_shift() will be slower than array_pop().
Before using "array_push()" + array_pop():
1
1 2
1 2 3
1 2 3 4
1 2 3
1 2
1
After using "array_push()" + array_shift():
1
1 2
1 2 3
1 2 3 4
2 3 4
3 4
4
2016-12-25 01:45:16 -05:00
Zach Borboa
b6e6524d29
Move array methods to separate file
2016-12-24 13:04:12 -08:00
Zach Borboa
bf701e7f3f
Move large rfc variables down
2016-12-24 12:52:17 -08:00
Zach Borboa
abc7dc2f53
Use Curl::getOpt() instead of reflection
2016-12-24 12:47:58 -08:00
Zach Borboa
96b3d50c2e
Simplify setCookie tests
2016-12-24 12:16:10 -08:00
Zach Borboa
80f874b7c2
Add multicurl download example with success, error, and complete callbacks
2016-12-23 00:55:16 -08:00
Zach Borboa
bd75d8a0cc
Merge pull request #418 from zachborboa/master
...
Implement setCookies()
2016-12-23 00:39:48 -08:00
Zach Borboa
7b5dd71bd5
Implement MultiCurl::setCookies()
2016-12-23 00:20:51 -08:00
Zach Borboa
296345b0a2
Implement Curl::setCookies()
2016-12-18 11:31:38 -08:00
Zach Borboa
de1869b3ee
Return boolean when calling setCookieFile() and setCookieJar()
2016-12-15 03:53:47 -08:00
Zach Borboa
d2ee158c92
Display php version and curl version when running ci tests
2016-12-15 03:51:33 -08:00
Zach Borboa
99f59daa06
Merge pull request #414 from zachborboa/cookie-test
...
Fix cookie file data failing to be included in request
2016-12-15 03:44:09 -08:00
Zach Borboa
7a623ac0de
Add newline to allow cookie file to be read correctly and cookies to be included in request
2016-12-15 03:29:33 -08:00
Zach Borboa
04b8a63e71
Use Curl::setCookieFile()
2016-12-15 03:17:31 -08:00
Zach Borboa
4b8f6e0082
Readd assertion testing cookie sent in request and received by server
2016-12-15 03:17:04 -08:00
Zach Borboa
9d35fe5b25
Merge pull request #412 from zachborboa/master
...
Fix test failing only on continuous integration servers
2016-12-10 14:41:16 -08:00