[PHP-CVS] cvs: php-src /sapi/cli/tests 006.phpt
helly Sat Aug 30 11:32:12 2008 UTC Modified files: /php-src/sapi/cli/tests 006.phpt Log: - Fix test http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/006.phpt?r1=1.12r2=1.13diff_format=u Index: php-src/sapi/cli/tests/006.phpt diff -u php-src/sapi/cli/tests/006.phpt:1.12 php-src/sapi/cli/tests/006.phpt:1.13 --- php-src/sapi/cli/tests/006.phpt:1.12Wed Mar 19 19:16:58 2008 +++ php-src/sapi/cli/tests/006.phpt Sat Aug 30 11:32:12 2008 @@ -50,53 +50,88 @@ Constant [ integer PREG_RECURSION_LIMIT_ERROR ] { 3 } Constant [ integer PREG_BAD_UTF8_ERROR ] { 4 } Constant [ integer PREG_BAD_UTF8_OFFSET_ERROR ] { 5 } -Constant [ string PCRE_VERSION ] { %s } +Constant [ %string PCRE_VERSION ] { %s } } - Functions { Function [ internal:pcre function preg_match ] { - - Parameters [3] { -Parameter #0 [ required $param0 ] -Parameter #1 [ required $param1 ] -Parameter #2 [ required $param2 ] + - Parameters [5] { +Parameter #0 [ required $pattern ] +Parameter #1 [ required $subject ] +Parameter #2 [ optional $subpatterns ] +Parameter #3 [ optional $flags ] +Parameter #4 [ optional $offset ] } } Function [ internal:pcre function preg_match_all ] { - - Parameters [3] { -Parameter #0 [ required $param0 ] -Parameter #1 [ required $param1 ] -Parameter #2 [ required $param2 ] + - Parameters [5] { +Parameter #0 [ required $pattern ] +Parameter #1 [ required $subject ] +Parameter #2 [ required $subpatterns ] +Parameter #3 [ optional $flags ] +Parameter #4 [ optional $offset ] } } Function [ internal:pcre function preg_replace ] { - Parameters [5] { -Parameter #0 [ required $param0 ] -Parameter #1 [ required $param1 ] -Parameter #2 [ required $param2 ] -Parameter #3 [ required $param3 ] -Parameter #4 [ required $param4 ] +Parameter #0 [ required $regex ] +Parameter #1 [ required $replace ] +Parameter #2 [ optional $subject ] +Parameter #3 [ optional $limit ] +Parameter #4 [ optional $count ] } } Function [ internal:pcre function preg_replace_callback ] { - Parameters [5] { -Parameter #0 [ required $param0 ] -Parameter #1 [ required $param1 ] -Parameter #2 [ required $param2 ] -Parameter #3 [ required $param3 ] -Parameter #4 [ required $param4 ] +Parameter #0 [ required $regex ] +Parameter #1 [ required $callback ] +Parameter #2 [ required $subject ] +Parameter #3 [ optional $limit ] +Parameter #4 [ optional $count ] + } +} +Function [ internal:pcre function preg_filter ] { + + - Parameters [5] { +Parameter #0 [ required $regex ] +Parameter #1 [ required $replace ] +Parameter #2 [ optional $subject ] +Parameter #3 [ optional $limit ] +Parameter #4 [ optional $count ] } } Function [ internal:pcre function preg_split ] { + + - Parameters [4] { +Parameter #0 [ required $pattern ] +Parameter #1 [ required $subject ] +Parameter #2 [ optional $limit ] +Parameter #3 [ optional $flags ] + } } Function [ internal:pcre function preg_quote ] { + + - Parameters [2] { +Parameter #0 [ required $str ] +Parameter #1 [ optional $delim_char ] + } } Function [ internal:pcre function preg_grep ] { + + - Parameters [3] { +Parameter #0 [ required $regex ] +Parameter #1 [ required $input ] +Parameter #2 [ optional $flags ] + } } Function [ internal:pcre function preg_last_error ] { + + - Parameters [0] { + } } } } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /sapi/cli/tests 006.phpt
felipe Wed Mar 19 19:16:58 2008 UTC Modified files: /php-src/sapi/cli/tests 006.phpt Log: Fixed test http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/006.phpt?r1=1.11r2=1.12diff_format=u Index: php-src/sapi/cli/tests/006.phpt diff -u php-src/sapi/cli/tests/006.phpt:1.11 php-src/sapi/cli/tests/006.phpt:1.12 --- php-src/sapi/cli/tests/006.phpt:1.11Thu Feb 28 15:34:51 2008 +++ php-src/sapi/cli/tests/006.phpt Wed Mar 19 19:16:58 2008 @@ -36,7 +36,7 @@ } } - - Constants [13] { + - Constants [14] { Constant [ integer PREG_PATTERN_ORDER ] { 1 } Constant [ integer PREG_SET_ORDER ] { 2 } Constant [ integer PREG_OFFSET_CAPTURE ] { 256 } @@ -49,6 +49,7 @@ Constant [ integer PREG_BACKTRACK_LIMIT_ERROR ] { 2 } Constant [ integer PREG_RECURSION_LIMIT_ERROR ] { 3 } Constant [ integer PREG_BAD_UTF8_ERROR ] { 4 } +Constant [ integer PREG_BAD_UTF8_OFFSET_ERROR ] { 5 } Constant [ string PCRE_VERSION ] { %s } } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /sapi/cli/tests 006.phpt
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 /sapi/cli/tests 006.phpt
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 /sapi/cli/tests 006.phpt
tony2001Tue Jan 29 12:27:49 2008 UTC Modified files: /php-src/sapi/cli/tests 006.phpt Log: fix test http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/006.phpt?r1=1.7r2=1.8diff_format=u Index: php-src/sapi/cli/tests/006.phpt diff -u php-src/sapi/cli/tests/006.phpt:1.7 php-src/sapi/cli/tests/006.phpt:1.8 --- php-src/sapi/cli/tests/006.phpt:1.7 Sun Jan 27 19:10:26 2008 +++ php-src/sapi/cli/tests/006.phpt Tue Jan 29 12:27:49 2008 @@ -185,6 +185,8 @@ } Function [ internal:date function date_timestamp_set ] { } +Function [ internal:date function date_timestamp_get ] { +} Function [ internal:date function timezone_open ] { } Function [ internal:date function timezone_name_get ] { @@ -273,7 +275,7 @@ - Properties [0] { } - - Methods [10] { + - Methods [11] { Method [ internal:date, ctor public method __construct ] { } @@ -303,6 +305,9 @@ Method [ internal:date public method setTimestamp ] { } + +Method [ internal:date public method getTimestamp ] { +} } } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /sapi/cli/tests 006.phpt
bjori Sun Jan 27 19:10:26 2008 UTC Modified files: /php-src/sapi/cli/tests 006.phpt Log: Fix test http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/006.phpt?r1=1.6r2=1.7diff_format=u Index: php-src/sapi/cli/tests/006.phpt diff -u php-src/sapi/cli/tests/006.phpt:1.6 php-src/sapi/cli/tests/006.phpt:1.7 --- php-src/sapi/cli/tests/006.phpt:1.6 Sun Jan 13 17:23:36 2008 +++ php-src/sapi/cli/tests/006.phpt Sun Jan 27 19:10:26 2008 @@ -308,7 +308,19 @@ Class [ internal:date class DateTimeZone ] { - - Constants [0] { + - Constants [12] { +Constant [ integer AMERICA ] { 1 } +Constant [ integer ANTARCTICA ] { 2 } +Constant [ integer ARCTIC ] { 4 } +Constant [ integer ASIA ] { 8 } +Constant [ integer ATLANTIC ] { 16 } +Constant [ integer AUSTRALIA ] { 32 } +Constant [ integer EUROPE ] { 64 } +Constant [ integer INDIAN ] { 128 } +Constant [ integer PACIFIC ] { 256 } +Constant [ integer UTC ] { 512 } +Constant [ integer ALL ] { 1023 } +Constant [ integer ALL_WITH_BC ] { 2047 } } - Static properties [0] { -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /sapi/cli/tests 006.phpt
iliaa Sun Jan 13 17:23:36 2008 UTC Modified files: /php-src/sapi/cli/tests 006.phpt Log: MFB: fixed test http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/006.phpt?r1=1.5r2=1.6diff_format=u Index: php-src/sapi/cli/tests/006.phpt diff -u php-src/sapi/cli/tests/006.phpt:1.5 php-src/sapi/cli/tests/006.phpt:1.6 --- php-src/sapi/cli/tests/006.phpt:1.5 Sat Dec 15 12:44:21 2007 +++ php-src/sapi/cli/tests/006.phpt Sun Jan 13 17:23:36 2008 @@ -157,8 +157,14 @@ } Function [ internal:date function date_create ] { } +Function [ internal:date function date_create_from_format ] { +} Function [ internal:date function date_parse ] { } +Function [ internal:date function date_parse_from_format ] { +} +Function [ internal:date function date_get_last_errors ] { +} Function [ internal:date function date_format ] { } Function [ internal:date function date_format_locale ] { @@ -256,7 +262,12 @@ - Static properties [0] { } - - Static methods [0] { + - Static methods [2] { +Method [ internal:date static public method createFromFormat ] { +} + +Method [ internal:date static public method getLastErrors ] { +} } - Properties [0] { -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /sapi/cli/tests 006.phpt
tony2001Sat Dec 15 12:44:21 2007 UTC Modified files: /php-src/sapi/cli/tests 006.phpt Log: fix test http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/006.phpt?r1=1.4r2=1.5diff_format=u Index: php-src/sapi/cli/tests/006.phpt diff -u php-src/sapi/cli/tests/006.phpt:1.4 php-src/sapi/cli/tests/006.phpt:1.5 --- php-src/sapi/cli/tests/006.phpt:1.4 Sat Mar 17 19:15:58 2007 +++ php-src/sapi/cli/tests/006.phpt Sat Dec 15 12:44:21 2007 @@ -177,6 +177,8 @@ } Function [ internal:date function date_isodate_set ] { } +Function [ internal:date function date_timestamp_set ] { +} Function [ internal:date function timezone_open ] { } Function [ internal:date function timezone_name_get ] { @@ -260,7 +262,7 @@ - Properties [0] { } - - Methods [9] { + - Methods [10] { Method [ internal:date, ctor public method __construct ] { } @@ -287,6 +289,9 @@ Method [ internal:date public method setISODate ] { } + +Method [ internal:date public method setTimestamp ] { +} } } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php