[PHP-CVS-DAILY] cvs: php-src / ChangeLog

2008-02-28 Thread changelog
changelog   Fri Feb 29 01:31:28 2008 UTC

  Modified files:  
/php-srcChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/php-src/ChangeLog?r1=1.2972r2=1.2973diff_format=u
Index: php-src/ChangeLog
diff -u php-src/ChangeLog:1.2972 php-src/ChangeLog:1.2973
--- php-src/ChangeLog:1.2972Thu Feb 28 01:31:27 2008
+++ php-src/ChangeLog   Fri Feb 29 01:31:28 2008
@@ -1,3 +1,135 @@
+2008-02-28  Felipe Pena  [EMAIL PROTECTED]
+
+* ZendEngine2/zend_execute.c
+  ZendEngine2/tests/objects_016.phpt:
+  Add Strict error when assigning value to property of inexistent object
+
+* ext/gd/gd.c:
+  Fixed return value changed previously
+
+2008-02-28  Rasmus Lerdorf  [EMAIL PROTECTED]
+
+* ext/simplexml/tests/034.phpt:
+  MFB
+
+* ext/simplexml/tests/034.phpt
+  ext/simplexml/tests/034.phpt:
+  
+  file 034.phpt was initially added on branch PHP_5_3.
+
+2008-02-28  Dmitry Stogov  [EMAIL PROTECTED]
+
+* ext/standard/dl.c
+  ext/standard/dl.c:
+  We don't nave to change request shutdown sequence if dl() was failed
+
+2008-02-28  Felipe Pena  [EMAIL PROTECTED]
+
+* ext/spl/tests/heap_008.phpt
+  ext/spl/tests/pqueue_004.phpt
+  ext/sqlite/tests/bug35248.phpt:
+  Added UEXPECT
+
+* ZendEngine2/tests/014.phpt
+  ZendEngine2/tests/017.phpt:
+  Fixed tests (new error message)
+
+2008-02-28  Ilia Alshanetsky  [EMAIL PROTECTED]
+
+* (PHP_5_2)
+  configure.in
+  main/php_version.h:
+  Set proper RC version (Thanks Hannes)
+
+2008-02-28  Felipe Pena  [EMAIL PROTECTED]
+
+* sapi/cli/tests/006.phpt:
+  Revert
+
+* ext/standard/tests/file/get_current_user.phpt
+  ext/standard/tests/general_functions/rand.phpt
+  ext/standard/tests/math/getrandmax_error.phpt
+  ext/standard/tests/math/mt_getrandmax_error.phpt
+  ext/standard/tests/strings/setlocale_error.phpt
+  sapi/cli/tests/006.phpt:
+  Fixed tests
+
+* ext/com_dotnet/com_com.c
+  ext/curl/multi.c
+  ext/dom/php_dom.h
+  ext/fdf/fdf.c
+  ext/gd/gd.c
+  ext/imap/php_imap.c
+  ext/interbase/interbase.c
+  ext/mhash/mhash.c
+  ext/ming/ming.c
+  ext/mysql/php_mysql.c
+  ext/odbc/php_odbc.c
+  ext/openssl/openssl.c
+  ext/pcre/php_pcre.c
+  ext/session/session.c
+  ext/skeleton/create_stubs
+  ext/snmp/snmp.c
+  ext/soap/soap.c
+  ext/spl/spl_dllist.c
+  ext/sqlite/sqlite.c
+  ext/standard/basic_functions.c
+  ext/standard/dir.c
+  ext/standard/file.c
+  ext/standard/head.c
+  ext/standard/info.c
+  ext/standard/rand.c
+  ext/standard/streamsfuncs.c
+  ext/standard/string.c
+  ext/standard/syslog.c
+  ext/standard/user_filters.c
+  ext/unicode/collator.c
+  ext/unicode/locale.c
+  ext/unicode/unicode.c
+  ext/unicode/unicode_iterators.c
+  ext/xmlrpc/xmlrpc-epi-php.c
+  sapi/apache_hooks/php_apache.c:
+  New macro for check void parameters
+
+* ZendEngine2/zend_API.h
+  ZendEngine2/zend_builtin_functions.c
+  ZendEngine2/zend_exceptions.c:
+  Added new macro for check void parameters.
+  (deprecating ZEND_WRONG_PARAM_COUNT for this cases)
+
+2008-02-28  Antony Dovgal  [EMAIL PROTECTED]
+
+* sapi/cli/tests/006.phpt:
+  use pcre for testing reflection
+
+2008-02-28  Ilia Alshanetsky  [EMAIL PROTECTED]
+
+* sapi/cgi/cgi_main.c:
+  MFB:  Fixed security issue detailed in CVE-2008-0599
+
+* (PHP_5_3)
+  sapi/cgi/cgi_main.c:
+  
+  MFB:  Fixed security issue detailed in CVE-2008-0599
+
+* (PHP_5_2)
+  NEWS
+  configure.in
+  main/php_version.h:
+  
+  Back to dev
+
+* (PHP_5_2)
+  configure.in
+  main/php_version.h:
+  5.2.6RC1
+
+* (PHP_5_2)
+  NEWS
+  sapi/cgi/cgi_main.c:
+  
+  Fixed security issue detailed in CVE-2008-0599
+
 2008-02-27  Derick Rethans  [EMAIL PROTECTED]
 
 * (PHP_5_3)


[PHP-CVS-DAILY] cvs: ZendEngine2 / ChangeLog

2008-02-28 Thread changelog
changelog   Fri Feb 29 01:31:31 2008 UTC

  Modified files:  
/ZendEngine2ChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/ChangeLog?r1=1.1249r2=1.1250diff_format=u
Index: ZendEngine2/ChangeLog
diff -u ZendEngine2/ChangeLog:1.1249 ZendEngine2/ChangeLog:1.1250
--- ZendEngine2/ChangeLog:1.1249Mon Feb 25 01:31:41 2008
+++ ZendEngine2/ChangeLog   Fri Feb 29 01:31:31 2008
@@ -1,3 +1,19 @@
+2008-02-28  Felipe Pena  [EMAIL PROTECTED]
+
+* zend_execute.c
+  tests/objects_016.phpt:
+  Add Strict error when assigning value to property of inexistent object
+
+* tests/014.phpt
+  tests/017.phpt:
+  Fixed tests (new error message)
+
+* zend_API.h
+  zend_builtin_functions.c
+  zend_exceptions.c:
+  Added new macro for check void parameters.
+  (deprecating ZEND_WRONG_PARAM_COUNT for this cases)
+
 2008-02-24  Felipe Pena  [EMAIL PROTECTED]
 
 * tests/is_a.phpt
@@ -21629,7 +21645,7 @@
 2003-06-10  Jani Taskinen  [EMAIL PROTECTED]
 
 * zend_multiply.h:
-  - Missing $Id: ChangeLog,v 1.1249 2008/02/25 01:31:41 changelog Exp $ tag
+  - Missing $Id: ChangeLog,v 1.1250 2008/02/29 01:31:31 changelog Exp $ tag
 
 2003-06-10  James Cox  [EMAIL PROTECTED]
 
@@ -23353,7 +23369,7 @@
   zend_types.h
   zend_variables.c
   zend_variables.h:
-  - Added some missing CVS $Id: ChangeLog,v 1.1249 2008/02/25 01:31:41 
changelog Exp $ tags, headers and footers.
+  - Added some missing CVS $Id: ChangeLog,v 1.1250 2008/02/29 01:31:31 
changelog Exp $ tags, headers and footers.
 
 2003-01-30  Ilia Alshanetsky  [EMAIL PROTECTED]
 


[PHP-CVS] cvs: php-src /sapi/cli/tests 006.phpt

2008-02-28 Thread Antony Dovgal
tony2001Thu Feb 28 09:18:06 2008 UTC

  Modified files:  
/php-src/sapi/cli/tests 006.phpt 
  Log:
  use pcre for testing reflection
  
  http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/006.phpt?r1=1.8r2=1.9diff_format=u
Index: php-src/sapi/cli/tests/006.phpt
diff -u php-src/sapi/cli/tests/006.phpt:1.8 php-src/sapi/cli/tests/006.phpt:1.9
--- php-src/sapi/cli/tests/006.phpt:1.8 Tue Jan 29 12:27:49 2008
+++ php-src/sapi/cli/tests/006.phpt Thu Feb 28 09:18:06 2008
@@ -7,14 +7,16 @@
die(skip);
 }
 ?
+--INI--
+date.timezone=
 --FILE--
 ?php
 
 $php = getenv('TEST_PHP_EXECUTABLE');
 
-var_dump(`$php -n --re unknown`);
-var_dump(`$php -n --re `);
-var_dump(`$php -n --re date`);
+var_dump(`$php -n --re unknown`);
+var_dump(`$php -n --re `);
+var_dump(`$php -n --re pcre`);
 
 echo Done\n;
 ?
@@ -23,338 +25,77 @@
 
 string(37) Exception: Extension  does not exist
 
-string(%d) Extension [ persistent extension #%d date version %s ] {
-
-  - Dependencies {
-Dependency [ session (Optional) ]
-  }
+string(%d) Extension [ persistent extension #%d pcre version no_version ] 
{
 
   - INI {
-Entry [ date.timezone ALL ]
-  Current = ''
-}
-Entry [ date.default_latitude ALL ]
-  Current = '%s'
-}
-Entry [ date.default_longitude ALL ]
-  Current = '%s'
+Entry [ pcre.backtrack_limit ALL ]
+  Current = '%d'
 }
-Entry [ date.sunset_zenith ALL ]
-  Current = '%s'
-}
-Entry [ date.sunrise_zenith ALL ]
-  Current = '%s'
+Entry [ pcre.recursion_limit ALL ]
+  Current = '%d'
 }
   }
 
-  - Constants [14] {
-Constant [ string DATE_ATOM ] { Y-m-d\TH:i:sP }
-Constant [ string DATE_COOKIE ] { l, d-M-y H:i:s T }
-Constant [ string DATE_ISO8601 ] { Y-m-d\TH:i:sO }
-Constant [ string DATE_RFC822 ] { D, d M y H:i:s O }
-Constant [ string DATE_RFC850 ] { l, d-M-y H:i:s T }
-Constant [ string DATE_RFC1036 ] { D, d M y H:i:s O }
-Constant [ string DATE_RFC1123 ] { D, d M Y H:i:s O }
-Constant [ string DATE_RFC2822 ] { D, d M Y H:i:s O }
-Constant [ string DATE_RFC3339 ] { Y-m-d\TH:i:sP }
-Constant [ string DATE_RSS ] { D, d M Y H:i:s O }
-Constant [ string DATE_W3C ] { Y-m-d\TH:i:sP }
-Constant [ integer SUNFUNCS_RET_TIMESTAMP ] { 0 }
-Constant [ integer SUNFUNCS_RET_STRING ] { 1 }
-Constant [ integer SUNFUNCS_RET_DOUBLE ] { 2 }
+  - Constants [13] {
+Constant [ integer PREG_PATTERN_ORDER ] { 1 }
+Constant [ integer PREG_SET_ORDER ] { 2 }
+Constant [ integer PREG_OFFSET_CAPTURE ] { 256 }
+Constant [ integer PREG_SPLIT_NO_EMPTY ] { 1 }
+Constant [ integer PREG_SPLIT_DELIM_CAPTURE ] { 2 }
+Constant [ integer PREG_SPLIT_OFFSET_CAPTURE ] { 4 }
+Constant [ integer PREG_GREP_INVERT ] { 1 }
+Constant [ integer PREG_NO_ERROR ] { 0 }
+Constant [ integer PREG_INTERNAL_ERROR ] { 1 }
+Constant [ integer PREG_BACKTRACK_LIMIT_ERROR ] { 2 }
+Constant [ integer PREG_RECURSION_LIMIT_ERROR ] { 3 }
+Constant [ integer PREG_BAD_UTF8_ERROR ] { 4 }
+Constant [ string PCRE_VERSION ] { %s }
   }
 
   - Functions {
-Function [ internal:date function strtotime ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $time ]
-Parameter #1 [ optional $now ]
-  }
-}
-Function [ internal:date function date ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
-  }
-}
-Function [ internal:date function idate ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
-  }
-}
-Function [ internal:date function gmdate ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
-  }
-}
-Function [ internal:date function mktime ] {
-
-  - Parameters [6] {
-Parameter #0 [ optional $hour ]
-Parameter #1 [ optional $min ]
-Parameter #2 [ optional $sec ]
-Parameter #3 [ optional $mon ]
-Parameter #4 [ optional $day ]
-Parameter #5 [ optional $year ]
-  }
-}
-Function [ internal:date function gmmktime ] {
-
-  - Parameters [6] {
-Parameter #0 [ optional $hour ]
-Parameter #1 [ optional $min ]
-Parameter #2 [ optional $sec ]
-Parameter #3 [ optional $mon ]
-Parameter #4 [ optional $day ]
-Parameter #5 [ optional $year ]
-  }
-}
-Function [ internal:date function checkdate ] {
+Function [ internal:pcre function preg_match ] {
 
   - Parameters [3] {
-Parameter #0 [ required $month ]
-Parameter #1 [ required $day ]
-Parameter #2 [ required $year ]
-  }
-}
-Function [ internal:date function strftime ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
+

[PHP-CVS] cvs: php-src(PHP_5_3) /sapi/cli/tests 006.phpt

2008-02-28 Thread Antony Dovgal
tony2001Thu Feb 28 09:18:13 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/sapi/cli/tests 006.phpt 
  Log:
  MFH
  
  http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/006.phpt?r1=1.1.2.9.2.4r2=1.1.2.9.2.5diff_format=u
Index: php-src/sapi/cli/tests/006.phpt
diff -u php-src/sapi/cli/tests/006.phpt:1.1.2.9.2.4 
php-src/sapi/cli/tests/006.phpt:1.1.2.9.2.5
--- php-src/sapi/cli/tests/006.phpt:1.1.2.9.2.4 Tue Jan 29 12:23:48 2008
+++ php-src/sapi/cli/tests/006.phpt Thu Feb 28 09:18:13 2008
@@ -16,7 +16,7 @@
 
 var_dump(`$php -n --re unknown`);
 var_dump(`$php -n --re `);
-var_dump(`$php -n --re date`);
+var_dump(`$php -n --re pcre`);
 
 echo Done\n;
 ?
@@ -25,336 +25,77 @@
 
 string(37) Exception: Extension  does not exist
 
-string(%d) Extension [ persistent extension #%d date version %s ] {
-
-  - Dependencies {
-Dependency [ session (Optional) ]
-  }
+string(%d) Extension [ persistent extension #%d pcre version no_version ] 
{
 
   - INI {
-Entry [ date.timezone ALL ]
-  Current = ''
-}
-Entry [ date.default_latitude ALL ]
-  Current = '%s'
-}
-Entry [ date.default_longitude ALL ]
-  Current = '%s'
+Entry [ pcre.backtrack_limit ALL ]
+  Current = '%d'
 }
-Entry [ date.sunset_zenith ALL ]
-  Current = '%s'
-}
-Entry [ date.sunrise_zenith ALL ]
-  Current = '%s'
+Entry [ pcre.recursion_limit ALL ]
+  Current = '%d'
 }
   }
 
-  - Constants [14] {
-Constant [ string DATE_ATOM ] { Y-m-d\TH:i:sP }
-Constant [ string DATE_COOKIE ] { l, d-M-y H:i:s T }
-Constant [ string DATE_ISO8601 ] { Y-m-d\TH:i:sO }
-Constant [ string DATE_RFC822 ] { D, d M y H:i:s O }
-Constant [ string DATE_RFC850 ] { l, d-M-y H:i:s T }
-Constant [ string DATE_RFC1036 ] { D, d M y H:i:s O }
-Constant [ string DATE_RFC1123 ] { D, d M Y H:i:s O }
-Constant [ string DATE_RFC2822 ] { D, d M Y H:i:s O }
-Constant [ string DATE_RFC3339 ] { Y-m-d\TH:i:sP }
-Constant [ string DATE_RSS ] { D, d M Y H:i:s O }
-Constant [ string DATE_W3C ] { Y-m-d\TH:i:sP }
-Constant [ integer SUNFUNCS_RET_TIMESTAMP ] { 0 }
-Constant [ integer SUNFUNCS_RET_STRING ] { 1 }
-Constant [ integer SUNFUNCS_RET_DOUBLE ] { 2 }
+  - Constants [13] {
+Constant [ integer PREG_PATTERN_ORDER ] { 1 }
+Constant [ integer PREG_SET_ORDER ] { 2 }
+Constant [ integer PREG_OFFSET_CAPTURE ] { 256 }
+Constant [ integer PREG_SPLIT_NO_EMPTY ] { 1 }
+Constant [ integer PREG_SPLIT_DELIM_CAPTURE ] { 2 }
+Constant [ integer PREG_SPLIT_OFFSET_CAPTURE ] { 4 }
+Constant [ integer PREG_GREP_INVERT ] { 1 }
+Constant [ integer PREG_NO_ERROR ] { 0 }
+Constant [ integer PREG_INTERNAL_ERROR ] { 1 }
+Constant [ integer PREG_BACKTRACK_LIMIT_ERROR ] { 2 }
+Constant [ integer PREG_RECURSION_LIMIT_ERROR ] { 3 }
+Constant [ integer PREG_BAD_UTF8_ERROR ] { 4 }
+Constant [ string PCRE_VERSION ] { %s }
   }
 
   - Functions {
-Function [ internal:date function strtotime ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $time ]
-Parameter #1 [ optional $now ]
-  }
-}
-Function [ internal:date function date ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
-  }
-}
-Function [ internal:date function idate ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
-  }
-}
-Function [ internal:date function gmdate ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
-  }
-}
-Function [ internal:date function mktime ] {
-
-  - Parameters [6] {
-Parameter #0 [ optional $hour ]
-Parameter #1 [ optional $min ]
-Parameter #2 [ optional $sec ]
-Parameter #3 [ optional $mon ]
-Parameter #4 [ optional $day ]
-Parameter #5 [ optional $year ]
-  }
-}
-Function [ internal:date function gmmktime ] {
-
-  - Parameters [6] {
-Parameter #0 [ optional $hour ]
-Parameter #1 [ optional $min ]
-Parameter #2 [ optional $sec ]
-Parameter #3 [ optional $mon ]
-Parameter #4 [ optional $day ]
-Parameter #5 [ optional $year ]
-  }
-}
-Function [ internal:date function checkdate ] {
+Function [ internal:pcre function preg_match ] {
 
   - Parameters [3] {
-Parameter #0 [ required $month ]
-Parameter #1 [ required $day ]
-Parameter #2 [ required $year ]
-  }
-}
-Function [ internal:date function strftime ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
+Parameter #0 [ required $param0 ]
+Parameter #1 [ required $param1 ]
+Parameter #2 [ required $param2 ]
   }
 }
-

[PHP-CVS] cvs: CVSROOT / avail

2008-02-28 Thread Marcus Boerger
helly   Thu Feb 28 12:48:34 2008 UTC

  Modified files:  
/CVSROOTavail 
  Log:
  - Upgrade felipe
  
http://cvs.php.net/viewvc.cgi/CVSROOT/avail?r1=1.1360r2=1.1361diff_format=u
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.1360 CVSROOT/avail:1.1361
--- CVSROOT/avail:1.1360Wed Feb 27 03:53:09 2008
+++ CVSROOT/avail   Thu Feb 28 12:48:34 2008
@@ -20,7 +20,7 @@
 
avail|dharmap,kraghuba,stevseea,colder,lwe,auroraeosrose,mike,rolland,cawa,msisolak,alan_k,rrichards,tal,mfischer,fmk,hirokawa,jah,eschmid,dbeu,sebastian,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,jani,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,svanegmond,rjs,vlad,jimjag,emile,wez,sasha,camber,ohrn,romolo,martin,lurcher,wsanchez,dreid,bmcadams,swm,zhang,kevin,joey,entity,cardinal,coar,jflemer,raphael,danda,rbb,mboeren,dougm,edink,alexwaugh,bernd,zak,sesser,yohgaki,imajes,markonen,dickmeiss,helly,sander,jan,kir,aaron,jwoolley,pbannister,rvenkat,dali,rodif_bl,hyanantha,witten,georg,msopacua,mpdoremus,fujimoto,iliaa,chregu,azzit,gschlossnagle,andrey,dan,moriyoshi,dviner,bfrance,flex,iwakiri,john,harrie,pollita,ianh,k.schroeder,dcowgill,jerenkrantz,jay,ddhill,jorton,thetaphi,abies,vincent,goba,dmitry,pajoye,shie,rafi,magnus,tony2001,johannes,dbs,skoduru,nrathna,jesus,gopalv,bjor!
 
i,nlopess,wrowe,shire,zoe,scottmac,t2man,dsp,davidw,ab5602,nicholsr,lsmith,cellog,davidc,felipe,robinf,jmessa,philip,sixd|phpfi,php3,php-src,pecl,non-pecl,spl,phpdoc,phpdoc-ar,phpdoc-bg,phpdoc-cs,phpdoc-da,phpdoc-de,phpdoc-el,phpdoc-es,phpdoc-fa_IR,phpdoc-fi,phpdoc-fr,phpdoc-he,phpdoc-hk,phpdoc-hu,phpdoc-id,phpdoc-it,phpdoc-ja,phpdoc-kr,phpdoc-lt,phpdoc-nl,phpdoc-pl,phpdoc-pt_BR,phpdoc-pt,phpdoc-ro,phpdoc-ru,phpdoc-sk,phpdoc-sl,phpdoc-sv,phpdoc-tr,phpdoc-tw,phpdoc-zh,phpdoc-ca,phpdoc-no
 
 # Some people have access to tests in the Engine
-avail|magnus,michael,zoe,robinf,jmessa,felipe|Zend/tests,ZendEngine2/tests
+avail|magnus,michael,zoe,robinf,jmessa|Zend/tests,ZendEngine2/tests
 
 # fastcgi implementation for IIS
 avail|shane,wez,edink|fastcgi-isapi
@@ -40,7 +40,7 @@
 avail|bjori,gwynne|phd
 
 # People who work on the Engine - not people with just tests access
-avail|andi,zeev,andrei,stas,sterling,sascha,derick,sebastian,phanto,jani,hirokawa,fujimoto,rvenkat,sesser,kalowsky,iliaa,hyanantha,georg,wez,edink,helly,hholzgra,imajes,gschlossnagle,moriyoshi,dmitry,jon,pollita,tony2001,johannes,bjori,davidw,nicholsr,wharmby|Zend,ZendEngine2,TSRM
+avail|andi,zeev,andrei,stas,sterling,sascha,derick,sebastian,phanto,jani,hirokawa,fujimoto,rvenkat,sesser,kalowsky,iliaa,hyanantha,georg,wez,edink,helly,hholzgra,imajes,gschlossnagle,moriyoshi,dmitry,jon,pollita,tony2001,johannes,bjori,davidw,nicholsr,wharmby,felipe|Zend,ZendEngine2,TSRM
 
 # The PHP Documentation Group maintains the documentation and its
 # translations.

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/com_dotnet com_com.c /ext/curl multi.c /ext/dom php_dom.h /ext/fdf fdf.c /ext/gd gd.c /ext/imap php_imap.c /ext/interbase interbase.c /ext/mhash mhash.c /ext/ming m

2008-02-28 Thread Felipe Pena
felipe  Thu Feb 28 14:16:25 2008 UTC

  Modified files:  
/php-src/ext/com_dotnet com_com.c 
/php-src/ext/curl   multi.c 
/php-src/ext/domphp_dom.h 
/php-src/ext/fdffdf.c 
/php-src/ext/gd gd.c 
/php-src/ext/imap   php_imap.c 
/php-src/ext/interbase  interbase.c 
/php-src/ext/mhash  mhash.c 
/php-src/ext/ming   ming.c 
/php-src/ext/mysql  php_mysql.c 
/php-src/ext/odbc   php_odbc.c 
/php-src/ext/opensslopenssl.c 
/php-src/ext/pcre   php_pcre.c 
/php-src/ext/sessionsession.c 
/php-src/ext/skeleton   create_stubs 
/php-src/ext/snmp   snmp.c 
/php-src/ext/soap   soap.c 
/php-src/ext/splspl_dllist.c 
/php-src/ext/sqlite sqlite.c 
/php-src/ext/standard   basic_functions.c dir.c file.c head.c info.c 
rand.c streamsfuncs.c string.c syslog.c 
user_filters.c 
/php-src/ext/unicodecollator.c locale.c unicode.c 
unicode_iterators.c 
/php-src/ext/xmlrpc xmlrpc-epi-php.c 
/php-src/sapi/apache_hooks  php_apache.c 
  Log:
  New macro for check void parameters
  http://cvs.php.net/viewvc.cgi/php-src/ext/com_dotnet/com_com.c?r1=1.25r2=1.26diff_format=u
Index: php-src/ext/com_dotnet/com_com.c
diff -u php-src/ext/com_dotnet/com_com.c:1.25 
php-src/ext/com_dotnet/com_com.c:1.26
--- php-src/ext/com_dotnet/com_com.c:1.25   Mon Dec 31 07:12:07 2007
+++ php-src/ext/com_dotnet/com_com.cThu Feb 28 14:16:12 2008
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: com_com.c,v 1.25 2007/12/31 07:12:07 sebastian Exp $ */
+/* $Id: com_com.c,v 1.26 2008/02/28 14:16:12 felipe Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -658,8 +658,8 @@
GUID retval;
OLECHAR *guid_string;
 
-   if (ZEND_NUM_ARGS() != 0) {
-   ZEND_WRONG_PARAM_COUNT();
+   if (zend_parse_parameters_none() == FAILURE) {
+   return;
}
 
php_com_initialize(TSRMLS_C);
http://cvs.php.net/viewvc.cgi/php-src/ext/curl/multi.c?r1=1.32r2=1.33diff_format=u
Index: php-src/ext/curl/multi.c
diff -u php-src/ext/curl/multi.c:1.32 php-src/ext/curl/multi.c:1.33
--- php-src/ext/curl/multi.c:1.32   Mon Dec 31 07:12:08 2007
+++ php-src/ext/curl/multi.cThu Feb 28 14:16:12 2008
@@ -16,7 +16,7 @@
+--+
 */
 
-/* $Id: multi.c,v 1.32 2007/12/31 07:12:08 sebastian Exp $ */
+/* $Id: multi.c,v 1.33 2008/02/28 14:16:12 felipe Exp $ */
 
 #define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
 
@@ -55,8 +55,8 @@
 {
php_curlm *mh;

-   if (ZEND_NUM_ARGS() != 0) {
-   WRONG_PARAM_COUNT;
+   if (zend_parse_parameters_none() == FAILURE) {
+   return;
}
 
mh = ecalloc(1, sizeof(php_curlm));
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/php_dom.h?r1=1.36r2=1.37diff_format=u
Index: php-src/ext/dom/php_dom.h
diff -u php-src/ext/dom/php_dom.h:1.36 php-src/ext/dom/php_dom.h:1.37
--- php-src/ext/dom/php_dom.h:1.36  Mon Dec 31 07:12:09 2007
+++ php-src/ext/dom/php_dom.h   Thu Feb 28 14:16:12 2008
@@ -18,7 +18,7 @@
+--+
 */
 
-/* $Id: php_dom.h,v 1.36 2007/12/31 07:12:09 sebastian Exp $ */
+/* $Id: php_dom.h,v 1.37 2008/02/28 14:16:12 felipe Exp $ */
 
 #ifndef PHP_DOM_H
 #define PHP_DOM_H
@@ -138,8 +138,7 @@
 }
 
 #define DOM_NO_ARGS() \
-   if (ZEND_NUM_ARGS() != 0) { \
-   php_error_docref(NULL TSRMLS_CC, E_WARNING, Expects exactly 0 
parameters, %d given, ZEND_NUM_ARGS()); \
+   if (zend_parse_parameters_none() == FAILURE) { \
return; \
}
 
http://cvs.php.net/viewvc.cgi/php-src/ext/fdf/fdf.c?r1=1.104r2=1.105diff_format=u
Index: php-src/ext/fdf/fdf.c
diff -u php-src/ext/fdf/fdf.c:1.104 php-src/ext/fdf/fdf.c:1.105
--- php-src/ext/fdf/fdf.c:1.104 Mon Dec 31 07:12:09 2007
+++ php-src/ext/fdf/fdf.c   Thu Feb 28 14:16:12 2008
@@ -17,7 +17,7 @@
+--+
  */
 
-/* $Id: fdf.c,v 1.104 2007/12/31 07:12:09 sebastian Exp $ */
+/* $Id: fdf.c,v 1.105 2008/02/28 14:16:12 felipe Exp $ */
 
 /* FdfTk lib 2.0 is a Complete C/C++ FDF Toolkit available from
http://beta1.adobe.com/ada/acrosdk/forms.html. */
@@ -528,8 +528,8 @@
FDFDoc fdf;
FDFErc err;
 
-   if (ZEND_NUM_ARGS() != 0) {
-   WRONG_PARAM_COUNT;
+   if (zend_parse_parameters_none() == FAILURE) {
+   return;
}
 
err = FDFCreate(fdf);
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.383r2=1.384diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.383 php-src/ext/gd/gd.c:1.384
--- php-src/ext/gd/gd.c:1.383   Mon Dec 31 07:12:09 2007
+++ php-src/ext/gd/gd.c Thu Feb 28 

Re: [PHP-CVS] cvs: php-src(PHP_5_2) / NEWS configure.in /main php_version.h

2008-02-28 Thread Hannes Magnusson
On Thu, Feb 28, 2008 at 1:35 AM, Ilia Alshanetsky [EMAIL PROTECTED] wrote:
 iliaa   Thu Feb 28 00:35:26 2008 UTC

   Modified files:  (Branch: PHP_5_2)
 /php-srcNEWS configure.in
 /php-src/main   php_version.h
   Log:

   Back to dev

  
 http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1101r2=1.2027.2.547.2.1102diff_format=u
  Index: php-src/NEWS
  diff -u php-src/NEWS:1.2027.2.547.2.1101 php-src/NEWS:1.2027.2.547.2.1102
  --- php-src/NEWS:1.2027.2.547.2.1101Thu Feb 28 00:29:29 2008
  +++ php-src/NEWSThu Feb 28 00:35:26 2008
  @@ -1,5 +1,7 @@
   PHP
 NEWS
   
 |||
  +?? Mar 2008, PHP 5.2.6
  +
   27 Feb 2008, PHP 5.2.6RC1
   - Fixed security issue detailed in CVE-2008-0599. (Rasmus)
   - Fixed potential memleak in stream filter parameter for zlib filter (Greg)
  
 http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.85r2=1.579.2.52.2.86diff_format=u
  Index: php-src/configure.in
  diff -u php-src/configure.in:1.579.2.52.2.85 
 php-src/configure.in:1.579.2.52.2.86
  --- php-src/configure.in:1.579.2.52.2.85Thu Feb 28 00:30:35 2008
  +++ php-src/configure.inThu Feb 28 00:35:26 2008
  @@ -1,4 +1,4 @@
  -## $Id: configure.in,v 1.579.2.52.2.85 2008/02/28 00:30:35 iliaa Exp $ -*- 
 autoconf -*-
  +## $Id: configure.in,v 1.579.2.52.2.86 2008/02/28 00:35:26 iliaa Exp $ -*- 
 autoconf -*-
   dnl ## Process this file with autoconf to produce a configure script.

   divert(1)
  @@ -42,7 +42,7 @@
   PHP_MAJOR_VERSION=5
   PHP_MINOR_VERSION=2
   PHP_RELEASE_VERSION=6
  -PHP_EXTRA_VERSION=RC1
  +PHP_EXTRA_VERSION=RC1-dev
   
 PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
   PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION 
 \* 100 + [$]PHP_RELEASE_VERSION`

  
 http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.112.2.37.2.57r2=1.112.2.37.2.58diff_format=u
  Index: php-src/main/php_version.h
  diff -u php-src/main/php_version.h:1.112.2.37.2.57 
 php-src/main/php_version.h:1.112.2.37.2.58
  --- php-src/main/php_version.h:1.112.2.37.2.57  Thu Feb 28 00:30:34 2008
  +++ php-src/main/php_version.h  Thu Feb 28 00:35:26 2008
  @@ -3,6 +3,6 @@
   #define PHP_MAJOR_VERSION 5
   #define PHP_MINOR_VERSION 2
   #define PHP_RELEASE_VERSION 6
  -#define PHP_EXTRA_VERSION RC1
  -#define PHP_VERSION 5.2.6RC1
  +#define PHP_EXTRA_VERSION RC1-dev
  +#define PHP_VERSION 5.2.6RC1-dev

Shouldn't it be RC2-dev?

-Hannes

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/standard/tests/file get_current_user.phpt /ext/standard/tests/general_functions rand.phpt /ext/standard/tests/math getrandmax_error.phpt mt_getrandmax_error.phpt /ext/st

2008-02-28 Thread Felipe Pena
felipe  Thu Feb 28 15:28:00 2008 UTC

  Modified files:  
/php-src/ext/standard/tests/fileget_current_user.phpt 
/php-src/ext/standard/tests/general_functions   rand.phpt 
/php-src/ext/standard/tests/mathgetrandmax_error.phpt 
mt_getrandmax_error.phpt 
/php-src/ext/standard/tests/strings setlocale_error.phpt 
/php-src/sapi/cli/tests 006.phpt 
  Log:
  Fixed tests
  http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/get_current_user.phpt?r1=1.2r2=1.3diff_format=u
Index: php-src/ext/standard/tests/file/get_current_user.phpt
diff -u php-src/ext/standard/tests/file/get_current_user.phpt:1.2 
php-src/ext/standard/tests/file/get_current_user.phpt:1.3
--- php-src/ext/standard/tests/file/get_current_user.phpt:1.2   Wed Feb 21 
19:57:08 2007
+++ php-src/ext/standard/tests/file/get_current_user.phpt   Thu Feb 28 
15:28:00 2008
@@ -9,12 +9,12 @@
 echo Done\n;
 ?
 --EXPECTF--
-Warning: Wrong parameter count for get_current_user() in %s on line %d
+Warning: get_current_user() expects exactly 0 parameters, 1 given in %s on 
line %d
 NULL
 string(%d) %s
 Done
 --UEXPECTF--
-Warning: Wrong parameter count for get_current_user() in %s on line %d
+Warning: get_current_user() expects exactly 0 parameters, 1 given in %s on 
line %d
 NULL
 unicode(%d) %s
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/rand.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/standard/tests/general_functions/rand.phpt
diff -u php-src/ext/standard/tests/general_functions/rand.phpt:1.1 
php-src/ext/standard/tests/general_functions/rand.phpt:1.2
--- php-src/ext/standard/tests/general_functions/rand.phpt:1.1  Thu Nov 16 
13:00:03 2006
+++ php-src/ext/standard/tests/general_functions/rand.phpt  Thu Feb 28 
15:28:00 2008
@@ -54,10 +54,10 @@
 NULL
 int(%d)
 
-Warning: Wrong parameter count for getrandmax() in %s on line %d
+Warning: getrandmax() expects exactly 0 parameters, 1 given in %s on line %d
 NULL
 int(%d)
 
-Warning: Wrong parameter count for mt_getrandmax() in %s on line %d
+Warning: mt_getrandmax() expects exactly 0 parameters, 1 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/getrandmax_error.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/standard/tests/math/getrandmax_error.phpt
diff -u php-src/ext/standard/tests/math/getrandmax_error.phpt:1.1 
php-src/ext/standard/tests/math/getrandmax_error.phpt:1.2
--- php-src/ext/standard/tests/math/getrandmax_error.phpt:1.1   Wed Feb  6 
08:39:23 2008
+++ php-src/ext/standard/tests/math/getrandmax_error.phpt   Thu Feb 28 
15:28:00 2008
@@ -5,5 +5,5 @@
 var_dump($biggest_int = getrandmax(true));
 ?
 --EXPECTF--
-Warning: Wrong parameter count for getrandmax() in %s on line 2
+Warning: getrandmax() expects exactly 0 parameters, 1 given in %s on line 2
 NULL
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/mt_getrandmax_error.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/standard/tests/math/mt_getrandmax_error.phpt
diff -u php-src/ext/standard/tests/math/mt_getrandmax_error.phpt:1.1 
php-src/ext/standard/tests/math/mt_getrandmax_error.phpt:1.2
--- php-src/ext/standard/tests/math/mt_getrandmax_error.phpt:1.1Wed Feb 
 6 08:39:23 2008
+++ php-src/ext/standard/tests/math/mt_getrandmax_error.phptThu Feb 28 
15:28:00 2008
@@ -5,5 +5,5 @@
 var_dump(mt_getrandmax(true));
 ?
 --EXPECTF--
-Warning: Wrong parameter count for mt_getrandmax() in %s on line 2
-NULL
\ No newline at end of file
+Warning: mt_getrandmax() expects exactly 0 parameters, 1 given in %s on line 2
+NULL
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/setlocale_error.phpt?r1=1.2r2=1.3diff_format=u
Index: php-src/ext/standard/tests/strings/setlocale_error.phpt
diff -u php-src/ext/standard/tests/strings/setlocale_error.phpt:1.2 
php-src/ext/standard/tests/strings/setlocale_error.phpt:1.3
--- php-src/ext/standard/tests/strings/setlocale_error.phpt:1.2 Fri Oct  5 
19:35:45 2007
+++ php-src/ext/standard/tests/strings/setlocale_error.phpt Thu Feb 28 
15:28:00 2008
@@ -61,7 +61,7 @@
 
 -- Testing setlocale() function with invalid category --
 
-Warning: setlocale(): Passing locale category name as string is deprecated. 
Use the LC_* -constants instead in %s on line %d
+Deprecated: setlocale(): Passing locale category name as string is deprecated. 
Use the LC_* -constants instead in %s on line %d
 
 Warning: setlocale(): Invalid locale category name TEST, must be one of 
LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME in %s on line 
%d
 bool(false)
http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/006.phpt?r1=1.9r2=1.10diff_format=u
Index: php-src/sapi/cli/tests/006.phpt
diff -u php-src/sapi/cli/tests/006.phpt:1.9 php-src/sapi/cli/tests/006.phpt:1.10
--- php-src/sapi/cli/tests/006.phpt:1.9 Thu Feb 28 09:18:06 2008
+++ php-src/sapi/cli/tests/006.phpt Thu Feb 28 15:28:00 2008
@@ 

[PHP-CVS] cvs: php-src /sapi/cli/tests 006.phpt

2008-02-28 Thread Felipe Pena
felipe  Thu Feb 28 15:34:51 2008 UTC

  Modified files:  
/php-src/sapi/cli/tests 006.phpt 
  Log:
  Revert
  http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/006.phpt?r1=1.10r2=1.11diff_format=u
Index: php-src/sapi/cli/tests/006.phpt
diff -u php-src/sapi/cli/tests/006.phpt:1.10 
php-src/sapi/cli/tests/006.phpt:1.11
--- php-src/sapi/cli/tests/006.phpt:1.10Thu Feb 28 15:28:00 2008
+++ php-src/sapi/cli/tests/006.phpt Thu Feb 28 15:34:51 2008
@@ -7,14 +7,16 @@
die(skip);
 }
 ?
+--INI--
+date.timezone=
 --FILE--
 ?php
 
 $php = getenv('TEST_PHP_EXECUTABLE');
 
-var_dump(`$php -n --re unknown`);
-var_dump(`$php -n --re `);
-var_dump(`$php -n --re date`);
+var_dump(`$php -n --re unknown`);
+var_dump(`$php -n --re `);
+var_dump(`$php -n --re pcre`);
 
 echo Done\n;
 ?
@@ -23,339 +25,77 @@
 
 string(37) Exception: Extension  does not exist
 
-string(9650) Extension [ persistent extension #20 date version 6.0.0-dev ] {
-
-  - Dependencies {
-Dependency [ session (Optional) ]
-  }
+string(%d) Extension [ persistent extension #%d pcre version no_version ] 
{
 
   - INI {
-Entry [ date.timezone ALL ]
-  Current = ''
-}
-Entry [ date.default_latitude ALL ]
-  Current = '31.7667'
-}
-Entry [ date.default_longitude ALL ]
-  Current = '35.2333'
+Entry [ pcre.backtrack_limit ALL ]
+  Current = '%d'
 }
-Entry [ date.sunset_zenith ALL ]
-  Current = '90.58'
-}
-Entry [ date.sunrise_zenith ALL ]
-  Current = '90.58'
+Entry [ pcre.recursion_limit ALL ]
+  Current = '%d'
 }
   }
 
-  - Constants [14] {
-Constant [ string DATE_ATOM ] { Y-m-d\TH:i:sP }
-Constant [ string DATE_COOKIE ] { l, d-M-y H:i:s T }
-Constant [ string DATE_ISO8601 ] { Y-m-d\TH:i:sO }
-Constant [ string DATE_RFC822 ] { D, d M y H:i:s O }
-Constant [ string DATE_RFC850 ] { l, d-M-y H:i:s T }
-Constant [ string DATE_RFC1036 ] { D, d M y H:i:s O }
-Constant [ string DATE_RFC1123 ] { D, d M Y H:i:s O }
-Constant [ string DATE_RFC2822 ] { D, d M Y H:i:s O }
-Constant [ string DATE_RFC3339 ] { Y-m-d\TH:i:sP }
-Constant [ string DATE_RSS ] { D, d M Y H:i:s O }
-Constant [ string DATE_W3C ] { Y-m-d\TH:i:sP }
-Constant [ integer SUNFUNCS_RET_TIMESTAMP ] { 0 }
-Constant [ integer SUNFUNCS_RET_STRING ] { 1 }
-Constant [ integer SUNFUNCS_RET_DOUBLE ] { 2 }
+  - Constants [13] {
+Constant [ integer PREG_PATTERN_ORDER ] { 1 }
+Constant [ integer PREG_SET_ORDER ] { 2 }
+Constant [ integer PREG_OFFSET_CAPTURE ] { 256 }
+Constant [ integer PREG_SPLIT_NO_EMPTY ] { 1 }
+Constant [ integer PREG_SPLIT_DELIM_CAPTURE ] { 2 }
+Constant [ integer PREG_SPLIT_OFFSET_CAPTURE ] { 4 }
+Constant [ integer PREG_GREP_INVERT ] { 1 }
+Constant [ integer PREG_NO_ERROR ] { 0 }
+Constant [ integer PREG_INTERNAL_ERROR ] { 1 }
+Constant [ integer PREG_BACKTRACK_LIMIT_ERROR ] { 2 }
+Constant [ integer PREG_RECURSION_LIMIT_ERROR ] { 3 }
+Constant [ integer PREG_BAD_UTF8_ERROR ] { 4 }
+Constant [ string PCRE_VERSION ] { %s }
   }
 
   - Functions {
-Function [ internal:date function strtotime ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $time ]
-Parameter #1 [ optional $now ]
-  }
-}
-Function [ internal:date function date ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
-  }
-}
-Function [ internal:date function idate ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
-  }
-}
-Function [ internal:date function gmdate ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
-  }
-}
-Function [ internal:date function mktime ] {
-
-  - Parameters [6] {
-Parameter #0 [ optional $hour ]
-Parameter #1 [ optional $min ]
-Parameter #2 [ optional $sec ]
-Parameter #3 [ optional $mon ]
-Parameter #4 [ optional $day ]
-Parameter #5 [ optional $year ]
-  }
-}
-Function [ internal:date function gmmktime ] {
-
-  - Parameters [6] {
-Parameter #0 [ optional $hour ]
-Parameter #1 [ optional $min ]
-Parameter #2 [ optional $sec ]
-Parameter #3 [ optional $mon ]
-Parameter #4 [ optional $day ]
-Parameter #5 [ optional $year ]
-  }
-}
-Function [ internal:date function checkdate ] {
+Function [ internal:pcre function preg_match ] {
 
   - Parameters [3] {
-Parameter #0 [ required $month ]
-Parameter #1 [ required $day ]
-Parameter #2 [ required $year ]
-  }
-}
-Function [ internal:date function strftime ] {
-
-  - Parameters [2] {
-Parameter #0 [ required $format ]
-Parameter #1 [ optional $timestamp ]
+  

[PHP-CVS] cvs: php-src(PHP_5_2) / configure.in /main php_version.h

2008-02-28 Thread Ilia Alshanetsky
iliaa   Thu Feb 28 15:36:07 2008 UTC

  Modified files:  (Branch: PHP_5_2)
/php-srcconfigure.in 
/php-src/main   php_version.h 
  Log:
  Set proper RC version (Thanks Hannes)
  
  
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.86r2=1.579.2.52.2.87diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.86 
php-src/configure.in:1.579.2.52.2.87
--- php-src/configure.in:1.579.2.52.2.86Thu Feb 28 00:35:26 2008
+++ php-src/configure.inThu Feb 28 15:36:07 2008
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.86 2008/02/28 00:35:26 iliaa Exp $ -*- 
autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.87 2008/02/28 15:36:07 iliaa Exp $ -*- 
autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -42,7 +42,7 @@
 PHP_MAJOR_VERSION=5
 PHP_MINOR_VERSION=2
 PHP_RELEASE_VERSION=6
-PHP_EXTRA_VERSION=RC1-dev
+PHP_EXTRA_VERSION=RC2-dev
 
PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
 PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION \* 
100 + [$]PHP_RELEASE_VERSION`
 
http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.112.2.37.2.58r2=1.112.2.37.2.59diff_format=u
Index: php-src/main/php_version.h
diff -u php-src/main/php_version.h:1.112.2.37.2.58 
php-src/main/php_version.h:1.112.2.37.2.59
--- php-src/main/php_version.h:1.112.2.37.2.58  Thu Feb 28 00:35:26 2008
+++ php-src/main/php_version.h  Thu Feb 28 15:36:07 2008
@@ -3,6 +3,6 @@
 #define PHP_MAJOR_VERSION 5
 #define PHP_MINOR_VERSION 2
 #define PHP_RELEASE_VERSION 6
-#define PHP_EXTRA_VERSION RC1-dev
-#define PHP_VERSION 5.2.6RC1-dev
+#define PHP_EXTRA_VERSION RC2-dev
+#define PHP_VERSION 5.2.6RC2-dev
 #define PHP_VERSION_ID 50206

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/spl/tests heap_008.phpt pqueue_004.phpt

2008-02-28 Thread Felipe Pena
felipe  Thu Feb 28 15:40:34 2008 UTC

  Modified files:  
/php-src/ext/spl/tests  heap_008.phpt pqueue_004.phpt 
  Log:
  Added UEXPECT
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/heap_008.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/spl/tests/heap_008.phpt
diff -u php-src/ext/spl/tests/heap_008.phpt:1.1 
php-src/ext/spl/tests/heap_008.phpt:1.2
--- php-src/ext/spl/tests/heap_008.phpt:1.1 Mon Feb 25 23:36:36 2008
+++ php-src/ext/spl/tests/heap_008.phpt Thu Feb 28 15:40:34 2008
@@ -33,4 +33,22 @@
 int(1)
   }
 }
+--UEXPECTF--
+object(SplMaxHeap)#1 (3) {
+  [uflags:uSplHeap:private]=
+  int(0)
+  [uisCorrupted:uSplHeap:private]=
+  bool(false)
+  [uheap:uSplHeap:private]=
+  array(4) {
+[0]=
+int(5)
+[1]=
+int(4)
+[2]=
+int(0)
+[3]=
+int(1)
+  }
+}
 ===DONE===
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/pqueue_004.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/spl/tests/pqueue_004.phpt
diff -u php-src/ext/spl/tests/pqueue_004.phpt:1.1 
php-src/ext/spl/tests/pqueue_004.phpt:1.2
--- php-src/ext/spl/tests/pqueue_004.phpt:1.1   Mon Feb 25 23:36:36 2008
+++ php-src/ext/spl/tests/pqueue_004.phpt   Thu Feb 28 15:40:34 2008
@@ -53,4 +53,42 @@
 }
   }
 }
+--UEXPECTF--
+object(SplPriorityQueue)#1 (3) {
+  [uflags:uSplPriorityQueue:private]=
+  int(1)
+  [uisCorrupted:uSplPriorityQueue:private]=
+  bool(false)
+  [uheap:uSplPriorityQueue:private]=
+  array(4) {
+[0]=
+array(2) {
+  [data]=
+  unicode(1) c
+  [priority]=
+  int(5)
+}
+[1]=
+array(2) {
+  [data]=
+  unicode(1) a
+  [priority]=
+  int(0)
+}
+[2]=
+array(2) {
+  [data]=
+  unicode(1) b
+  [priority]=
+  int(1)
+}
+[3]=
+array(2) {
+  [data]=
+  unicode(1) d
+  [priority]=
+  int(-2)
+}
+  }
+}
 ===DONE===

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/sqlite/tests bug35248.phpt

2008-02-28 Thread Felipe Pena
felipe  Thu Feb 28 15:41:56 2008 UTC

  Modified files:  
/php-src/ext/sqlite/tests   bug35248.phpt 
  Log:
  Added UEXPECT
  
http://cvs.php.net/viewvc.cgi/php-src/ext/sqlite/tests/bug35248.phpt?r1=1.2r2=1.3diff_format=u
Index: php-src/ext/sqlite/tests/bug35248.phpt
diff -u php-src/ext/sqlite/tests/bug35248.phpt:1.2 
php-src/ext/sqlite/tests/bug35248.phpt:1.3
--- php-src/ext/sqlite/tests/bug35248.phpt:1.2  Thu Nov 17 14:40:11 2005
+++ php-src/ext/sqlite/tests/bug35248.phpt  Thu Feb 28 15:41:56 2008
@@ -13,3 +13,6 @@
 --EXPECT--
 string(30) near asdfesdfa: syntax error
 string(30) near asdfesdfa: syntax error
+--UEXPECT--
+unicode(30) near asdfesdfa: syntax error
+unicode(30) near asdfesdfa: syntax error

-- 
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/standard dl.c

2008-02-28 Thread Dmitry Stogov
dmitry  Thu Feb 28 16:59:10 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard   dl.c 
  Log:
  We don't nave to change request shutdown sequence if dl() was failed
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dl.c?r1=1.106.2.1.2.5.2.5r2=1.106.2.1.2.5.2.6diff_format=u
Index: php-src/ext/standard/dl.c
diff -u php-src/ext/standard/dl.c:1.106.2.1.2.5.2.5 
php-src/ext/standard/dl.c:1.106.2.1.2.5.2.6
--- php-src/ext/standard/dl.c:1.106.2.1.2.5.2.5 Sat Feb 23 17:06:21 2008
+++ php-src/ext/standard/dl.c   Thu Feb 28 16:59:10 2008
@@ -18,7 +18,7 @@
+--+
 */
 
-/* $Id: dl.c,v 1.106.2.1.2.5.2.5 2008/02/23 17:06:21 helly Exp $ */
+/* $Id: dl.c,v 1.106.2.1.2.5.2.6 2008/02/28 16:59:10 dmitry Exp $ */
 
 #include php.h
 #include dl.h
@@ -85,7 +85,9 @@
}
 
php_dl(filename, MODULE_TEMPORARY, return_value, 0 TSRMLS_CC);
-   EG(full_tables_cleanup) = 1;
+   if (Z_LVAL_P(return_value) == 1) {
+   EG(full_tables_cleanup) = 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 dl.c

2008-02-28 Thread Dmitry Stogov
dmitry  Thu Feb 28 16:59:21 2008 UTC

  Modified files:  
/php-src/ext/standard   dl.c 
  Log:
  We don't nave to change request shutdown sequence if dl() was failed
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dl.c?r1=1.124r2=1.125diff_format=u
Index: php-src/ext/standard/dl.c
diff -u php-src/ext/standard/dl.c:1.124 php-src/ext/standard/dl.c:1.125
--- php-src/ext/standard/dl.c:1.124 Sat Feb 23 17:03:53 2008
+++ php-src/ext/standard/dl.c   Thu Feb 28 16:59:21 2008
@@ -18,7 +18,7 @@
+--+
 */
 
-/* $Id: dl.c,v 1.124 2008/02/23 17:03:53 helly Exp $ */
+/* $Id: dl.c,v 1.125 2008/02/28 16:59:21 dmitry Exp $ */
 
 #include php.h
 #include dl.h
@@ -78,7 +78,9 @@
}
 
php_dl(filename, MODULE_TEMPORARY, return_value, 0 TSRMLS_CC);
-   EG(full_tables_cleanup) = 1;
+   if (Z_LVAL_P(return_value) == 1) {
+   EG(full_tables_cleanup) = 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) /ext/simplexml/tests 034.phpt

2008-02-28 Thread Rasmus Lerdorf
rasmus  Thu Feb 28 17:38:04 2008 UTC

  Added files: (Branch: PHP_5_3)
/php-src/ext/simplexml/tests034.phpt 
  Log:
  count() before and after a simplexml array cast should be the same
  
  

http://cvs.php.net/viewvc.cgi/php-src/ext/simplexml/tests/034.phpt?view=markuprev=1.1
Index: php-src/ext/simplexml/tests/034.phpt
+++ php-src/ext/simplexml/tests/034.phpt

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/simplexml/tests 034.phpt

2008-02-28 Thread Rasmus Lerdorf
rasmus  Thu Feb 28 17:39:08 2008 UTC

  Modified files:  
/php-src/ext/simplexml/tests034.phpt 
  Log:
  MFB
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/simplexml/tests/034.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/simplexml/tests/034.phpt
diff -u /dev/null php-src/ext/simplexml/tests/034.phpt:1.2
--- /dev/null   Thu Feb 28 17:39:08 2008
+++ php-src/ext/simplexml/tests/034.phptThu Feb 28 17:39:08 2008
@@ -0,0 +1,22 @@
+--TEST--
+SimpleXML: array casting bug
+--SKIPIF--
+?php if (!extension_loaded(simplexml)) print skip; ?
+--FILE--
+?php
+$string = '?xml version=1.0?
+foobar
+   pBlah 1/p
+   pBlah 2/p
+   pBlah 3/p
+   ttBlah 4/tt
+/bar/foo
+';
+$foo = simplexml_load_string($string);
+$p = $foo-bar-p;
+echo count($p);
+$p = (array)$foo-bar-p;
+echo count($p);
+?
+--EXPECTF--
+33

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/gd gd.c

2008-02-28 Thread Felipe Pena
felipe  Thu Feb 28 17:43:32 2008 UTC

  Modified files:  
/php-src/ext/gd gd.c 
  Log:
  Fixed return value changed previously
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.384r2=1.385diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.384 php-src/ext/gd/gd.c:1.385
--- php-src/ext/gd/gd.c:1.384   Thu Feb 28 14:16:12 2008
+++ php-src/ext/gd/gd.c Thu Feb 28 17:43:32 2008
@@ -18,7 +18,7 @@
+--+
  */
 
-/* $Id: gd.c,v 1.384 2008/02/28 14:16:12 felipe Exp $ */
+/* $Id: gd.c,v 1.385 2008/02/28 17:43:32 felipe Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -1351,7 +1351,7 @@
 PHP_FUNCTION(gd_info)
 {
if (zend_parse_parameters_none() == FAILURE) {
-   return;
+   RETURN_FALSE;
}
 
array_init(return_value);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] cvs: php-src /ext/gd gd.c

2008-02-28 Thread Nuno Lopes

felipe Thu Feb 28 17:43:32 2008 UTC

 Modified files:
   /php-src/ext/gd gd.c
 Log:
 Fixed return value changed previously

http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.384r2=1.385diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.384 php-src/ext/gd/gd.c:1.385
--- php-src/ext/gd/gd.c:1.384 Thu Feb 28 14:16:12 2008
+++ php-src/ext/gd/gd.c Thu Feb 28 17:43:32 2008
@@ -1351,7 +1351,7 @@
PHP_FUNCTION(gd_info)
{
 if (zend_parse_parameters_none() == FAILURE) {
- return;
+ RETURN_FALSE;
 }



You can leave the 'return;' there, as it's current practice to return NULL 
when it fails the parameter validation. You may have to tune some tests, 
though.
Nuno 


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php