|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-04-08 12:17 UTC] rasmus@php.net
[2010-04-08 19:43 UTC] datibbaw@php.net
[2010-04-09 02:35 UTC] airs0urce0 at gmail dot com
[2010-04-09 08:34 UTC] datibbaw@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 20:00:01 2025 UTC |
Description: ------------ PHP crashes and show empty page if we use integer values for $extra_parameters of fetch() method Reproduce code: --------------- <?php $o = new OAuth('consumer_key', 'consumer_secret', OAUTH_SIG_METHOD_HMACSHA1); $o->fetch( 'http://api.somehost.com/catalog/film', array( 'f' => 'coming_soon|coming_soon', 'items_per_page' => 1, 'start_index' => 652 ), OAUTH_HTTP_METHOD_GET ); $response = $o->getLastResponse(); header('Content-type: application/xml'); echo $response; ?> items_per_page and start_index parameters is integer. If we change these values to string then all working fine. Expected result: ---------------- Any behavior (exception, auto cast int to string), but not crash Actual result: -------------- Just empty page and no any errors