ID: 22183 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Documentation problem Operating System: DON'T KNOW PHP Version: 4.3.0 New Comment:
actualy the english version is right, whether a parameter is passed by value or by reference is specified in the function definition. passing by reference at call time is deprecated (and you should see warnings about this if your error reporting level is high enough) can you please describe the problems you experience in more detail? Previous Comments: ------------------------------------------------------------------------ [2003-02-12 04:25:28] [EMAIL PROTECTED] Hello, I found a difference in German and English Documentation of function fsockopen(). The first Example in german version says: $fp = fsockopen ("www.example.com", 80, &$errno, &$errstr, 30); and this works fine ... The first Example in englisch version says: $fp = fsockopen ("www.example.com", 80, $errno, $errstr, 30); and this seem not to work in every case ... (Difference: $errno and $errstr are passed with by ref operator in german version) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22183&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php