|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-02-16 16:19 UTC] rasmus@php.net
[2013-02-16 16:19 UTC] rasmus@php.net
[2013-02-16 16:19 UTC] rasmus@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: rasmus
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 13:00:02 2025 UTC |
Description: ------------ When executing a simple soap call, I get this error: strpos() expects parameter 3 to be long, string given in /usr/local/lib/SCA/SCA_CommentReader.php on line 385 This trivial patch fixes it: --- SCA_CommentReader.php.orig 2009-10-22 12:49:18.000000000 +0200 +++ SCA_CommentReader.php 2009-10-22 12:49:25.000000000 +0200 @@ -382,7 +382,7 @@ $words = explode(" ", $targetLine); for ($i = 0; $i < count($words); $i++) { $word = trim($words[$i++]); - if (strpos($word, $word, $bindingAnnotation) === 0) { + if (strpos($word, $bindingAnnotation) === 0) { $binding = substr($word, strlen($bindingAnnotation)); break; }