[PHP-CVS-DAILY] cvs: php-src / ChangeLog
changelog Mon Feb 25 01:31:38 2008 UTC Modified files: /php-srcChangeLog Log: ChangeLog update http://cvs.php.net/viewvc.cgi/php-src/ChangeLog?r1=1.2968r2=1.2969diff_format=u Index: php-src/ChangeLog diff -u php-src/ChangeLog:1.2968 php-src/ChangeLog:1.2969 --- php-src/ChangeLog:1.2968Sun Feb 24 01:31:31 2008 +++ php-src/ChangeLog Mon Feb 25 01:31:37 2008 @@ -1,3 +1,91 @@ +2008-02-24 Felipe Pena [EMAIL PROTECTED] + +* ext/filter/tests/053.phpt + ext/filter/tests/053.phpt: + New test + +* ext/filter/tests/053.phpt + ext/filter/tests/053.phpt + ext/filter/tests/053.phpt: +1.1.4; + file 053.phpt was initially added on branch PHP_5_2. + +* ext/filter/filter.c + ext/filter/filter.c: + MFB: Fixed segfault in filter extension when using callbacks. + +* (PHP_5_2) + NEWS + ext/filter/filter.c: + Fixed segfault in filter extension when using callbacks. (reported + patched by Arnar Mar Sig) + +* (PHP_5_3) + NEWS: + Entry existent in 5_2 + +2008-02-24 Ilia Alshanetsky [EMAIL PROTECTED] + +* (PHP_5_2) + NEWS + ext/pdo/pdo_stmt.c + ext/pdo/pdo_stmt.c: + + MFB: Fixed bug #44200 (A crash in PDO when no bound targets exists and yet + bound parameters are present) + +* (PHP_5_3) + ext/pdo/pdo_stmt.c: + + Fixed bug #44200 (A crash in PDO when no bound targets exists and yet + bound parameters are present) + +2008-02-24 Felipe Pena [EMAIL PROTECTED] + +* tests/strings/001.phpt: + Fix the fix + +* tests/strings/001.phpt: + Fix test + +* tests/classes/new_001.phpt + tests/lang/034.phpt + tests/lang/bug22231.phpt + tests/lang/bug30638.phpt: + Fixed tests (new error message - E_DEPRECATED) + +* ZendEngine2/tests/is_a.phpt + ZendEngine2/tests/magic_by_ref_010.phpt + ext/standard/tests/strings/implode1.phpt + ext/standard/tests/strings/moneyformat.phpt + tests/run-test/test005.phpt + tests/run-test/test008a.phpt: + Fixed tests + +* (PHP_5_3) + tests/run-test/test005.phpt + tests/run-test/test008a.phpt: + Fixed tests (new E_ALL value) + +* (PHP_5_3) + run-tests.php: + New E_ALL value + +* ext/standard/file.c + ext/standard/file.c: + Removed internal warning + +* (PHP_5_3) + ext/standard/tests/file/magic_quotes.phpt: + Fixed test + +* ext/standard/tests/strings/htmlentities02.phpt + ext/standard/tests/strings/htmlentities03.phpt + ext/standard/tests/strings/htmlentities04.phpt + ext/standard/tests/strings/htmlentities10.phpt + ext/standard/tests/strings/htmlentities15.phpt: + Added UEXPECTF + 2008-02-23 Felipe Pena [EMAIL PROTECTED] * ext/json/tests/bug41403.phpt
[PHP-CVS-DAILY] cvs: ZendEngine2 / ChangeLog
changelog Mon Feb 25 01:31:41 2008 UTC Modified files: /ZendEngine2ChangeLog Log: ChangeLog update http://cvs.php.net/viewvc.cgi/ZendEngine2/ChangeLog?r1=1.1248r2=1.1249diff_format=u Index: ZendEngine2/ChangeLog diff -u ZendEngine2/ChangeLog:1.1248 ZendEngine2/ChangeLog:1.1249 --- ZendEngine2/ChangeLog:1.1248Sun Feb 24 01:31:35 2008 +++ ZendEngine2/ChangeLog Mon Feb 25 01:31:41 2008 @@ -1,3 +1,9 @@ +2008-02-24 Felipe Pena [EMAIL PROTECTED] + +* tests/is_a.phpt + tests/magic_by_ref_010.phpt: + Fixed tests + 2008-02-23 Marcus Boerger [EMAIL PROTECTED] * zend_compile.c: @@ -21623,7 +21629,7 @@ 2003-06-10 Jani Taskinen [EMAIL PROTECTED] * zend_multiply.h: - - Missing $Id: ChangeLog,v 1.1248 2008/02/24 01:31:35 changelog Exp $ tag + - Missing $Id: ChangeLog,v 1.1249 2008/02/25 01:31:41 changelog Exp $ tag 2003-06-10 James Cox [EMAIL PROTECTED] @@ -23347,7 +23353,7 @@ zend_types.h zend_variables.c zend_variables.h: - - Added some missing CVS $Id: ChangeLog,v 1.1248 2008/02/24 01:31:35 changelog Exp $ tags, headers and footers. + - Added some missing CVS $Id: ChangeLog,v 1.1249 2008/02/25 01:31:41 changelog Exp $ tags, headers and footers. 2003-01-30 Ilia Alshanetsky [EMAIL PROTECTED]
[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/file magic_quotes.phpt
felipe Sun Feb 24 11:27:26 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard/tests/filemagic_quotes.phpt Log: Fixed test http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/magic_quotes.phpt?r1=1.1.2.1.2.1r2=1.1.2.1.2.2diff_format=u Index: php-src/ext/standard/tests/file/magic_quotes.phpt diff -u php-src/ext/standard/tests/file/magic_quotes.phpt:1.1.2.1.2.1 php-src/ext/standard/tests/file/magic_quotes.phpt:1.1.2.1.2.2 --- php-src/ext/standard/tests/file/magic_quotes.phpt:1.1.2.1.2.1 Sat Feb 23 17:06:22 2008 +++ php-src/ext/standard/tests/file/magic_quotes.phpt Sun Feb 24 11:27:26 2008 @@ -42,46 +42,45 @@ echo Done\n; ? ---EXPECTF-- - -Deprecated: get_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d +--EXPECTF-- +Deprecated: get_magic_quotes_runtime(): This function is deprecated and removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d int(0) -Deprecated: get_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d +Deprecated: get_magic_quotes_runtime(): This function is deprecated and removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d int(0) -Deprecated: set_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#set_magic_quotes_runtime for details. in %s on line %d +Deprecated: set_magic_quotes_runtime(): This function is deprecated and removed in PHP 6. See http://php.net/%s#set_magic_quotes_runtime for details. in %s on line %d bool(true) -Deprecated: get_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d +Deprecated: get_magic_quotes_runtime(): This function is deprecated and removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d int(1) -Deprecated: set_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#set_magic_quotes_runtime for details. in %s on line %d +Deprecated: set_magic_quotes_runtime(): This function is deprecated and removed in PHP 6. See http://php.net/%s#set_magic_quotes_runtime for details. in %s on line %d bool(true) -Deprecated: get_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d +Deprecated: get_magic_quotes_runtime(): This function is deprecated and removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d int(1) string(30) some\'content\'here\and}there -Deprecated: set_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#set_magic_quotes_runtime for details. in %s on line %d +Deprecated: set_magic_quotes_runtime(): This function is deprecated and removed in PHP 6. See http://php.net/%s#set_magic_quotes_runtime for details. in %s on line %d bool(true) -Deprecated: get_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d +Deprecated: get_magic_quotes_runtime(): This function is deprecated and removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d int(0) string(27) some'content'hereand}there -Deprecated: set_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#set_magic_quotes_runtime for details. in %s on line %d +Deprecated: set_magic_quotes_runtime(): This function is deprecated and removed in PHP 6. See http://php.net/%s#set_magic_quotes_runtime for details. in %s on line %d bool(true) -Deprecated: get_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d +Deprecated: get_magic_quotes_runtime(): This function is deprecated and removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in %s on line %d int(1) string(30) some\'content\'here\and}there -Deprecated: set_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#set_magic_quotes_runtime for details. in %s on line %d +Deprecated: set_magic_quotes_runtime(): This function is deprecated and removed in PHP 6. See http://php.net/%s#set_magic_quotes_runtime for details. in %s on line %d bool(true) bool(false) -Deprecated: get_magic_quotes_runtime(): This function is deprecated and will be removed in PHP 6. See http://php.net/%s#get_magic_quotes_runtime for details. in
[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c
felipe Sun Feb 24 11:45:55 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: Removed internal warning http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.409.2.6.2.28.2.8r2=1.409.2.6.2.28.2.9diff_format=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.409.2.6.2.28.2.8 php-src/ext/standard/file.c:1.409.2.6.2.28.2.9 --- php-src/ext/standard/file.c:1.409.2.6.2.28.2.8 Sat Feb 23 17:06:21 2008 +++ php-src/ext/standard/file.c Sun Feb 24 11:45:55 2008 @@ -21,7 +21,7 @@ +--+ */ -/* $Id: file.c,v 1.409.2.6.2.28.2.8 2008/02/23 17:06:21 helly Exp $ */ +/* $Id: file.c,v 1.409.2.6.2.28.2.9 2008/02/24 11:45:55 felipe Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -1382,8 +1382,6 @@ { int ret; - php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, This function is deprecated; use php_stream_mkdir() instead.); - if (PG(safe_mode) (!php_checkuid(dir, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { return -1; } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/standard file.c
felipe Sun Feb 24 11:49:39 2008 UTC Modified files: /php-src/ext/standard file.c Log: Removed internal warning http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.512r2=1.513diff_format=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.512 php-src/ext/standard/file.c:1.513 --- php-src/ext/standard/file.c:1.512 Sat Feb 23 17:03:53 2008 +++ php-src/ext/standard/file.c Sun Feb 24 11:49:39 2008 @@ -21,7 +21,7 @@ +--+ */ -/* $Id: file.c,v 1.512 2008/02/23 17:03:53 helly Exp $ */ +/* $Id: file.c,v 1.513 2008/02/24 11:49:39 felipe Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -1493,7 +1493,6 @@ { int ret; - php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, This function is deprecated; use php_stream_mkdir() instead.); if (php_check_open_basedir(dir TSRMLS_CC)) { return -1; } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_3) / run-tests.php
felipe Sun Feb 24 12:17:26 2008 UTC Modified files: (Branch: PHP_5_3) /php-srcrun-tests.php Log: New E_ALL value http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.226.2.37.2.35.2.16r2=1.226.2.37.2.35.2.17diff_format=u Index: php-src/run-tests.php diff -u php-src/run-tests.php:1.226.2.37.2.35.2.16 php-src/run-tests.php:1.226.2.37.2.35.2.17 --- php-src/run-tests.php:1.226.2.37.2.35.2.16 Tue Feb 12 18:23:14 2008 +++ php-src/run-tests.php Sun Feb 24 12:17:25 2008 @@ -24,7 +24,7 @@ +--+ */ -/* $Id: run-tests.php,v 1.226.2.37.2.35.2.16 2008/02/12 18:23:14 iliaa Exp $ */ +/* $Id: run-tests.php,v 1.226.2.37.2.35.2.17 2008/02/24 12:17:25 felipe Exp $ */ /* Sanity check to ensure that pcre extension needed by this script is available. * In the event it is not, print a nice error message indicating that this script will @@ -175,7 +175,7 @@ 'safe_mode=0', 'disable_functions=', 'output_buffering=Off', - 'error_reporting=8191', + 'error_reporting=16383', 'display_errors=1', 'display_startup_errors=1', 'log_errors=0', @@ -441,7 +441,7 @@ $html_output = is_resource($html_file); break; case '--version': - echo '$Revision: 1.226.2.37.2.35.2.16 $'.\n; + echo '$Revision: 1.226.2.37.2.35.2.17 $'.\n; exit(1); case 'u': -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_3) /tests/run-test test005.phpt test008a.phpt
felipe Sun Feb 24 12:18:07 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/tests/run-test test005.phpt test008a.phpt Log: Fixed tests (new E_ALL value) http://cvs.php.net/viewvc.cgi/php-src/tests/run-test/test005.phpt?r1=1.3.6.1r2=1.3.6.1.2.1diff_format=u Index: php-src/tests/run-test/test005.phpt diff -u php-src/tests/run-test/test005.phpt:1.3.6.1 php-src/tests/run-test/test005.phpt:1.3.6.1.2.1 --- php-src/tests/run-test/test005.phpt:1.3.6.1 Wed May 10 21:46:59 2006 +++ php-src/tests/run-test/test005.phpt Sun Feb 24 12:18:07 2008 @@ -24,7 +24,7 @@ ? --EXPECTF-- string(1) 1 -string(4) 8191 +string(5) 16383 string(1) 0 string(1) 1 string(1) 0 http://cvs.php.net/viewvc.cgi/php-src/tests/run-test/test008a.phpt?r1=1.2.6.1r2=1.2.6.1.2.1diff_format=u Index: php-src/tests/run-test/test008a.phpt diff -u php-src/tests/run-test/test008a.phpt:1.2.6.1 php-src/tests/run-test/test008a.phpt:1.2.6.1.2.1 --- php-src/tests/run-test/test008a.phpt:1.2.6.1Wed May 10 21:46:59 2006 +++ php-src/tests/run-test/test008a.phptSun Feb 24 12:18:07 2008 @@ -24,7 +24,7 @@ ? --EXPECTF-- string(1) 1 -string(4) 8191 +string(5) 16383 string(1) 0 string(1) 1 string(1) 0 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /tests/classes new_001.phpt /tests/lang 034.phpt bug22231.phpt bug30638.phpt
felipe Sun Feb 24 13:10:33 2008 UTC Modified files: /php-src/tests/classes new_001.phpt /php-src/tests/lang 034.phpt bug22231.phpt bug30638.phpt Log: Fixed tests (new error message - E_DEPRECATED) http://cvs.php.net/viewvc.cgi/php-src/tests/classes/new_001.phpt?r1=1.3r2=1.4diff_format=u Index: php-src/tests/classes/new_001.phpt diff -u php-src/tests/classes/new_001.phpt:1.3 php-src/tests/classes/new_001.phpt:1.4 --- php-src/tests/classes/new_001.phpt:1.3 Sat Feb 23 17:03:53 2008 +++ php-src/tests/classes/new_001.phpt Sun Feb 24 13:10:33 2008 @@ -47,7 +47,7 @@ int(2) } --UEXPECTF-- -Strict Standards: Assigning the return value of new by reference is deprecated in %s on line 23 +Deprecated: Assigning the return value of new by reference is deprecated in %s on line 23 Compile-time strict error message should precede this. $f initially points to the first object: object(Inc)#%d (1) { @@ -63,4 +63,4 @@ object(Inc)#%d (1) { [uid]= int(2) -} \ No newline at end of file +} http://cvs.php.net/viewvc.cgi/php-src/tests/lang/034.phpt?r1=1.12r2=1.13diff_format=u Index: php-src/tests/lang/034.phpt diff -u php-src/tests/lang/034.phpt:1.12 php-src/tests/lang/034.phpt:1.13 --- php-src/tests/lang/034.phpt:1.12Fri May 18 11:29:40 2007 +++ php-src/tests/lang/034.phpt Sun Feb 24 13:10:33 2008 @@ -18,5 +18,5 @@ --EXPECT-- 3,14 --UEXPECTF-- -Strict Standards: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d +Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d 3,14 http://cvs.php.net/viewvc.cgi/php-src/tests/lang/bug22231.phpt?r1=1.7r2=1.8diff_format=u Index: php-src/tests/lang/bug22231.phpt diff -u php-src/tests/lang/bug22231.phpt:1.7 php-src/tests/lang/bug22231.phpt:1.8 --- php-src/tests/lang/bug22231.phpt:1.7Sat Feb 23 17:03:53 2008 +++ php-src/tests/lang/bug22231.phptSun Feb 24 13:10:33 2008 @@ -41,7 +41,7 @@ string(5) fubar string(5) fubar --UEXPECTF-- -Strict Standards: Assigning the return value of new by reference is deprecated in %s on line %d +Deprecated: Assigning the return value of new by reference is deprecated in %s on line %d object(foo)#%d (1) { [ufubar]= unicode(5) fubar http://cvs.php.net/viewvc.cgi/php-src/tests/lang/bug30638.phpt?r1=1.4r2=1.5diff_format=u Index: php-src/tests/lang/bug30638.phpt diff -u php-src/tests/lang/bug30638.phpt:1.4 php-src/tests/lang/bug30638.phpt:1.5 --- php-src/tests/lang/bug30638.phpt:1.4Sun Feb 11 20:12:45 2007 +++ php-src/tests/lang/bug30638.phptSun Feb 24 13:10:33 2008 @@ -19,8 +19,8 @@ decimal_point: , thousands_sep: . --UEXPECTF-- -Strict Standards: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d +Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d -Strict Standards: localeconv(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d +Deprecated: localeconv(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d decimal_point: , thousands_sep: . -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /tests/strings 001.phpt
felipe Sun Feb 24 14:18:35 2008 UTC Modified files: /php-src/tests/strings 001.phpt Log: Fix test http://cvs.php.net/viewvc.cgi/php-src/tests/strings/001.phpt?r1=1.4r2=1.5diff_format=u Index: php-src/tests/strings/001.phpt diff -u php-src/tests/strings/001.phpt:1.4 php-src/tests/strings/001.phpt:1.5 --- php-src/tests/strings/001.phpt:1.4 Thu Oct 20 14:42:36 2005 +++ php-src/tests/strings/001.phpt Sun Feb 24 14:18:35 2008 @@ -208,3 +208,21 @@ Testing addslashes: passed Testing stripslashes: passed Testing uniqid: passed +--UEXPECTF-- +Deprecated: Assigning the return value of new by reference is deprecated in %s on line %d +Testing strtok: passed +Testing strstr: passed +Testing strrchr: passed +Testing strtoupper: passed +Testing strtolower: passed +Testing substr: passed +Testing rawurlencode: passed +Testing rawurldecode: passed +Testing urlencode: passed +Testing urldecode: passed +Testing quotemeta: passed +Testing ufirst: passed +Testing strtr: passed +Testing addslashes: passed +Testing stripslashes: passed +Testing uniqid: passed -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /tests/strings 001.phpt
felipe Sun Feb 24 14:22:44 2008 UTC Modified files: /php-src/tests/strings 001.phpt Log: Fix the fix http://cvs.php.net/viewvc.cgi/php-src/tests/strings/001.phpt?r1=1.5r2=1.6diff_format=u Index: php-src/tests/strings/001.phpt diff -u php-src/tests/strings/001.phpt:1.5 php-src/tests/strings/001.phpt:1.6 --- php-src/tests/strings/001.phpt:1.5 Sun Feb 24 14:18:35 2008 +++ php-src/tests/strings/001.phpt Sun Feb 24 14:22:44 2008 @@ -208,21 +208,3 @@ Testing addslashes: passed Testing stripslashes: passed Testing uniqid: passed ---UEXPECTF-- -Deprecated: Assigning the return value of new by reference is deprecated in %s on line %d -Testing strtok: passed -Testing strstr: passed -Testing strrchr: passed -Testing strtoupper: passed -Testing strtolower: passed -Testing substr: passed -Testing rawurlencode: passed -Testing rawurldecode: passed -Testing urlencode: passed -Testing urldecode: passed -Testing quotemeta: passed -Testing ufirst: passed -Testing strtr: passed -Testing addslashes: passed -Testing stripslashes: passed -Testing uniqid: passed -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_3) /ext/pdo pdo_stmt.c
iliaa Sun Feb 24 16:08:32 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/pdopdo_stmt.c Log: Fixed bug #44200 (A crash in PDO when no bound targets exists and yet bound parameters are present) http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/pdo_stmt.c?r1=1.118.2.38.2.24.2.11r2=1.118.2.38.2.24.2.12diff_format=u Index: php-src/ext/pdo/pdo_stmt.c diff -u php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.24.2.11 php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.24.2.12 --- php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.24.2.11 Wed Feb 20 03:11:43 2008 +++ php-src/ext/pdo/pdo_stmt.c Sun Feb 24 16:08:32 2008 @@ -18,7 +18,7 @@ +--+ */ -/* $Id: pdo_stmt.c,v 1.118.2.38.2.24.2.11 2008/02/20 03:11:43 iliaa Exp $ */ +/* $Id: pdo_stmt.c,v 1.118.2.38.2.24.2.12 2008/02/24 16:08:32 iliaa Exp $ */ /* The PDO Statement Handle Class */ @@ -166,6 +166,10 @@ ht = stmt-bound_params; + if (ht !stmt-bound_param_map) { + return 0; + } + iterate: if (ht) { zend_hash_internal_pointer_reset(ht); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/pdo pdo_stmt.c
iliaa Sun Feb 24 16:09:13 2008 UTC Modified files: /php-src/ext/pdopdo_stmt.c Log: MFB: Fixed bug #44200 (A crash in PDO when no bound targets exists and yet bound parameters are present) http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/pdo_stmt.c?r1=1.186r2=1.187diff_format=u Index: php-src/ext/pdo/pdo_stmt.c diff -u php-src/ext/pdo/pdo_stmt.c:1.186 php-src/ext/pdo/pdo_stmt.c:1.187 --- php-src/ext/pdo/pdo_stmt.c:1.186Wed Feb 20 03:12:23 2008 +++ php-src/ext/pdo/pdo_stmt.c Sun Feb 24 16:09:13 2008 @@ -18,7 +18,7 @@ +--+ */ -/* $Id: pdo_stmt.c,v 1.186 2008/02/20 03:12:23 iliaa Exp $ */ +/* $Id: pdo_stmt.c,v 1.187 2008/02/24 16:09:13 iliaa Exp $ */ /* The PDO Statement Handle Class */ @@ -142,6 +142,10 @@ ht = stmt-bound_params; + if (ht !stmt-bound_param_map) { + return 0; + } + iterate: if (ht) { zend_hash_internal_pointer_reset(ht); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/pdo pdo_stmt.c
iliaa Sun Feb 24 16:09:06 2008 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/pdopdo_stmt.c /php-srcNEWS Log: MFB: Fixed bug #44200 (A crash in PDO when no bound targets exists and yet bound parameters are present) http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/pdo_stmt.c?r1=1.118.2.38.2.32r2=1.118.2.38.2.33diff_format=u Index: php-src/ext/pdo/pdo_stmt.c diff -u php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.32 php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.33 --- php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.32 Wed Feb 20 03:12:16 2008 +++ php-src/ext/pdo/pdo_stmt.c Sun Feb 24 16:09:05 2008 @@ -18,7 +18,7 @@ +--+ */ -/* $Id: pdo_stmt.c,v 1.118.2.38.2.32 2008/02/20 03:12:16 iliaa Exp $ */ +/* $Id: pdo_stmt.c,v 1.118.2.38.2.33 2008/02/24 16:09:05 iliaa Exp $ */ /* The PDO Statement Handle Class */ @@ -166,6 +166,10 @@ ht = stmt-bound_params; + if (ht !stmt-bound_param_map) { + return 0; + } + iterate: if (ht) { zend_hash_internal_pointer_reset(ht); http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1094r2=1.2027.2.547.2.1095diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.1094 php-src/NEWS:1.2027.2.547.2.1095 --- php-src/NEWS:1.2027.2.547.2.1094Fri Feb 22 17:49:30 2008 +++ php-src/NEWSSun Feb 24 16:09:05 2008 @@ -12,6 +12,8 @@ - Fixed bug #44216 (strftime segfaults on large negative value). (Derick) +- Fixed bug #44200 (A crash in PDO when no bound targets exists and yet + bound parameters are present). (Ilia) - Fixed bug #44209 (strtotime() doesn't support 64 bit timestamps on 64 bit platforms). (Derick) - Fixed bug #44197 (socket array keys lost on socket_select). (Felipe) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_3) / NEWS
felipe Sun Feb 24 18:19:17 2008 UTC Modified files: (Branch: PHP_5_3) /php-srcNEWS Log: Entry existent in 5_2 http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.117r2=1.2027.2.547.2.965.2.118diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.965.2.117 php-src/NEWS:1.2027.2.547.2.965.2.118 --- php-src/NEWS:1.2027.2.547.2.965.2.117 Sat Feb 23 17:06:19 2008 +++ php-src/NEWSSun Feb 24 18:19:17 2008 @@ -135,7 +135,6 @@ - Fixed bug #43136 (possible crash on script execution timeout. The EG(function_state_ptr) is completely removed, EG(current_execute_data)-function_state must be used instead). (Dmitry) -- Fixed bug #43128 (Very long class name causes segfault). (Dmitry) - Fixed bug #42952 (soap cache file is created with insecure permissions). (Dmitry) - Fixed bug #42868 (Floats cast to integer produce unpredictable results). -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_3) /ext/filter filter.c
felipe Sun Feb 24 18:41:08 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/filter filter.c Log: MFB: Fixed segfault in filter extension when using callbacks. http://cvs.php.net/viewvc.cgi/php-src/ext/filter/filter.c?r1=1.52.2.39.2.4r2=1.52.2.39.2.5diff_format=u Index: php-src/ext/filter/filter.c diff -u php-src/ext/filter/filter.c:1.52.2.39.2.4 php-src/ext/filter/filter.c:1.52.2.39.2.5 --- php-src/ext/filter/filter.c:1.52.2.39.2.4 Wed Feb 6 19:06:58 2008 +++ php-src/ext/filter/filter.c Sun Feb 24 18:41:08 2008 @@ -19,7 +19,7 @@ +--+ */ -/* $Id: filter.c,v 1.52.2.39.2.4 2008/02/06 19:06:58 jani Exp $ */ +/* $Id: filter.c,v 1.52.2.39.2.5 2008/02/24 18:41:08 felipe Exp $ */ #ifdef HAVE_CONFIG_H #include config.h @@ -275,7 +275,7 @@ { php_info_print_table_start(); php_info_print_table_row( 2, Input Validation and Filtering, enabled ); - php_info_print_table_row( 2, Revision, $Revision: 1.52.2.39.2.4 $); + php_info_print_table_row( 2, Revision, $Revision: 1.52.2.39.2.5 $); php_info_print_table_end(); DISPLAY_INI_ENTRIES(); @@ -322,7 +322,7 @@ filter_func.function(*value, flags, options, charset TSRMLS_CC); if ( - options + options (Z_TYPE_P(options) == IS_ARRAY || Z_TYPE_P(options) == IS_OBJECT) ((flags FILTER_NULL_ON_FAILURE Z_TYPE_PP(value) == IS_NULL) || (!(flags FILTER_NULL_ON_FAILURE) Z_TYPE_PP(value) == IS_BOOL Z_LVAL_PP(value) == 0)) zend_hash_exists(HASH_OF(options), default, sizeof(default)) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/filter filter.c
felipe Sun Feb 24 18:42:09 2008 UTC Modified files: /php-src/ext/filter filter.c Log: MFB: Fixed segfault in filter extension when using callbacks. http://cvs.php.net/viewvc.cgi/php-src/ext/filter/filter.c?r1=1.92r2=1.93diff_format=u Index: php-src/ext/filter/filter.c diff -u php-src/ext/filter/filter.c:1.92 php-src/ext/filter/filter.c:1.93 --- php-src/ext/filter/filter.c:1.92Wed Feb 6 19:06:05 2008 +++ php-src/ext/filter/filter.c Sun Feb 24 18:42:09 2008 @@ -19,7 +19,7 @@ +--+ */ -/* $Id: filter.c,v 1.92 2008/02/06 19:06:05 jani Exp $ */ +/* $Id: filter.c,v 1.93 2008/02/24 18:42:09 felipe Exp $ */ #ifdef HAVE_CONFIG_H #include config.h @@ -275,7 +275,7 @@ { php_info_print_table_start(); php_info_print_table_row( 2, Input Validation and Filtering, enabled ); - php_info_print_table_row( 2, Revision, $Revision: 1.92 $); + php_info_print_table_row( 2, Revision, $Revision: 1.93 $); php_info_print_table_end(); DISPLAY_INI_ENTRIES(); @@ -322,7 +322,7 @@ filter_func.function(*value, flags, options, charset TSRMLS_CC); if ( - options + options (Z_TYPE_P(options) == IS_ARRAY || Z_TYPE_P(options) == IS_OBJECT) ((flags FILTER_NULL_ON_FAILURE Z_TYPE_PP(value) == IS_NULL) || (!(flags FILTER_NULL_ON_FAILURE) Z_TYPE_PP(value) == IS_BOOL Z_LVAL_PP(value) == 0)) zend_hash_exists(HASH_OF(options), default, sizeof(default)) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) /ext/filter/tests 053.phpt
felipe Sun Feb 24 18:49:39 2008 UTC Added files: (Branch: PHP_5_2) /php-src/ext/filter/tests 053.phpt Log: New test http://cvs.php.net/viewvc.cgi/php-src/ext/filter/tests/053.phpt?view=markuprev=1.1 Index: php-src/ext/filter/tests/053.phpt +++ php-src/ext/filter/tests/053.phpt -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/filter filter.c
felipe Sun Feb 24 18:34:31 2008 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/filter filter.c /php-srcNEWS Log: Fixed segfault in filter extension when using callbacks. (reported patched by Arnar Mar Sig) http://cvs.php.net/viewvc.cgi/php-src/ext/filter/filter.c?r1=1.52.2.41r2=1.52.2.42diff_format=u Index: php-src/ext/filter/filter.c diff -u php-src/ext/filter/filter.c:1.52.2.41 php-src/ext/filter/filter.c:1.52.2.42 --- php-src/ext/filter/filter.c:1.52.2.41 Wed Feb 6 19:07:36 2008 +++ php-src/ext/filter/filter.c Sun Feb 24 18:34:30 2008 @@ -19,7 +19,7 @@ +--+ */ -/* $Id: filter.c,v 1.52.2.41 2008/02/06 19:07:36 jani Exp $ */ +/* $Id: filter.c,v 1.52.2.42 2008/02/24 18:34:30 felipe Exp $ */ #ifdef HAVE_CONFIG_H #include config.h @@ -275,7 +275,7 @@ { php_info_print_table_start(); php_info_print_table_row( 2, Input Validation and Filtering, enabled ); - php_info_print_table_row( 2, Revision, $Revision: 1.52.2.41 $); + php_info_print_table_row( 2, Revision, $Revision: 1.52.2.42 $); php_info_print_table_end(); DISPLAY_INI_ENTRIES(); @@ -322,7 +322,7 @@ filter_func.function(*value, flags, options, charset TSRMLS_CC); if ( - options + options (Z_TYPE_P(options) == IS_ARRAY || Z_TYPE_P(options) == IS_OBJECT) ((flags FILTER_NULL_ON_FAILURE Z_TYPE_PP(value) == IS_NULL) || (!(flags FILTER_NULL_ON_FAILURE) Z_TYPE_PP(value) == IS_BOOL Z_LVAL_PP(value) == 0)) zend_hash_exists(HASH_OF(options), default, sizeof(default)) http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1095r2=1.2027.2.547.2.1096diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.1095 php-src/NEWS:1.2027.2.547.2.1096 --- php-src/NEWS:1.2027.2.547.2.1095Sun Feb 24 16:09:05 2008 +++ php-src/NEWSSun Feb 24 18:34:30 2008 @@ -8,6 +8,8 @@ (Ilia) - Fixed a bug with PDO::FETCH_COLUMN|PDO::FETCH_GROUP mode when a column # by which to group by data is specified. (Ilia) +- Fixed segfault in filter extension when using callbacks. (Arnar Mar Sig, + Felipe) - Upgraded PCRE to version 7.6 (Nuno) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_3) /ext/filter/tests 053.phpt
felipe Sun Feb 24 18:49:55 2008 UTC Added files: (Branch: PHP_5_3) /php-src/ext/filter/tests 053.phpt Log: New test http://cvs.php.net/viewvc.cgi/php-src/ext/filter/tests/053.phpt?view=markuprev=1.1 Index: php-src/ext/filter/tests/053.phpt +++ php-src/ext/filter/tests/053.phpt -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/filter/tests 053.phpt
felipe Sun Feb 24 18:50:14 2008 UTC Modified files: /php-src/ext/filter/tests 053.phpt Log: New test http://cvs.php.net/viewvc.cgi/php-src/ext/filter/tests/053.phpt?r1=1.1r2=1.2diff_format=u Index: php-src/ext/filter/tests/053.phpt diff -u /dev/null php-src/ext/filter/tests/053.phpt:1.2 --- /dev/null Sun Feb 24 18:50:14 2008 +++ php-src/ext/filter/tests/053.phpt Sun Feb 24 18:50:14 2008 @@ -0,0 +1,15 @@ +--TEST-- +filter_var() - using callback +--FILE-- +?php + +function filter_test($str) { return FALSE; } +filter_var('durty/boy', FILTER_CALLBACK, array( + 'options' = 'filter_test', +)); + +print Done\n; + +? +--EXPECTF-- +Done -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: CVSROOT / avail
pajoye Mon Feb 25 03:09:09 2008 UTC Modified files: /CVSROOTavail Log: - Paul Chandler karma for pecl/xrange http://cvs.php.net/viewvc.cgi/CVSROOT/avail?r1=1.1358r2=1.1359diff_format=u Index: CVSROOT/avail diff -u CVSROOT/avail:1.1358 CVSROOT/avail:1.1359 --- CVSROOT/avail:1.1358Sat Feb 23 09:57:52 2008 +++ CVSROOT/avail Mon Feb 25 03:09:09 2008 @@ -290,6 +290,7 @@ avail|sfox|pecl/phar avail|ramsey|pecl/uploadprogress,pecl/pdo_user avail|seariver|pecl/wxwidgets +avail|pestilence669|pecl/xrange # Objective-C bridge avail|wez,jan|php-objc -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php