Bug #61137 [NEW]: missing mysql_stmt_get_result()
From: yohgaki
Operating system: Linux
PHP version: 5.3.10
Package: MySQLi related
Bug Type: Bug
Bug description:missing mysql_stmt_get_result()
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 bug report at https://bugs.php.net/bug.php?id=61137&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61137&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61137&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61137&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61137&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61137&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61137&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61137&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61137&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61137&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61137&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61137&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61137&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61137&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61137&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61137&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61137&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61137&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61137&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61137&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61137&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61137&r=mysqlcfg
Thread (2 messages)
- yohgaki@php.net