Edit report at https://bugs.php.net/bug.php?id=61137&edit=1

 ID:                 61137
 Updated by:         ras...@php.net
 Reported by:        yohg...@php.net
 Summary:            missing mysql_stmt_get_result()
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            MySQLi related
 Operating System:   Linux
 PHP Version:        5.3.10
 Block user comment: N
 Private report:     N

 New Comment:

The manual also says these functions are only available if you are using the 
mysqlnd client library. Nyiur case you didn't use mysqlnd for your 5.3 build 
and 
in 5.4 we default to mysqlnd unless you specify otherwise. That's why you are 
seeing the difference.


Previous Comments:
------------------------------------------------------------------------
[2012-02-19 04:48:05] yohg...@php.net

Description:
------------
Not researched why this happens, but somehow a function is missing in PHP 
5.3.10, 
but not 5.4.

The manual says mysqli_stmt_get_result() is available from PHP 5.3.0, but it is 
missing.

http://jp2.php.net/manual/en/mysqli-stmt.get-result.php

msyqli_stmt::get_result() also seems missing.



Test script:
---------------
[yohgaki@dev php-5.3.10]$ ./configure --with-mysqli && make -j 9
[yohgaki@dev php-5.3.10]$ ./sapi/cli/php -r "print_r(get_defined_functions());" 
| grep mysqli_stmt_get
            [239] => mysqli_stmt_get_warnings


Expected result:
----------------
This is PHP 5.4 svn result.

[yohgaki@dev php-src-5.4]$ ./sapi/cli/php -r 
"print_r(get_defined_functions());" 
| grep mysqli_stmt_get
            [246] => mysqli_stmt_get_result
            [247] => mysqli_stmt_get_warnings


Actual result:
--------------
[yohgaki@dev php-5.3.10]$ ./sapi/cli/php -r "print_r(get_defined_functions());" 
| 
grep mysqli_stmt_get
            [239] => mysqli_stmt_get_warnings


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61137&edit=1

Reply via email to