#44468 [NEW]: PDO SQlite method bindParam doesn't work properly in foreach cycle
From: petr at hroch dot info Operating system: Linux Debian 4.0 Etch PHP version: 5.3CVS-2008-03-18 (snap) PHP Bug Type: PDO related Bug description: PDO SQlite method bindParam doesn't work properly in foreach cycle Description: PDO method bindParam doesn't work properly in foreach cycle Reproduce code: --- prepare($create_table_query)) { print_r($dbh->errorInfo()); exit; } if ($sth->execute()) { echo "Test table created successfully\n"; } $sth = null; //2. INSERT ONE RECORD TO THE TEST TABLE $insert_record_query = "insert into test (col1,col2,col3) values (:col1, :col2, :col3)"; if (!$sth = $dbh->prepare($insert_record_query)) { print_r($dbh->errorInfo()); exit; } //3. DATA BINDINGS $bindings[":col1"] = "test value in col 1"; $bindings[":col2"] = "test value in col 2"; $bindings[":col3"] = "test value in col 3"; foreach ($bindings as $var => $value) { echo "Binding data, $var => $value\n"; $sth->bindParam($var, $value); } if ($sth->execute()) { echo "Record inserted successfully\n"; } $sth = null; //4. DISPLAY TABLE RECORD $show_record_query = "select * from test"; if (!$sth = $dbh->prepare($show_record_query)) { print_r($dbh->errorInfo()); exit; } if ($sth->execute()) { print_r($sth->fetchAll(PDO::FETCH_ASSOC)); } $dbh = null; ?> Expected result: Test table created successfully Binding data, :col1 => test value in col 1 Binding data, :col2 => test value in col 2 Binding data, :col3 => test value in col 3 Record inserted successfully Array ( [0] => Array ( [col1] => test value in col 1 [col2] => test value in col 2 [col3] => test value in col 3 ) ) Actual result: -- Test table created successfully Binding data, :col1 => test value in col 1 Binding data, :col2 => test value in col 2 Binding data, :col3 => test value in col 3 Record inserted successfully Array ( [0] => Array ( [col1] => test value in col 3 [col2] => test value in col 3 [col3] => test value in col 3 ) ) -- Edit bug report at http://bugs.php.net/?id=44468&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44468&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44468&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44468&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44468&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44468&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44468&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=44468&r=needscript Try newer version:http://bugs.php.net/fix.php?id=44468&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44468&r=support Expected behavior:http://bugs.php.net/fix.php?id=44468&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44468&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44468&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44468&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44468&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44468&r=dst IIS Stability:http://bugs.php.net/fix.php?id=44468&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44468&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44468&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44468&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=44468&r=mysqlcfg
#44375 [Fbk->Opn]: LDAP extension load failed
ID: 44375 User updated by: petr at hroch dot info Reported By: petr at hroch dot info -Status: Feedback +Status: Open Bug Type: LDAP related Operating System: Linux Debian Etch 4.0 PHP Version: 5.3CVS-2008-03-08 (CVS) New Comment: 'make install' of what? I usualy build and install PHP core from source using configure, make, make install and than I externaly compile only usable extensions found in ext directory or from pecl source using phpize, configure, make, make install. Rebuilding fixed extensions separately It's faster for me then rebuild the whole source tree. Regards Petr Previous Comments: [2008-03-11 21:40:20] [EMAIL PROTECTED] Did you 'make install' before re-phpizing the ldap module? And why do do you phpize ldap anyway, it's stock extension, just build it as static into the PHP.. ---- [2008-03-10 12:17:50] petr at hroch dot info I've found that this problem occures only if LDAP extension is compiled externaly using phpize. If it's compiled together with php core using general configure script, extension works fine. I don't know where might be a problem. Petr [2008-03-10 12:01:31] [EMAIL PROTECTED] Odd... Compile with success here. ---------------- [2008-03-10 09:19:20] petr at hroch dot info Hi, problem still remains. Compiled PHP from source http://snaps.php.net/php5.3-latest.tar.gz php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/ldap.so' - /usr/local/php/lib/php/extensions/ldap.so: undefined symbol: third_arg_force_ref in Unknown on line 0 [PHP Modules] calendar ctype date dom ereg filter hash iconv json libxml openssl pcntl pcre PDO pdo_sqlite posix Reflection session SimpleXML sockets SPL SQLite standard sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter zlib [Zend Modules] In PHP 5.2.5 everything works fine. Regards Petr [2008-03-08 20:49:43] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.3-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.3-win32-installer-latest.msi Hello, with a new checkout it works fine for me. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/44375 -- Edit this bug report at http://bugs.php.net/?id=44375&edit=1
#44372 [Opn]: Extension compile failed
ID: 44372 User updated by: petr at hroch dot info Reported By: petr at hroch dot info Status: Open Bug Type: OCI8 related Operating System: Linux Debian Etch 4.0 PHP Version: 5.3CVS-2008-03-08 (snap) New Comment: To your previous comment: Extension was compiled externaly using phpize. P. Previous Comments: [2008-03-11 12:38:46] petr at hroch dot info This line oci8.c:1381: error: too many arguments to function 'OCIPing' causes the problem. I tryied to remove one argument from the OCIPing function arguments than extension compiled successfully, but I'm only guessing. Petr [2008-03-10 23:36:05] [EMAIL PROTECTED] Let me re-open this since I think I can guess what the problem is and will fix it. Note to original poster: without any information about how you were building PHP, I can only hope my guess about your problem is right. [2008-03-08 22:18:33] [EMAIL PROTECTED] Pleas report issues with the pecl version on the pecl site. [2008-03-08 12:53:48] petr at hroch dot info Description: Extension compile failed using latest cvs snapshot Actual result: -- sit:/usr/install/src/oci8-1.3.1# make /bin/sh /usr/install/src/oci8-1.3.1/libtool --mode=compile gcc -I. -I/usr/install/src/oci8-1.3.1 -DPHP_ATOM_INC -I/usr/install/src/oci8-1.3.1/include -I/usr/install/src/oci8-1.3.1/main -I/usr/install/src/oci8-1.3.1 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/oracle/home1/rdbms/public -I/usr/local/oracle/home1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/oci8-1.3.1/oci8.c -o oci8.lo mkdir .libs gcc -I. -I/usr/install/src/oci8-1.3.1 -DPHP_ATOM_INC -I/usr/install/src/oci8-1.3.1/include -I/usr/install/src/oci8-1.3.1/main -I/usr/install/src/oci8-1.3.1 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/oracle/home1/rdbms/public -I/usr/local/oracle/home1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/oci8-1.3.1/oci8.c -fPIC -DPIC -o .libs/oci8.o /usr/install/src/oci8-1.3.1/oci8.c: In function 'php_oci_do_connect_ex': /usr/install/src/oci8-1.3.1/oci8.c:1150: warning: cast from pointer to integer of different size /usr/install/src/oci8-1.3.1/oci8.c:1346: warning: cast to pointer from integer of different size /usr/install/src/oci8-1.3.1/oci8.c: In function 'php_oci_connection_ping': /usr/install/src/oci8-1.3.1/oci8.c:1381: error: too many arguments to function 'OCIPing' make: *** [oci8.lo] Error 1 -- Edit this bug report at http://bugs.php.net/?id=44372&edit=1
#44372 [Opn]: Extension compile failed
ID: 44372 User updated by: petr at hroch dot info Reported By: petr at hroch dot info Status: Open Bug Type: OCI8 related Operating System: Linux Debian Etch 4.0 PHP Version: 5.3CVS-2008-03-08 (snap) New Comment: This line oci8.c:1381: error: too many arguments to function 'OCIPing' causes the problem. I tryied to remove one argument from the OCIPing function arguments than extension compiled successfully, but I'm only guessing. Petr Previous Comments: [2008-03-10 23:36:05] [EMAIL PROTECTED] Let me re-open this since I think I can guess what the problem is and will fix it. Note to original poster: without any information about how you were building PHP, I can only hope my guess about your problem is right. [2008-03-08 22:18:33] [EMAIL PROTECTED] Pleas report issues with the pecl version on the pecl site. [2008-03-08 12:53:48] petr at hroch dot info Description: Extension compile failed using latest cvs snapshot Actual result: -- sit:/usr/install/src/oci8-1.3.1# make /bin/sh /usr/install/src/oci8-1.3.1/libtool --mode=compile gcc -I. -I/usr/install/src/oci8-1.3.1 -DPHP_ATOM_INC -I/usr/install/src/oci8-1.3.1/include -I/usr/install/src/oci8-1.3.1/main -I/usr/install/src/oci8-1.3.1 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/oracle/home1/rdbms/public -I/usr/local/oracle/home1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/oci8-1.3.1/oci8.c -o oci8.lo mkdir .libs gcc -I. -I/usr/install/src/oci8-1.3.1 -DPHP_ATOM_INC -I/usr/install/src/oci8-1.3.1/include -I/usr/install/src/oci8-1.3.1/main -I/usr/install/src/oci8-1.3.1 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/oracle/home1/rdbms/public -I/usr/local/oracle/home1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/oci8-1.3.1/oci8.c -fPIC -DPIC -o .libs/oci8.o /usr/install/src/oci8-1.3.1/oci8.c: In function 'php_oci_do_connect_ex': /usr/install/src/oci8-1.3.1/oci8.c:1150: warning: cast from pointer to integer of different size /usr/install/src/oci8-1.3.1/oci8.c:1346: warning: cast to pointer from integer of different size /usr/install/src/oci8-1.3.1/oci8.c: In function 'php_oci_connection_ping': /usr/install/src/oci8-1.3.1/oci8.c:1381: error: too many arguments to function 'OCIPing' make: *** [oci8.lo] Error 1 -- Edit this bug report at http://bugs.php.net/?id=44372&edit=1
#44375 [Opn]: LDAP extension load failed
ID: 44375 User updated by: petr at hroch dot info Reported By: petr at hroch dot info Status: Open Bug Type: LDAP related Operating System: Linux Debian Etch 4.0 PHP Version: 5.3CVS-2008-03-08 (CVS) New Comment: I've found that this problem occures only if LDAP extension is compiled externaly using phpize. If it's compiled together with php core using general configure script, extension works fine. I don't know where might be a problem. Petr Previous Comments: [2008-03-10 12:01:31] [EMAIL PROTECTED] Odd... Compile with success here. [2008-03-10 09:19:20] petr at hroch dot info Hi, problem still remains. Compiled PHP from source http://snaps.php.net/php5.3-latest.tar.gz php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/ldap.so' - /usr/local/php/lib/php/extensions/ldap.so: undefined symbol: third_arg_force_ref in Unknown on line 0 [PHP Modules] calendar ctype date dom ereg filter hash iconv json libxml openssl pcntl pcre PDO pdo_sqlite posix Reflection session SimpleXML sockets SPL SQLite standard sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter zlib [Zend Modules] In PHP 5.2.5 everything works fine. Regards Petr ---- [2008-03-09 21:38:15] petr at hroch dot info I'll try it on Monday morning and let you know. Thanks Regards Petr [2008-03-08 20:49:43] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.3-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.3-win32-installer-latest.msi Hello, with a new checkout it works fine for me. ---- [2008-03-08 14:49:15] petr at hroch dot info Correction for my previous post: php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/ldap.so' - /usr/local/php/lib/php/extensions/ldap.so: undefined symbol: third_arg_force_ref in Unknown on line 0 The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/44375 -- Edit this bug report at http://bugs.php.net/?id=44375&edit=1
#44375 [Opn]: LDAP extension load failed
ID: 44375 User updated by: petr at hroch dot info Reported By: petr at hroch dot info Status: Open Bug Type: LDAP related Operating System: Linux Debian Etch 4.0 PHP Version: 5.3CVS-2008-03-08 (CVS) New Comment: Hi, problem still remains. Compiled PHP from source http://snaps.php.net/php5.3-latest.tar.gz php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/ldap.so' - /usr/local/php/lib/php/extensions/ldap.so: undefined symbol: third_arg_force_ref in Unknown on line 0 [PHP Modules] calendar ctype date dom ereg filter hash iconv json libxml openssl pcntl pcre PDO pdo_sqlite posix Reflection session SimpleXML sockets SPL SQLite standard sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter zlib [Zend Modules] In PHP 5.2.5 everything works fine. Regards Petr Previous Comments: [2008-03-09 21:38:15] petr at hroch dot info I'll try it on Monday morning and let you know. Thanks Regards Petr [2008-03-08 20:49:43] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.3-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.3-win32-installer-latest.msi Hello, with a new checkout it works fine for me. [2008-03-08 14:49:15] petr at hroch dot info Correction for my previous post: php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/ldap.so' - /usr/local/php/lib/php/extensions/ldap.so: undefined symbol: third_arg_force_ref in Unknown on line 0 ---- [2008-03-08 14:44:12] petr at hroch dot info Description: LDAP extension load failed, compiled from latest cvs snapshot Actual result: -- php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/mbstring.so' - /usr/local/php/lib/php/extensions/mbstring.so: undefined symbol: second_arg_force_ref in Unknown on line 0 -- Edit this bug report at http://bugs.php.net/?id=44375&edit=1
#44376 [Fbk->Opn]: MBstring extension load failed
ID: 44376 User updated by: petr at hroch dot info Reported By: petr at hroch dot info -Status: Feedback +Status: Open Bug Type: mbstring related Operating System: Linux Debian Etch 4.0 PHP Version: 5.3CVS-2008-03-08 (snap) New Comment: Ok. I'll recheck it on Monday morning and let you know. Regards Petr Previous Comments: [2008-03-08 22:15:15] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.3-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.3-win32-installer-latest.msi looks like you're using an extension from another PHP version or similar. Please check that you're not mixing different versions... [2008-03-08 19:20:07] [EMAIL PROTECTED] Works fine here... [2008-03-08 14:50:05] petr at hroch dot info Description: MBstring extension load failed, compiled from latest cvs snapshot Actual result: -- php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/mbstring.so' - /usr/local/php/lib/php/extensions/mbstring.so: undefined symbol: second_arg_force_ref in Unknown on line 0 -- Edit this bug report at http://bugs.php.net/?id=44376&edit=1
#44375 [Fbk->Opn]: LDAP extension load failed
ID: 44375 User updated by: petr at hroch dot info Reported By: petr at hroch dot info -Status: Feedback +Status: Open Bug Type: LDAP related Operating System: Linux Debian Etch 4.0 PHP Version: 5.3CVS-2008-03-08 (CVS) New Comment: I'll try it on Monday morning and let you know. Thanks Regards Petr Previous Comments: [2008-03-08 20:49:43] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.3-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.3-win32-installer-latest.msi Hello, with a new checkout it works fine for me. [2008-03-08 14:49:15] petr at hroch dot info Correction for my previous post: php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/ldap.so' - /usr/local/php/lib/php/extensions/ldap.so: undefined symbol: third_arg_force_ref in Unknown on line 0 [2008-03-08 14:44:12] petr at hroch dot info Description: LDAP extension load failed, compiled from latest cvs snapshot Actual result: -- php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/mbstring.so' - /usr/local/php/lib/php/extensions/mbstring.so: undefined symbol: second_arg_force_ref in Unknown on line 0 -- Edit this bug report at http://bugs.php.net/?id=44375&edit=1
#44376 [NEW]: MBstring extension load failed
From: petr at hroch dot info Operating system: Linux Debian Etch 4.0 PHP version: 5.3CVS-2008-03-08 (snap) PHP Bug Type: mbstring related Bug description: MBstring extension load failed Description: MBstring extension load failed, compiled from latest cvs snapshot Actual result: -- php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/mbstring.so' - /usr/local/php/lib/php/extensions/mbstring.so: undefined symbol: second_arg_force_ref in Unknown on line 0 -- Edit bug report at http://bugs.php.net/?id=44376&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44376&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44376&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44376&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44376&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44376&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44376&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=44376&r=needscript Try newer version:http://bugs.php.net/fix.php?id=44376&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44376&r=support Expected behavior:http://bugs.php.net/fix.php?id=44376&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44376&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44376&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44376&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44376&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44376&r=dst IIS Stability:http://bugs.php.net/fix.php?id=44376&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44376&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44376&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44376&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=44376&r=mysqlcfg
#44375 [Opn]: LDAP extension load failed
ID: 44375 User updated by: petr at hroch dot info Reported By: petr at hroch dot info Status: Open Bug Type: LDAP related Operating System: Linux Debian Etch 4.0 PHP Version: 5.3CVS-2008-03-08 (CVS) New Comment: Correction for my previous post: php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/ldap.so' - /usr/local/php/lib/php/extensions/ldap.so: undefined symbol: third_arg_force_ref in Unknown on line 0 Previous Comments: [2008-03-08 14:44:12] petr at hroch dot info Description: LDAP extension load failed, compiled from latest cvs snapshot Actual result: -- php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/mbstring.so' - /usr/local/php/lib/php/extensions/mbstring.so: undefined symbol: second_arg_force_ref in Unknown on line 0 -- Edit this bug report at http://bugs.php.net/?id=44375&edit=1
#44375 [NEW]: LDAP extension load failed
From: petr at hroch dot info Operating system: Linux Debian Etch 4.0 PHP version: 5.3CVS-2008-03-08 (CVS) PHP Bug Type: LDAP related Bug description: LDAP extension load failed Description: LDAP extension load failed, compiled from latest cvs snapshot Actual result: -- php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/mbstring.so' - /usr/local/php/lib/php/extensions/mbstring.so: undefined symbol: second_arg_force_ref in Unknown on line 0 -- Edit bug report at http://bugs.php.net/?id=44375&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44375&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44375&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44375&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44375&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44375&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44375&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=44375&r=needscript Try newer version:http://bugs.php.net/fix.php?id=44375&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44375&r=support Expected behavior:http://bugs.php.net/fix.php?id=44375&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44375&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44375&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44375&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44375&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44375&r=dst IIS Stability:http://bugs.php.net/fix.php?id=44375&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44375&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44375&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44375&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=44375&r=mysqlcfg
#44371 [Opn]: Extension compile failed
ID: 44371 User updated by: petr at hroch dot info Reported By: petr at hroch dot info Status: Open Bug Type: MySQLi related Operating System: Linux Debian Etch 4.0 PHP Version: 5.3CVS-2008-03-08 (snap) New Comment: Fix for my previous comment --- Temporary workaround: Open file ext/mysqli/mysqli_structs.h change line 45: #include "ext/mysqli/mysqli_libmysql.h" to: #include "mysqli_libmysql.h" After that extension compiled successfully. Regards Petr Previous Comments: [2008-03-08 14:17:38] petr at hroch dot info Temporary workaround: Open file ext/mysqli/mysqli_structs.h change line 45: #include "ext/mysqli/mysqli_libmysql.h" to: #include "mysqli/mysqli_libmysql.h" After that extension compiled successfully. Regards Petr -------- [2008-03-08 12:34:43] petr at hroch dot info Description: Extension compile failed using latest snaphshot Actual result: -- sit:/usr/install/src/php5.3-dev/ext/mysqli# make /bin/sh /usr/install/src/php5.3-dev/ext/mysqli/libtool --mode=compile gcc -I. -I/usr/install/src/php5.3-dev/ext/mysqli -DPHP_ATOM_INC -I/usr/install/src/php5.3-dev/ext/mysqli/include -I/usr/install/src/php5.3-dev/ext/mysqli/main -I/usr/install/src/php5.3-dev/ext/mysqli -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/include/mysql -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c -o mysqli.lo mkdir .libs gcc -I. -I/usr/install/src/php5.3-dev/ext/mysqli -DPHP_ATOM_INC -I/usr/install/src/php5.3-dev/ext/mysqli/include -I/usr/install/src/php5.3-dev/ext/mysqli/main -I/usr/install/src/php5.3-dev/ext/mysqli -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/include/mysql -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c -fPIC -DPIC -o .libs/mysqli.o In file included from /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:31: /usr/install/src/php5.3-dev/ext/mysqli/php_mysqli_structs.h:45:40: error: ext/mysqli/mysqli_libmysql.h: No such file or directory /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c: In function 'php_mysqli_dtor_p_elements': /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error: 'MYSQLI_CLOSE_IMPLICIT' undeclared (first use in this function) /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error: (Each undeclared identifier is reported only once /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error: for each function it appears in.) /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c: In function 'mysqli_link_free_storage': /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:212: error: 'MYSQLI_CLOSE_IMPLICIT' undeclared (first use in this function) make: *** [mysqli.lo] Error 1 -- Edit this bug report at http://bugs.php.net/?id=44371&edit=1
#44371 [Opn]: Extension compile failed
ID: 44371 User updated by: petr at hroch dot info Reported By: petr at hroch dot info Status: Open Bug Type: MySQLi related Operating System: Linux Debian Etch 4.0 PHP Version: 5.3CVS-2008-03-08 (snap) New Comment: Temporary workaround: Open file ext/mysqli/mysqli_structs.h change line 45: #include "ext/mysqli/mysqli_libmysql.h" to: #include "mysqli/mysqli_libmysql.h" After that extension compiled successfully. Regards Petr Previous Comments: [2008-03-08 12:34:43] petr at hroch dot info Description: Extension compile failed using latest snaphshot Actual result: -- sit:/usr/install/src/php5.3-dev/ext/mysqli# make /bin/sh /usr/install/src/php5.3-dev/ext/mysqli/libtool --mode=compile gcc -I. -I/usr/install/src/php5.3-dev/ext/mysqli -DPHP_ATOM_INC -I/usr/install/src/php5.3-dev/ext/mysqli/include -I/usr/install/src/php5.3-dev/ext/mysqli/main -I/usr/install/src/php5.3-dev/ext/mysqli -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/include/mysql -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c -o mysqli.lo mkdir .libs gcc -I. -I/usr/install/src/php5.3-dev/ext/mysqli -DPHP_ATOM_INC -I/usr/install/src/php5.3-dev/ext/mysqli/include -I/usr/install/src/php5.3-dev/ext/mysqli/main -I/usr/install/src/php5.3-dev/ext/mysqli -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/include/mysql -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c -fPIC -DPIC -o .libs/mysqli.o In file included from /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:31: /usr/install/src/php5.3-dev/ext/mysqli/php_mysqli_structs.h:45:40: error: ext/mysqli/mysqli_libmysql.h: No such file or directory /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c: In function 'php_mysqli_dtor_p_elements': /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error: 'MYSQLI_CLOSE_IMPLICIT' undeclared (first use in this function) /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error: (Each undeclared identifier is reported only once /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error: for each function it appears in.) /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c: In function 'mysqli_link_free_storage': /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:212: error: 'MYSQLI_CLOSE_IMPLICIT' undeclared (first use in this function) make: *** [mysqli.lo] Error 1 -- Edit this bug report at http://bugs.php.net/?id=44371&edit=1
#44373 [NEW]: PDO_OCI extension compile failed
From: petr at hroch dot info Operating system: Linux Debian Etch 4.0 PHP version: 5.3CVS-2008-03-08 (snap) PHP Bug Type: PDO related Bug description: PDO_OCI extension compile failed Description: PDO_OCI extension compile failed Reproduce code: --- Temporary workaround: 1. phpize 2. ./configure 3. open generated config.h Change line with #define PHP_PDO_OCI_CLIENT_VERSION "10.1" to #define PHP_PDO_OCI_CLIENT_VERSION '10.1' 4. make Hope it helps Regards Petr Actual result: -- sit:/usr/install/src/php5.3-dev/ext/pdo_oci# make /bin/sh /usr/install/src/php5.3-dev/ext/pdo_oci/libtool --mode=compile gcc -I/usr/local/php/include/php/ext -I. -I/usr/install/src/php5.3-dev/ext/pdo_oci -DPHP_ATOM_INC -I/usr/install/src/php5.3-dev/ext/pdo_oci/include -I/usr/install/src/php5.3-dev/ext/pdo_oci/main -I/usr/install/src/php5.3-dev/ext/pdo_oci -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/oracle/home1/rdbms/public -I/usr/local/oracle/home1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/php5.3-dev/ext/pdo_oci/pdo_oci.c -o pdo_oci.lo mkdir .libs gcc -I/usr/local/php/include/php/ext -I. -I/usr/install/src/php5.3-dev/ext/pdo_oci -DPHP_ATOM_INC -I/usr/install/src/php5.3-dev/ext/pdo_oci/include -I/usr/install/src/php5.3-dev/ext/pdo_oci/main -I/usr/install/src/php5.3-dev/ext/pdo_oci -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/oracle/home1/rdbms/public -I/usr/local/oracle/home1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/php5.3-dev/ext/pdo_oci/pdo_oci.c -fPIC -DPIC -o .libs/pdo_oci.o /bin/sh /usr/install/src/php5.3-dev/ext/pdo_oci/libtool --mode=compile gcc -I/usr/local/php/include/php/ext -I. -I/usr/install/src/php5.3-dev/ext/pdo_oci -DPHP_ATOM_INC -I/usr/install/src/php5.3-dev/ext/pdo_oci/include -I/usr/install/src/php5.3-dev/ext/pdo_oci/main -I/usr/install/src/php5.3-dev/ext/pdo_oci -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/oracle/home1/rdbms/public -I/usr/local/oracle/home1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/php5.3-dev/ext/pdo_oci/oci_driver.c -o oci_driver.lo gcc -I/usr/local/php/include/php/ext -I. -I/usr/install/src/php5.3-dev/ext/pdo_oci -DPHP_ATOM_INC -I/usr/install/src/php5.3-dev/ext/pdo_oci/include -I/usr/install/src/php5.3-dev/ext/pdo_oci/main -I/usr/install/src/php5.3-dev/ext/pdo_oci -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/oracle/home1/rdbms/public -I/usr/local/oracle/home1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/php5.3-dev/ext/pdo_oci/oci_driver.c -fPIC -DPIC -o .libs/oci_driver.o /usr/install/src/php5.3-dev/ext/pdo_oci/oci_driver.c:497:7: error: token ""10.1"" is not valid in preprocessor expressions make: *** [oci_driver.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=44373&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44373&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44373&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44373&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44373&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44373&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44373&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=44373&r=needscript Try newer version:http://bugs.php.net/fix.php?id=44373&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44373&r=support Expected behavior:http://bugs.php.net/fix.php?id=44373&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44373&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44373&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44373&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44373&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44373&r=dst IIS Stability:http://bugs.php.net/fix.php?id=44373&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44373&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=443
#44372 [NEW]: Extension compile failed
From: petr at hroch dot info Operating system: Linux Debian Etch 4.0 PHP version: 5.3CVS-2008-03-08 (snap) PHP Bug Type: OCI8 related Bug description: Extension compile failed Description: Extension compile failed using latest cvs snapshot Actual result: -- sit:/usr/install/src/oci8-1.3.1# make /bin/sh /usr/install/src/oci8-1.3.1/libtool --mode=compile gcc -I. -I/usr/install/src/oci8-1.3.1 -DPHP_ATOM_INC -I/usr/install/src/oci8-1.3.1/include -I/usr/install/src/oci8-1.3.1/main -I/usr/install/src/oci8-1.3.1 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/oracle/home1/rdbms/public -I/usr/local/oracle/home1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/oci8-1.3.1/oci8.c -o oci8.lo mkdir .libs gcc -I. -I/usr/install/src/oci8-1.3.1 -DPHP_ATOM_INC -I/usr/install/src/oci8-1.3.1/include -I/usr/install/src/oci8-1.3.1/main -I/usr/install/src/oci8-1.3.1 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/oracle/home1/rdbms/public -I/usr/local/oracle/home1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/oci8-1.3.1/oci8.c -fPIC -DPIC -o .libs/oci8.o /usr/install/src/oci8-1.3.1/oci8.c: In function 'php_oci_do_connect_ex': /usr/install/src/oci8-1.3.1/oci8.c:1150: warning: cast from pointer to integer of different size /usr/install/src/oci8-1.3.1/oci8.c:1346: warning: cast to pointer from integer of different size /usr/install/src/oci8-1.3.1/oci8.c: In function 'php_oci_connection_ping': /usr/install/src/oci8-1.3.1/oci8.c:1381: error: too many arguments to function 'OCIPing' make: *** [oci8.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=44372&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44372&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44372&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44372&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44372&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44372&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44372&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=44372&r=needscript Try newer version:http://bugs.php.net/fix.php?id=44372&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44372&r=support Expected behavior:http://bugs.php.net/fix.php?id=44372&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44372&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44372&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44372&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44372&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44372&r=dst IIS Stability:http://bugs.php.net/fix.php?id=44372&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44372&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44372&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44372&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=44372&r=mysqlcfg
#44371 [NEW]: Extension compile failed
From: petr at hroch dot info Operating system: Linux Debian Etch 4.0 PHP version: 5.3CVS-2008-03-08 (snap) PHP Bug Type: MySQLi related Bug description: Extension compile failed Description: Extension compile failed using latest snaphshot Actual result: -- sit:/usr/install/src/php5.3-dev/ext/mysqli# make /bin/sh /usr/install/src/php5.3-dev/ext/mysqli/libtool --mode=compile gcc -I. -I/usr/install/src/php5.3-dev/ext/mysqli -DPHP_ATOM_INC -I/usr/install/src/php5.3-dev/ext/mysqli/include -I/usr/install/src/php5.3-dev/ext/mysqli/main -I/usr/install/src/php5.3-dev/ext/mysqli -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/include/mysql -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c -o mysqli.lo mkdir .libs gcc -I. -I/usr/install/src/php5.3-dev/ext/mysqli -DPHP_ATOM_INC -I/usr/install/src/php5.3-dev/ext/mysqli/include -I/usr/install/src/php5.3-dev/ext/mysqli/main -I/usr/install/src/php5.3-dev/ext/mysqli -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/include/mysql -DHAVE_CONFIG_H -g -O2 -c /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c -fPIC -DPIC -o .libs/mysqli.o In file included from /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:31: /usr/install/src/php5.3-dev/ext/mysqli/php_mysqli_structs.h:45:40: error: ext/mysqli/mysqli_libmysql.h: No such file or directory /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c: In function 'php_mysqli_dtor_p_elements': /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error: 'MYSQLI_CLOSE_IMPLICIT' undeclared (first use in this function) /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error: (Each undeclared identifier is reported only once /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error: for each function it appears in.) /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c: In function 'mysqli_link_free_storage': /usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:212: error: 'MYSQLI_CLOSE_IMPLICIT' undeclared (first use in this function) make: *** [mysqli.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=44371&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44371&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44371&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44371&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44371&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44371&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44371&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=44371&r=needscript Try newer version:http://bugs.php.net/fix.php?id=44371&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44371&r=support Expected behavior:http://bugs.php.net/fix.php?id=44371&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44371&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44371&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44371&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44371&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44371&r=dst IIS Stability:http://bugs.php.net/fix.php?id=44371&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44371&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44371&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44371&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=44371&r=mysqlcfg
#44226 [Com]: Throwing an exception causes crash
ID: 44226 Comment by: petr at hroch dot info Reported By: james dot j dot hackett at gmail dot com Status: Open Bug Type: Reproducible crash Operating System: linux debian 2.6.18-5-686 PHP Version: 5.3CVS-2008-02-23 (snap) New Comment: Hi, I'm experiencing the same problem on Windows platform. Throwing an Exception causes PHP to crash. Using PHP5.3-dev latest snapshot, running as Apache 2.2.8 module. Regards Petr Previous Comments: [2008-02-26 00:26:03] james dot j dot hackett at gmail dot com There was no change when using the latest snapshot. I used a configure of "./configure --with-apxs2=/usr/bin/apxs2". I am able to run 5.2.5 with no problems. [2008-02-24 19:50:01] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.3-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.3-win32-installer-latest.msi Does not crash for me..please try the latest CVS snapshot. And if that fails, provide the configure line you used. [2008-02-23 14:44:12] james dot j dot hackett at gmail dot com Description: Throwing an exception causes a segmentation fault Reproduce code: --- getMessage(); } ?> Expected result: display "Hi, I am an Exception" Actual result: -- #0 0x in ?? () #1 0x2acf5c4008de in execute (op_array=0xa1af00, tsrm_ls=0xa00550) zend_vm_execute.h:91 #2 0x2acf5c3db6aa in zend_execute_scripts (type=8, tsrm_ls=0xa00550, retval=0xa98be8, file_count=3) zend.c:1173 #3 0x2acf5c38ba36 in php_execute_script (primary_file=0x4700cf40, tsrm_ls=0xa00550) main.c:2026 #4 0x2acf5c474849 in php_handler (r=0x9fa5b8) sapi_apache2.c:629 #5 0x00437c4a in ap_run_handler () #6 0x0043affc in ap_invoke_handler () #7 0x00447248 in ap_process_request () #8 0x0044468c in ?? () #9 0x0043ec22 in ap_run_process_connection () #10 0x0044b696 in ?? () #11 0x2acf57bbd317 in start_thread () from /lib/libpthread.so.0 #12 0x2acf580a9d5d in clone () from /lib/libc.so.6 #13 0x in ?? () -- Edit this bug report at http://bugs.php.net/?id=44226&edit=1
#44019 [Asn]: Quoted strings in parse_ini_file function are not handled properly
ID: 44019 User updated by: petr at hroch dot info Reported By: petr at hroch dot info Status: Assigned Bug Type: Filesystem function related Operating System: * PHP Version: 5.3CVS-2008-02-01 (snap) Assigned To: jani New Comment: I've used this syntax in 5.x versions till now. I got most suggestions and ideas from official documentation and comment discussion http://php.net/manual/en/function.parse-ini-file.php Maybe it's good idea to post there the new syntax usage change for versions >= 5.3 before it's officially changed in documentation on php5.3 stable release. Regards Petr Previous Comments: [2008-02-04 10:48:30] [EMAIL PROTECTED] Ah, now I see. I didn't have any machine to test with during the weekend so I got it wrong way. :D In 5.3 the ini parsing has been improved, and along the line I broke some old stuff which I actually didn't think anyone relied upon. I have to investigate and check if it's possible even to keep this old (and bad) syntax. Is it even documented anywhere? -------- [2008-02-03 15:26:07] petr at hroch dot info Hello Jani, Before I've submited this bug, I've tested this feature in php-5.2.5 where line foo=FOO"barian" returns [foo] => barbarian so it works gracefully, in php5.3-dev it doesn't. In my example FOO is a constant defined before parse_ini_file function. In your example $FOO is undefined global variable isn't it? Anyway changing ini file using your way doesn't work as expected, even if there's no $FOO definition I should be expecting that foo="{$FOO}barian" returns [foo] => barian not [foo] => FOO}barian modified Test.ini using Jani's solution - [Topic] number=1 string="test" foo="{$FOO}barian" PHP code: Expected result: Array ( [Topic] => Array ( [number] => 1 [string] => test [foo] => barbarian ) ) Actual Result: -- Array ( [Topic] => Array ( [number] => 1 [string] => test [foo] => FOO}barian ) ) I Hope it helps. Best regards Petr [2008-02-02 20:22:34] [EMAIL PROTECTED] Where did you get the idea that that should work in the first place? The correct way: foo="{$FOO}barian" [2008-02-01 23:15:50] petr at hroch dot info Description: Quoted strings in parse_ini_file function are not handled properly Tested on Windows XP SP2 php5.3-dev running as apache 2.2.6 module possibly not working on the other operation systems I've searched the web and I've found the same problem already described php6.0-dev snapshot http://groups.google.pl/group/mailing.www.php-dev/msg/e5b4b179d4d3ce15 Reproduce code: --- Ini file test.ini content: -- [Topic] number=1 string="test" foo=FOO"barian" PHP code test.php: -- Expected result: Array ( [Topic] => Array ( [number] => 1 [string] => test [foo] => barbarian ) ) Actual result: -- Warning: syntax error, unexpected TC_QUOTED_STRING in test.ini on line 3 in D:\htdocs\test.php on line 3 Array ( ) -- Edit this bug report at http://bugs.php.net/?id=44019&edit=1
#44019 [Fbk->Opn]: Quoted strings in parse_ini_file function are not handled properly
ID: 44019 User updated by: petr at hroch dot info Reported By: petr at hroch dot info -Status: Feedback +Status: Open Bug Type: Filesystem function related Operating System: * PHP Version: 5.3CVS-2008-02-01 (snap) New Comment: Hello Jani, Before I've submited this bug, I've tested this feature in php-5.2.5 where line foo=FOO"barian" returns [foo] => barbarian so it works gracefully, in php5.3-dev it doesn't. In my example FOO is a constant defined before parse_ini_file function. In your example $FOO is undefined global variable isn't it? Anyway changing ini file using your way doesn't work as expected, even if there's no $FOO definition I should be expecting that foo="{$FOO}barian" returns [foo] => barian not [foo] => FOO}barian modified Test.ini using Jani's solution - [Topic] number=1 string="test" foo="{$FOO}barian" PHP code: Expected result: Array ( [Topic] => Array ( [number] => 1 [string] => test [foo] => barbarian ) ) Actual Result: -- Array ( [Topic] => Array ( [number] => 1 [string] => test [foo] => FOO}barian ) ) I Hope it helps. Best regards Petr Previous Comments: [2008-02-02 20:22:34] [EMAIL PROTECTED] Where did you get the idea that that should work in the first place? The correct way: foo="{$FOO}barian" [2008-02-01 23:15:50] petr at hroch dot info Description: Quoted strings in parse_ini_file function are not handled properly Tested on Windows XP SP2 php5.3-dev running as apache 2.2.6 module possibly not working on the other operation systems I've searched the web and I've found the same problem already described php6.0-dev snapshot http://groups.google.pl/group/mailing.www.php-dev/msg/e5b4b179d4d3ce15 Reproduce code: --- Ini file test.ini content: -- [Topic] number=1 string="test" foo=FOO"barian" PHP code test.php: -- Expected result: Array ( [Topic] => Array ( [number] => 1 [string] => test [foo] => barbarian ) ) Actual result: -- Warning: syntax error, unexpected TC_QUOTED_STRING in test.ini on line 3 in D:\htdocs\test.php on line 3 Array ( ) -- Edit this bug report at http://bugs.php.net/?id=44019&edit=1
#44019 [NEW]: Quoted strings in parse_ini_file function are not handled properly
From: petr at hroch dot info Operating system: * PHP version: 5.3CVS-2008-02-01 (snap) PHP Bug Type: Filesystem function related Bug description: Quoted strings in parse_ini_file function are not handled properly Description: Quoted strings in parse_ini_file function are not handled properly Tested on Windows XP SP2 php5.3-dev running as apache 2.2.6 module possibly not working on the other operation systems I've searched the web and I've found the same problem already described php6.0-dev snapshot http://groups.google.pl/group/mailing.www.php-dev/msg/e5b4b179d4d3ce15 Reproduce code: --- Ini file test.ini content: -- [Topic] number=1 string="test" foo=FOO"barian" PHP code test.php: -- Expected result: Array ( [Topic] => Array ( [number] => 1 [string] => test [foo] => barbarian ) ) Actual result: -- Warning: syntax error, unexpected TC_QUOTED_STRING in test.ini on line 3 in D:\htdocs\test.php on line 3 Array ( ) -- Edit bug report at http://bugs.php.net/?id=44019&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=44019&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44019&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44019&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44019&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44019&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44019&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44019&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=44019&r=needscript Try newer version:http://bugs.php.net/fix.php?id=44019&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44019&r=support Expected behavior:http://bugs.php.net/fix.php?id=44019&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44019&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44019&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44019&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=44019&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=44019&r=dst IIS Stability:http://bugs.php.net/fix.php?id=44019&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44019&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44019&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44019&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=44019&r=mysqlcfg