|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-10-22 10:10 UTC] zlobnygrif at gmail dot com
Description:
------------
Incorrect description
Reproduce code:
---------------
---
From manual page: function.stream-context-create#Description
From manual page: function.stream-notification-callback.php#Examples
---
$ctx = stream_context_create(null, array("notification" => "stream_notification_callback"));
Expected result:
----------------
Warning: stream_context_create() expects at most 1 parameter, 2 given in ...
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 06:00:01 2026 UTC |
Fix: $ctx = stream_context_create(); stream_context_set_params($ctx, array("notification" => "stream_notification_callback"));