ID: 38740 Updated by: [EMAIL PROTECTED] Reported By: dave at psntn dot com -Status: Open +Status: Assigned Bug Type: MySQLi related Operating System: Linux (SUSE 9.3) PHP Version: 6CVS-2006-09-07 (CVS) -Assigned To: +Assigned To: georg New Comment:
>This might be due to the extension not having been upgraded for unicode Yes. Assigned to the maintainer. Previous Comments: ------------------------------------------------------------------------ [2006-09-07 10:50:42] dave at psntn dot com Description: ------------ When using PHP6.0.0-dev (checked out from CVS, updated in the last 20 mins) the $errno property of mysqli_stmt is not defined. This only happens when unicode.semantics = on. This might be due to the extension not having been upgraded for unicode but I can't quickly find any list of the status of the various extensions. PHP Configure statement: ./configure --prefix=/srv/httpd/php6/php6 --with-apxs2=/srv/httpd/php6/httpd/bin/apxs --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql=/usr/local/mysql --with-pear --with-gd --with-png-dir=/usr --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png --with-zlib-dir=/usr --enable-sockets --with-bz2 --with-dom --with-ftp --with-pdf --with-cpdf --with-sqlite --with-freetype-dir=/usr --enable-bcmath --with-tiff-dir=/usr --enable-exif --enable-simplexml --enable-soap --with-zip --enable-mbstring --enable-mbstr-enc-trans --disable-mbregex --with-curl --with-pdo --with-pdo_mysql=/usr/local/mysql/bin/mysql_config php.ini: unicode.semantics = on Reproduce code: --------------- http://php4.david-salisbury.co.uk/mysqli.phps Expected result: ---------------- unicode.semantics = off // just to show unicode semantics status Error code for insert of (1, 2, 3, 4): 0 Error code for insert of (1, 5, 6, 7): 1062 Actual result: -------------- unicode.semantics = on // just to show unicode semantics status Error code for insert of (1, 2, 3, 4): Notice: Undefined property: mysqli_stmt::$errno in /www/testingServer/php6test/mysqli.php on line 31 Error code for insert of (1, 5, 6, 7): Notice: Undefined property: mysqli_stmt::$errno in /www/testingServer/php6test/mysqli.php on line 41 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38740&edit=1