Test results for 5.2.5 [failed]
| From: | noreply@php.net | Date: | Sun, 20 Jan 2008 22:08:22 +0000 |
| Subject: | Test results for 5.2.5 [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-60622@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
date OO cloning [ext/date/tests/oo_002.phpt]
phpinfo() [ext/standard/tests/general_functions/phpinfo.phpt]
proc_open [ext/standard/tests/general_functions/proc_open02.phpt]
money_format test [ext/standard/tests/strings/moneyformat.phpt]
Test setlocale() function : basic functionality - setting system locale to a specific
[ext/standard/tests/strings/setlocale_basic1.phpt]
Test setlocale() function : basic functionality - set locale using an array
[ext/standard/tests/strings/setlocale_basic2.phpt]
Test setlocale() function : basic functionality - passing multiple locales as argument
[ext/standard/tests/strings/setlocale_basic3.phpt]
Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument
[ext/standard/tests/strings/setlocale_variation1.phpt]
Test setlocale() function : usage variations - Setting all available locales in the platform
[ext/standard/tests/strings/setlocale_variation2.phpt]
Test setlocale() function : usage variations - setting system locale = 0
[ext/standard/tests/strings/setlocale_variation3.phpt]
Test setlocale() function : usage variations - setting system locale as null
[ext/standard/tests/strings/setlocale_variation4.phpt]
Test setlocale() function : usage variations - Setting system locale as empty string
[ext/standard/tests/strings/setlocale_variation5.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 74
Exts tested : 5
---------------------------------------------------------------------
Number of tests : 4466 2402
Tests skipped : 2064 ( 46.2%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 12 ( 0.3%) ( 0.5%)
Tests passed : 2390 ( 53.5%) ( 99.5%)
---------------------------------------------------------------------
Time taken : 195 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
date OO cloning [ext/date/tests/oo_002.phpt]
phpinfo() [ext/standard/tests/general_functions/phpinfo.phpt]
proc_open [ext/standard/tests/general_functions/proc_open02.phpt]
money_format test [ext/standard/tests/strings/moneyformat.phpt]
Test setlocale() function : basic functionality - setting system locale to a specific
[ext/standard/tests/strings/setlocale_basic1.phpt]
Test setlocale() function : basic functionality - set locale using an array
[ext/standard/tests/strings/setlocale_basic2.phpt]
Test setlocale() function : basic functionality - passing multiple locales as argument
[ext/standard/tests/strings/setlocale_basic3.phpt]
Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument
[ext/standard/tests/strings/setlocale_variation1.phpt]
Test setlocale() function : usage variations - Setting all available locales in the platform
[ext/standard/tests/strings/setlocale_variation2.phpt]
Test setlocale() function : usage variations - setting system locale = 0
[ext/standard/tests/strings/setlocale_variation3.phpt]
Test setlocale() function : usage variations - setting system locale as null
[ext/standard/tests/strings/setlocale_variation4.phpt]
Test setlocale() function : usage variations - Setting system locale as empty string
[ext/standard/tests/strings/setlocale_variation5.phpt]
=====================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/date/tests/oo_002.phpt
================================================================================
string(29) "Fri, 01 Aug 08 13:00:00 +0000"
string(29) "Fri, 01 Aug 08 13:00:00 +0000"
string(29) "Fri, 01 Aug 08 14:00:00 +0000"
string(29) "Fri, 01 Aug 08 12:59:59 +0000"
string(10) "Asia/Tokyo"
string(10) "Asia/Tokyo"
================================================================================
001+ string(29) "Fri, 01 Aug 08 13:00:00 +0000"
002+ string(29) "Fri, 01 Aug 08 13:00:00 +0000"
003+ string(29) "Fri, 01 Aug 08 14:00:00 +0000"
004+ string(29) "Fri, 01 Aug 08 12:59:59 +0000"
001- string(29) "Wed, 01 Aug 07 13:00:00 +0000"
002- string(29) "Wed, 01 Aug 07 13:00:00 +0000"
003- string(29) "Wed, 01 Aug 07 14:00:00 +0000"
004- string(29) "Wed, 01 Aug 07 12:59:59 +0000"
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.phpt
================================================================================
phpinfo()
PHP Version => 5.2.5
System => FreeBSD monastyr 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Sun Jan 13 15:49:11 MSK 2008
john@monastyr:/usr/src/sys/i386/compile/MONASTYR i386
Build Date => Jan 21 2008 01:01:55
Configure Command => './configure' '--with-layout=GNU'
'--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
'--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
'--program-prefix=' '--enable-force-cgi-redirect'
'--enable-discard-path' '--enable-fastcgi'
'--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php'
'--with-pcre-regex=yes' '--with-zend-vm=CALL'
'--enable-zend-multibyte' '--disable-ipv6' '--prefix=/usr/local'
'--mandir=/usr/local/man' '--infodir=/usr/local/info/'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/etc
Loaded Configuration File => /usr/ports/lang/php5/work/php-5.2.5/tmp-php.ini
Scan this dir for additional .ini files => /usr/local/etc/php
PHP API => 20041225
PHP Extension => 20060613
Zend Extension => 220060519
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
IPv6 Support => disabled
Registered PHP Streams => php, file, data, http, ftp
Registered Stream Socket Transports => tcp, udp, unix, udg
Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags,
convert.*, consumed
This server is protected with the Suhosin Patch 0.9.6.2
Copyright (c) 2006 Hardened-PHP Project
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
_______________________________________________________________________
Configuration
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
detect_unicode => On => On
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => STDOUT => STDOUT
display_startup_errors => On => On
doc_root => no value => no value
docref_ext => .html => .html
docref_root => no value => no value
enable_dl => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => 8191 => 8191
expose_php => On => On
extension_dir => /usr/ports/lang/php5/work/php-5.2.5/modules/ =>
/usr/ports/lang/php5/work/php-5.2.5/modules/
file_uploads => On => On
highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font
style="color: #FFFFFF">#FFFFFF</font>
highlight.comment => <font style="color: #FF8000">#FF8000</font> =>
<font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> =>
<font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> =>
<font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> =>
<font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> =>
<font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .: => .:
log_errors => Off => Off
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.force_extra_parameters => no value => no value
max_execution_time => 0 => 0
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
memory_limit => 128M => 128M
open_basedir => no value => no value
output_buffering => no value => no value
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
register_globals => Off => Off
register_long_arrays => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
suhosin.log.phpscript => 0 => 0
suhosin.log.phpscript.is_safe => Off => Off
suhosin.log.phpscript.name => no value => no value
suhosin.log.sapi => no value => no value
suhosin.log.script => no value => no value
suhosin.log.script.name => no value => no value
suhosin.log.syslog => no value => no value
suhosin.log.syslog.facility => no value => no value
suhosin.log.syslog.priority => no value => no value
suhosin.log.use-x-forwarded-for => Off => Off
track_errors => On => On
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.ze1_compatibility_mode => Off => Off
date
date/time support => enabled
"Olson" Timezone Database Version => 2007.9
Timezone Database => internal
Strict Standards: phpinfo(): It is not safe to rely on the system's timezone settings. Please
use the date.timezone setting, the TZ environment variable or the date_default_timezone_set()
function. In case you used any of those methods and you are still getting this warning, you most
likely misspelled the timezone identifier. We selected 'Europe/Moscow' for
'MSK/3.0/no DST' instead in
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php on line 2
Default timezone => Europe/Moscow
Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value
libxml
libXML support => active
libXML Version => 2.6.30
libXML streams => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 7.3 2007-08-28
Directive => Local Value => Master Value
pcre.backtrack_limit => 100000 => 100000
pcre.recursion_limit => 100000 => 100000
Reflection
Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp $
standard
Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= =>
a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value
Additional Modules
Module Name
Environment
Variable => Value
USER => john
SSH_CLIENT => 195.112.125.48 4738 22
MACHTYPE => i386
MAIL => /var/mail/john
VENDOR => intel
SHLVL => 2
HOME => /root
TEST_PHP_SRCDIR => /usr/ports/lang/php5/work/php-5.2.5
SSH_TTY => /dev/ttyp0
PAGER => more
SCRIPT_FILENAME =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
PATH_TRANSLATED =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
GROUP => john
LOGNAME => john
TEST_PHP_EXECUTABLE => /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php
TERM => vt100
BLOCKSIZE => K
PATH =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
REMOTEHOST => 195.112.125.48
SSH_AUTH_SOCK => /tmp/ssh-UGpwiiPPrg/agent.756
SHELL => /bin/csh
HOST => monastyr
REDIRECT_STATUS => 1
__MKLVL__ => 1
REQUEST_METHOD => GET
OSTYPE => FreeBSD
PWD => /usr/ports/lang/php5/work/php-5.2.5
SSH_CONNECTION => 195.112.125.48 4738 195.112.109.4 22
FTP_PASSIVE_MODE => YES
CC => gcc
USE_ZEND_ALLOC => 1
HOSTTYPE => FreeBSD
EDITOR => ee
PHP Variables
Variable => Value
_SERVER["USER"] => john
_SERVER["SSH_CLIENT"] => 195.112.125.48 4738 22
_SERVER["MACHTYPE"] => i386
_SERVER["MAIL"] => /var/mail/john
_SERVER["VENDOR"] => intel
_SERVER["SHLVL"] => 2
_SERVER["HOME"] => /root
_SERVER["TEST_PHP_SRCDIR"] => /usr/ports/lang/php5/work/php-5.2.5
_SERVER["SSH_TTY"] => /dev/ttyp0
_SERVER["PAGER"] => more
_SERVER["SCRIPT_FILENAME"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
_SERVER["PATH_TRANSLATED"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
_SERVER["GROUP"] => john
_SERVER["LOGNAME"] => john
_SERVER["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php
_SERVER["TERM"] => vt100
_SERVER["BLOCKSIZE"] => K
_SERVER["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
_SERVER["REMOTEHOST"] => 195.112.125.48
_SERVER["SSH_AUTH_SOCK"] => /tmp/ssh-UGpwiiPPrg/agent.756
_SERVER["SHELL"] => /bin/csh
_SERVER["HOST"] => monastyr
_SERVER["REDIRECT_STATUS"] => 1
_SERVER["__MKLVL__"] => 1
_SERVER["REQUEST_METHOD"] => GET
_SERVER["OSTYPE"] => FreeBSD
_SERVER["PWD"] => /usr/ports/lang/php5/work/php-5.2.5
_SERVER["SSH_CONNECTION"] => 195.112.125.48 4738 195.112.109.4 22
_SERVER["FTP_PASSIVE_MODE"] => YES
_SERVER["CC"] => gcc
_SERVER["USE_ZEND_ALLOC"] => 1
_SERVER["HOSTTYPE"] => FreeBSD
_SERVER["EDITOR"] => ee
_SERVER["PHP_SELF"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
_SERVER["SCRIPT_NAME"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] => 1200866780
_SERVER["argv"] => Array
(
[0] => /usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
)
_SERVER["argc"] => 1
_ENV["USER"] => john
_ENV["SSH_CLIENT"] => 195.112.125.48 4738 22
_ENV["MACHTYPE"] => i386
_ENV["MAIL"] => /var/mail/john
_ENV["VENDOR"] => intel
_ENV["SHLVL"] => 2
_ENV["HOME"] => /root
_ENV["TEST_PHP_SRCDIR"] => /usr/ports/lang/php5/work/php-5.2.5
_ENV["SSH_TTY"] => /dev/ttyp0
_ENV["PAGER"] => more
_ENV["SCRIPT_FILENAME"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
_ENV["PATH_TRANSLATED"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
_ENV["GROUP"] => john
_ENV["LOGNAME"] => john
_ENV["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php
_ENV["TERM"] => vt100
_ENV["BLOCKSIZE"] => K
_ENV["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
_ENV["REMOTEHOST"] => 195.112.125.48
_ENV["SSH_AUTH_SOCK"] => /tmp/ssh-UGpwiiPPrg/agent.756
_ENV["SHELL"] => /bin/csh
_ENV["HOST"] => monastyr
_ENV["REDIRECT_STATUS"] => 1
_ENV["__MKLVL__"] => 1
_ENV["REQUEST_METHOD"] => GET
_ENV["OSTYPE"] => FreeBSD
_ENV["PWD"] => /usr/ports/lang/php5/work/php-5.2.5
_ENV["SSH_CONNECTION"] => 195.112.125.48 4738 195.112.109.4 22
_ENV["FTP_PASSIVE_MODE"] => YES
_ENV["CC"] => gcc
_ENV["USE_ZEND_ALLOC"] => 1
_ENV["HOSTTYPE"] => FreeBSD
_ENV["EDITOR"] => ee
PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.
bool(true)
--
Warning: phpinfo() expects parameter 1 to be long, array given in
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php on line 5
NULL
--
phpinfo()
bool(true)
--
phpinfo()
PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.
bool(true)
================================================================================
011+ Scan this dir for additional .ini files => /usr/local/etc/php
023+
025+ Copyright (c) 2006 Hardened-PHP Project
026+
027+
028+ This program makes use of the Zend Scripting Language Engine:
029+ Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
030+
031+
031-
032- Additional Modules
036- Environment
037-
040+ allow_call_time_pass_reference => On => On
041+ allow_url_fopen => On => On
042+ allow_url_include => Off => Off
043+ always_populate_raw_post_data => Off => Off
044+ arg_separator.input => & => &
045+ arg_separator.output => & => &
046+ asp_tags => Off => Off
047+ auto_append_file => no value => no value
048+ auto_globals_jit => On => On
049+ auto_prepend_file => no value => no value
050+ browscap => no value => no value
051+ default_charset => no value => no value
052+ default_mimetype => text/html => text/html
053+ define_syslog_variables => Off => Off
054+ detect_unicode => On => On
055+ disable_classes => no value => no value
056+ disable_functions => no value => no value
057+ display_errors => STDOUT => STDOUT
058+ display_startup_errors => On => On
059+ doc_root => no value => no value
060+ docref_ext => .html => .html
061+ docref_root => no value => no value
062+ enable_dl => On => On
063+ error_append_string => no value => no value
064+ error_log => no value => no value
065+ error_prepend_string => no value => no value
066+ error_reporting => 8191 => 8191
067+ expose_php => On => On
068+ extension_dir => /usr/ports/lang/php5/work/php-5.2.5/modules/ =>
/usr/ports/lang/php5/work/php-5.2.5/modules/
069+ file_uploads => On => On
070+ highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> =>
<font style="color: #FFFFFF">#FFFFFF</font>
071+ highlight.comment => <font style="color: #FF8000">#FF8000</font> =>
<font style="color: #FF8000">#FF8000</font>
072+ highlight.default => <font style="color: #0000BB">#0000BB</font> =>
<font style="color: #0000BB">#0000BB</font>
073+ highlight.html => <font style="color: #000000">#000000</font> =>
<font style="color: #000000">#000000</font>
074+ highlight.keyword => <font style="color: #007700">#007700</font> =>
<font style="color: #007700">#007700</font>
075+ highlight.string => <font style="color: #DD0000">#DD0000</font> =>
<font style="color: #DD0000">#DD0000</font>
076+ html_errors => Off => Off
077+ ignore_repeated_errors => Off => Off
078+ ignore_repeated_source => Off => Off
079+ ignore_user_abort => Off => Off
080+ implicit_flush => On => On
081+ include_path => .: => .:
082+ log_errors => Off => Off
083+ log_errors_max_len => 1024 => 1024
084+ magic_quotes_gpc => On => On
085+ magic_quotes_runtime => Off => Off
086+ magic_quotes_sybase => Off => Off
087+ mail.force_extra_parameters => no value => no value
088+ max_execution_time => 0 => 0
089+ max_input_nesting_level => 64 => 64
090+ max_input_time => -1 => -1
091+ memory_limit => 128M => 128M
092+ open_basedir => no value => no value
093+ output_buffering => no value => no value
094+ output_handler => no value => no value
095+ post_max_size => 8M => 8M
096+ precision => 14 => 14
097+ realpath_cache_size => 16K => 16K
098+ realpath_cache_ttl => 120 => 120
099+ register_argc_argv => On => On
100+ register_globals => Off => Off
101+ register_long_arrays => On => On
102+ report_memleaks => On => On
103+ report_zend_debug => Off => Off
104+ safe_mode => Off => Off
105+ safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin
106+ safe_mode_gid => Off => Off
107+ safe_mode_include_dir => no value => no value
108+ sendmail_from => no value => no value
109+ sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
110+ serialize_precision => 100 => 100
111+ short_open_tag => On => On
112+ SMTP => localhost => localhost
113+ smtp_port => 25 => 25
114+ sql.safe_mode => Off => Off
115+ suhosin.log.phpscript => 0 => 0
116+ suhosin.log.phpscript.is_safe => Off => Off
117+ suhosin.log.phpscript.name => no value => no value
118+ suhosin.log.sapi => no value => no value
119+ suhosin.log.script => no value => no value
120+ suhosin.log.script.name => no value => no value
121+ suhosin.log.syslog => no value => no value
122+ suhosin.log.syslog.facility => no value => no value
123+ suhosin.log.syslog.priority => no value => no value
124+ suhosin.log.use-x-forwarded-for => Off => Off
125+ track_errors => On => On
126+ unserialize_callback_func => no value => no value
127+ upload_max_filesize => 2M => 2M
128+ upload_tmp_dir => no value => no value
129+ user_dir => no value => no value
130+ variables_order => EGPCS => EGPCS
131+ xmlrpc_error_number => 0 => 0
132+ xmlrpc_errors => Off => Off
133+ y2k_compliance => On => On
134+ zend.ze1_compatibility_mode => Off => Off
040- PHP Variables
044- PHP License
046- bool(true)
047- --
049- Warning: phpinfo() expects parameter 1 to be long, array given in %sphpinfo.php on line 5
050- NULL
051- --
052- phpinfo()
053- bool(true)
054- --
055- phpinfo()
139+ "Olson" Timezone Database Version => 2007.9
140+ Timezone Database => internal
142+ Strict Standards: phpinfo(): It is not safe to rely on the system's timezone settings.
Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set()
function. In case you used any of those methods and you are still getting this warning, you most
likely misspelled the timezone identifier. We selected 'Europe/Moscow' for
'MSK/3.0/no DST' instead in
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php on line 2
143+ Default timezone => Europe/Moscow
146+ date.default_latitude => 31.7667 => 31.7667
147+ date.default_longitude => 35.2333 => 35.2333
148+ date.sunrise_zenith => 90.583333 => 90.583333
149+ date.sunset_zenith => 90.583333 => 90.583333
150+ date.timezone => no value => no value
153+
154+ libXML support => active
155+ libXML Version => 2.6.30
156+ libXML streams => enabled
157+
158+ pcre
159+
160+ PCRE (Perl Compatible Regular Expressions) Support => enabled
161+ PCRE Library Version => 7.3 2007-08-28
162+
163+ Directive => Local Value => Master Value
164+ pcre.backtrack_limit => 100000 => 100000
165+ pcre.recursion_limit => 100000 => 100000
166+
167+ Reflection
168+
169+ Reflection => enabled
170+ Version => $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp $
171+
172+ standard
173+
174+ Regex Library => Bundled library enabled
175+ Dynamic Library Support => enabled
176+ Path to sendmail => /usr/sbin/sendmail -t -i
178+ Directive => Local Value => Master Value
179+ assert.active => 1 => 1
180+ assert.bail => 0 => 0
181+ assert.callback => no value => no value
182+ assert.quiet_eval => 0 => 0
183+ assert.warning => 1 => 1
184+ auto_detect_line_endings => 0 => 0
185+ default_socket_timeout => 60 => 60
186+ safe_mode_allowed_env_vars => PHP_ => PHP_
187+ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
188+ url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= =>
a=href,area=href,frame=src,form=,fieldset=
189+ user_agent => no value => no value
190+
191+ Additional Modules
192+
193+ Module Name
194+
195+ Environment
197+ Variable => Value
198+ USER => john
199+ SSH_CLIENT => 195.112.125.48 4738 22
200+ MACHTYPE => i386
201+ MAIL => /var/mail/john
202+ VENDOR => intel
203+ SHLVL => 2
204+ HOME => /root
205+ TEST_PHP_SRCDIR => /usr/ports/lang/php5/work/php-5.2.5
206+ SSH_TTY => /dev/ttyp0
207+ PAGER => more
208+ SCRIPT_FILENAME =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
209+ PATH_TRANSLATED =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
210+ GROUP => john
211+ LOGNAME => john
212+ TEST_PHP_EXECUTABLE => /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php
213+ TERM => vt100
214+ BLOCKSIZE => K
215+ PATH =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
216+ REMOTEHOST => 195.112.125.48
217+ SSH_AUTH_SOCK => /tmp/ssh-UGpwiiPPrg/agent.756
218+ SHELL => /bin/csh
219+ HOST => monastyr
220+ REDIRECT_STATUS => 1
221+ __MKLVL__ => 1
222+ REQUEST_METHOD => GET
223+ OSTYPE => FreeBSD
224+ PWD => /usr/ports/lang/php5/work/php-5.2.5
225+ SSH_CONNECTION => 195.112.125.48 4738 195.112.109.4 22
226+ FTP_PASSIVE_MODE => YES
227+ CC => gcc
228+ USE_ZEND_ALLOC => 1
229+ HOSTTYPE => FreeBSD
230+ EDITOR => ee
231+
232+ PHP Variables
233+
234+ Variable => Value
235+ _SERVER["USER"] => john
236+ _SERVER["SSH_CLIENT"] => 195.112.125.48 4738 22
237+ _SERVER["MACHTYPE"] => i386
238+ _SERVER["MAIL"] => /var/mail/john
239+ _SERVER["VENDOR"] => intel
240+ _SERVER["SHLVL"] => 2
241+ _SERVER["HOME"] => /root
242+ _SERVER["TEST_PHP_SRCDIR"] => /usr/ports/lang/php5/work/php-5.2.5
243+ _SERVER["SSH_TTY"] => /dev/ttyp0
244+ _SERVER["PAGER"] => more
245+ _SERVER["SCRIPT_FILENAME"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
246+ _SERVER["PATH_TRANSLATED"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
247+ _SERVER["GROUP"] => john
248+ _SERVER["LOGNAME"] => john
249+ _SERVER["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php
250+ _SERVER["TERM"] => vt100
251+ _SERVER["BLOCKSIZE"] => K
252+ _SERVER["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
253+ _SERVER["REMOTEHOST"] => 195.112.125.48
254+ _SERVER["SSH_AUTH_SOCK"] => /tmp/ssh-UGpwiiPPrg/agent.756
255+ _SERVER["SHELL"] => /bin/csh
256+ _SERVER["HOST"] => monastyr
257+ _SERVER["REDIRECT_STATUS"] => 1
258+ _SERVER["__MKLVL__"] => 1
259+ _SERVER["REQUEST_METHOD"] => GET
260+ _SERVER["OSTYPE"] => FreeBSD
261+ _SERVER["PWD"] => /usr/ports/lang/php5/work/php-5.2.5
262+ _SERVER["SSH_CONNECTION"] => 195.112.125.48 4738 195.112.109.4 22
263+ _SERVER["FTP_PASSIVE_MODE"] => YES
264+ _SERVER["CC"] => gcc
265+ _SERVER["USE_ZEND_ALLOC"] => 1
266+ _SERVER["HOSTTYPE"] => FreeBSD
267+ _SERVER["EDITOR"] => ee
268+ _SERVER["PHP_SELF"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
269+ _SERVER["SCRIPT_NAME"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
270+ _SERVER["DOCUMENT_ROOT"] =>
271+ _SERVER["REQUEST_TIME"] => 1200866780
272+ _SERVER["argv"] => Array
273+ (
274+ [0] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
275+ )
276+
277+ _SERVER["argc"] => 1
278+ _ENV["USER"] => john
279+ _ENV["SSH_CLIENT"] => 195.112.125.48 4738 22
280+ _ENV["MACHTYPE"] => i386
281+ _ENV["MAIL"] => /var/mail/john
282+ _ENV["VENDOR"] => intel
283+ _ENV["SHLVL"] => 2
284+ _ENV["HOME"] => /root
285+ _ENV["TEST_PHP_SRCDIR"] => /usr/ports/lang/php5/work/php-5.2.5
286+ _ENV["SSH_TTY"] => /dev/ttyp0
287+ _ENV["PAGER"] => more
288+ _ENV["SCRIPT_FILENAME"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
289+ _ENV["PATH_TRANSLATED"] =>
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php
290+ _ENV["GROUP"] => john
291+ _ENV["LOGNAME"] => john
292+ _ENV["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php
293+ _ENV["TERM"] => vt100
294+ _ENV["BLOCKSIZE"] => K
295+ _ENV["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
296+ _ENV["REMOTEHOST"] => 195.112.125.48
297+ _ENV["SSH_AUTH_SOCK"] => /tmp/ssh-UGpwiiPPrg/agent.756
298+ _ENV["SHELL"] => /bin/csh
299+ _ENV["HOST"] => monastyr
300+ _ENV["REDIRECT_STATUS"] => 1
301+ _ENV["__MKLVL__"] => 1
302+ _ENV["REQUEST_METHOD"] => GET
303+ _ENV["OSTYPE"] => FreeBSD
304+ _ENV["PWD"] => /usr/ports/lang/php5/work/php-5.2.5
305+ _ENV["SSH_CONNECTION"] => 195.112.125.48 4738 195.112.109.4 22
306+ _ENV["FTP_PASSIVE_MODE"] => YES
307+ _ENV["CC"] => gcc
308+ _ENV["USE_ZEND_ALLOC"] => 1
309+ _ENV["HOSTTYPE"] => FreeBSD
310+ _ENV["EDITOR"] => ee
311+
314+ it under the terms of the PHP License as published by the PHP Group
315+ and included in the distribution in the file: LICENSE
316+
317+ This program is distributed in the hope that it will be useful,
318+ but WITHOUT ANY WARRANTY; without even the implied warranty of
319+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
320+
321+ If you did not receive a copy of the PHP license, or have any
322+ questions about PHP licensing, please contact license@php.net.
324+ --
325+
326+ Warning: phpinfo() expects parameter 1 to be long, array given in
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/phpinfo.php on line 5
327+ NULL
328+ --
329+ phpinfo()
330+ bool(true)
331+ --
332+ phpinfo()
333+
334+ PHP License
335+ This program is free software; you can redistribute it and/or modify
336+ it under the terms of the PHP License as published by the PHP Group
337+ and included in the distribution in the file: LICENSE
338+
339+ This program is distributed in the hope that it will be useful,
340+ but WITHOUT ANY WARRANTY; without even the implied warranty of
341+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
342+
343+ If you did not receive a copy of the PHP license, or have any
344+ questions about PHP licensing, please contact license@php.net.
345+ bool(true)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/general_functions/proc_open02.phpt
================================================================================
bool(true)
array(8) {
["command"]=>
string(28) "/usr/bin/nohup /bin/sleep 50"
["pid"]=>
int(33313)
["running"]=>
bool(false)
["signaled"]=>
bool(true)
["stopped"]=>
bool(false)
["exitcode"]=>
int(-1)
["termsig"]=>
int(1)
["stopsig"]=>
int(0)
}
bool(false)
array(8) {
["command"]=>
string(28) "/usr/bin/nohup /bin/sleep 50"
["pid"]=>
int(33313)
["running"]=>
bool(false)
["signaled"]=>
bool(false)
["stopped"]=>
bool(false)
["exitcode"]=>
int(-1)
["termsig"]=>
int(0)
["stopsig"]=>
int(0)
}
Done!
================================================================================
008+ bool(false)
009+ ["signaled"]=>
009- ["signaled"]=>
010- bool(false)
016+ int(1)
016- int(0)
020+ bool(false)
020- bool(true)
029+ bool(false)
029- bool(true)
035+ int(0)
035- int(15)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/strings/moneyformat.phpt
================================================================================
string(6) "X3.14Y"
Warning: money_format(): Only a single %i or %n token can be used in
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/strings/moneyformat.php on line 4
bool(false)
================================================================================
001+ string(6) "X3.14Y"
001- string(7) "X$3.14Y"
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/strings/setlocale_basic1.phpt
================================================================================
*** Testing setlocale() : basic functionality - set to a specific locale ***
Setting system locale(LC_ALL) to Checking currency settings in the new locale, expected: EUR, Found:
Test FAILED.
Done
================================================================================
003+ Test FAILED.
003- string(%d) %s
004- Checking currency settings in the new locale, expected: %s, Found: %s
005- Test PASSED.
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/strings/setlocale_basic2.phpt
================================================================================
*** Testing setlocale() with an array containing list of locales ***
-- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument
as an array --
Test FAILED.
Done
================================================================================
003+ Test FAILED.
003- string(%d) "%s"
004- Checking currency settings in the new locale, expected: %s, Found: %s
005- Test PASSED.
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/strings/setlocale_basic3.phpt
================================================================================
*** Testing setlocale() by passing multiple locales as argument ***
Done
================================================================================
002- -- Testing setlocale() by giving 'category' as LC_ALL & multiple
locales(en_US.utf8, Ko_KR.utf8, zh_CN.utf8) --
003- string(%d) "%s"
004- Checking currency settings in the new locale, expected: %s, Found: %s
005- Test PASSED.
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/strings/setlocale_variation1.phpt
================================================================================
*** Testing setlocale() by passing multiple valid/invalid locales as argument ***
Done
================================================================================
002- -- Testing setlocale() by giving 'category' as LC_ALL & multiple
locales(en_US.invalid, en_US.utf8, Ko_KR.utf8, KO_KR.invalid, zh_CN.utf8) --
003- string(%d) "%s"
004- Checking currency settings in the new locale, expected: %s, Found: %s
005- Test PASSED.
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/strings/setlocale_variation2.phpt
================================================================================
*** Testing setlocale() : usage variations ***
-- Test setlocale() with all available locale in the system --
No of locales found on the machine = 157
No of setlocale() success = 152
Expected no of failures = 0
Test FAILED
Names of locale() for which setlocale() failed ...
array(5) {
[0]=>
string(15) "la_LN.ISO8859-1"
[1]=>
string(16) "la_LN.ISO8859-15"
[2]=>
string(15) "la_LN.ISO8859-2"
[3]=>
string(15) "la_LN.ISO8859-4"
[4]=>
string(14) "la_LN.US-ASCII"
}
Done
================================================================================
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(5) {
009+ [0]=>
010+ string(15) "la_LN.ISO8859-1"
011+ [1]=>
012+ string(16) "la_LN.ISO8859-15"
013+ [2]=>
014+ string(15) "la_LN.ISO8859-2"
015+ [3]=>
016+ string(15) "la_LN.ISO8859-4"
017+ [4]=>
018+ string(14) "la_LN.US-ASCII"
019+ }
020+ Done
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/strings/setlocale_variation3.phpt
================================================================================
*** Testing setlocale() : usage variations - setting system locale = 0 ***
Locale info, before setting the locale
array(18) {
["decimal_point"]=>
string(1) "."
["thousands_sep"]=>
string(0) ""
["int_curr_symbol"]=>
string(0) ""
["currency_symbol"]=>
string(0) ""
["mon_decimal_point"]=>
string(0) ""
["mon_thousands_sep"]=>
string(0) ""
["positive_sign"]=>
string(0) ""
["negative_sign"]=>
string(0) ""
["int_frac_digits"]=>
int(127)
["frac_digits"]=>
int(127)
["p_cs_precedes"]=>
int(127)
["p_sep_by_space"]=>
int(127)
["n_cs_precedes"]=>
int(127)
["n_sep_by_space"]=>
int(127)
["p_sign_posn"]=>
int(127)
["n_sign_posn"]=>
int(127)
["grouping"]=>
array(1) {
[0]=>
int(127)
}
["mon_grouping"]=>
array(1) {
[0]=>
int(127)
}
}
Setting system locale, category = LC_ALL and locale = 0
Locale info, after setting the locale
array(18) {
["decimal_point"]=>
string(1) "."
["thousands_sep"]=>
string(0) ""
["int_curr_symbol"]=>
string(0) ""
["currency_symbol"]=>
string(0) ""
["mon_decimal_point"]=>
string(0) ""
["mon_thousands_sep"]=>
string(0) ""
["positive_sign"]=>
string(0) ""
["negative_sign"]=>
string(0) ""
["int_frac_digits"]=>
int(127)
["frac_digits"]=>
int(127)
["p_cs_precedes"]=>
int(127)
["p_sep_by_space"]=>
int(127)
["n_cs_precedes"]=>
int(127)
["n_sep_by_space"]=>
int(127)
["p_sign_posn"]=>
int(127)
["n_sign_posn"]=>
int(127)
["grouping"]=>
array(1) {
[0]=>
int(127)
}
["mon_grouping"]=>
array(1) {
[0]=>
int(127)
}
}
Checking locale in the system, Expected : no change in the existing locale
Test PASSED.
Done
================================================================================
007+ string(0) ""
007- string(1) ","
009+ string(0) ""
009- string(4) "USD "
011+ string(0) ""
011- string(1) "$"
013+ string(0) ""
013- string(1) "."
015+ string(0) ""
015- string(1) ","
019+ string(0) ""
019- string(1) "-"
021+ int(127)
021- int(2)
023+ int(127)
023- int(2)
025+ int(127)
025- int(1)
027+ int(127)
027- int(0)
029+ int(127)
029- int(1)
031+ int(127)
031- int(0)
033+ int(127)
033- int(1)
035+ int(127)
035- int(1)
037+ array(1) {
037- array(2) {
039+ int(127)
039- int(3)
040- [1]=>
041- int(3)
042+ array(1) {
044+ int(127)
044- array(2) {
046- int(3)
047- [1]=>
048- int(3)
053+ string(0) ""
055+ string(0) ""
057+ string(0) ""
057- string(1) ","
059+ string(0) ""
059- string(4) "USD "
061+ string(0) ""
061- string(1) "$"
063- string(1) "."
065+ string(0) ""
065- string(1) ","
067+ int(127)
069+ int(127)
069- string(1) "-"
071+ int(127)
071- int(2)
073+ int(127)
073- int(2)
075+ int(127)
075- int(1)
077+ int(127)
077- int(0)
079+ int(127)
079- int(1)
081+ int(127)
081- int(0)
083+ array(1) {
083- int(1)
085+ int(127)
085- int(1)
087- array(2) {
088+ array(1) {
089- int(3)
090- [1]=>
091- int(3)
090+ int(127)
094- array(2) {
096- int(3)
097- [1]=>
098- int(3)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/strings/setlocale_variation4.phpt
================================================================================
*** Testing setlocale() : usage variations - Setting system locale = null ***
Locale info, before setting the locale
array(18) {
["decimal_point"]=>
string(1) "."
["thousands_sep"]=>
string(0) ""
["int_curr_symbol"]=>
string(0) ""
["currency_symbol"]=>
string(0) ""
["mon_decimal_point"]=>
string(0) ""
["mon_thousands_sep"]=>
string(0) ""
["positive_sign"]=>
string(0) ""
["negative_sign"]=>
string(0) ""
["int_frac_digits"]=>
int(127)
["frac_digits"]=>
int(127)
["p_cs_precedes"]=>
int(127)
["p_sep_by_space"]=>
int(127)
["n_cs_precedes"]=>
int(127)
["n_sep_by_space"]=>
int(127)
["p_sign_posn"]=>
int(127)
["n_sign_posn"]=>
int(127)
["grouping"]=>
array(1) {
[0]=>
int(127)
}
["mon_grouping"]=>
array(1) {
[0]=>
int(127)
}
}
Setting system locale, category = LC_ALL and locale = null
Locale info, after setting the locale
array(18) {
["decimal_point"]=>
string(1) "."
["thousands_sep"]=>
string(0) ""
["int_curr_symbol"]=>
string(0) ""
["currency_symbol"]=>
string(0) ""
["mon_decimal_point"]=>
string(0) ""
["mon_thousands_sep"]=>
string(0) ""
["positive_sign"]=>
string(0) ""
["negative_sign"]=>
string(0) ""
["int_frac_digits"]=>
int(127)
["frac_digits"]=>
int(127)
["p_cs_precedes"]=>
int(127)
["p_sep_by_space"]=>
int(127)
["n_cs_precedes"]=>
int(127)
["n_sep_by_space"]=>
int(127)
["p_sign_posn"]=>
int(127)
["n_sign_posn"]=>
int(127)
["grouping"]=>
array(1) {
[0]=>
int(127)
}
["mon_grouping"]=>
array(1) {
[0]=>
int(127)
}
}
Checking new locale in the system, Expected : the locale names will be set from the values of
environment variables
Test FAILED.
Done
================================================================================
007+ string(0) ""
007- string(1) ","
009+ string(0) ""
009- string(4) "AUD "
011+ string(0) ""
011- string(1) "$"
013+ string(0) ""
013- string(1) "."
015+ string(0) ""
015- string(1) ","
019+ string(0) ""
019- string(1) "-"
021+ int(127)
021- int(2)
023+ int(127)
023- int(2)
025+ int(127)
025- int(1)
027+ int(127)
027- int(0)
029+ int(127)
029- int(1)
031+ int(127)
031- int(0)
033+ int(127)
033- int(1)
035+ int(127)
035- int(1)
037+ array(1) {
037- array(2) {
039+ int(127)
039- int(3)
040- [1]=>
041- int(3)
042+ array(1) {
044+ int(127)
044- array(2) {
046- int(3)
047- [1]=>
048- int(3)
053+ string(0) ""
055+ string(0) ""
057+ string(0) ""
057- string(1) ","
059+ string(0) ""
059- string(4) "USD "
061+ string(0) ""
061- string(1) "$"
063- string(1) "."
065+ string(0) ""
065- string(1) ","
067+ int(127)
069+ int(127)
069- string(1) "-"
071+ int(127)
071- int(2)
073+ int(127)
073- int(2)
075+ int(127)
075- int(1)
077+ int(127)
077- int(0)
079+ int(127)
079- int(1)
081+ int(127)
081- int(0)
083+ array(1) {
083- int(1)
085+ int(127)
085- int(1)
087- array(2) {
088+ array(1) {
089- int(3)
090- [1]=>
091- int(3)
090+ int(127)
094+ Test FAILED.
094- array(2) {
096- int(3)
097- [1]=>
098- int(3)
102- Test PASSED.
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.5/ext/standard/tests/strings/setlocale_variation5.phpt
================================================================================
*** Testing setlocale() : usage variations - setting system locale = "" ***
Locale info, before setting the locale
array(18) {
["decimal_point"]=>
string(1) "."
["thousands_sep"]=>
string(0) ""
["int_curr_symbol"]=>
string(0) ""
["currency_symbol"]=>
string(0) ""
["mon_decimal_point"]=>
string(0) ""
["mon_thousands_sep"]=>
string(0) ""
["positive_sign"]=>
string(0) ""
["negative_sign"]=>
string(0) ""
["int_frac_digits"]=>
int(127)
["frac_digits"]=>
int(127)
["p_cs_precedes"]=>
int(127)
["p_sep_by_space"]=>
int(127)
["n_cs_precedes"]=>
int(127)
["n_sep_by_space"]=>
int(127)
["p_sign_posn"]=>
int(127)
["n_sign_posn"]=>
int(127)
["grouping"]=>
array(1) {
[0]=>
int(127)
}
["mon_grouping"]=>
array(1) {
[0]=>
int(127)
}
}
Setting system locale, category = LC_ALL and locale = ""
Locale info, after setting the locale
array(18) {
["decimal_point"]=>
string(1) "."
["thousands_sep"]=>
string(0) ""
["int_curr_symbol"]=>
string(0) ""
["currency_symbol"]=>
string(0) ""
["mon_decimal_point"]=>
string(0) ""
["mon_thousands_sep"]=>
string(0) ""
["positive_sign"]=>
string(0) ""
["negative_sign"]=>
string(0) ""
["int_frac_digits"]=>
int(127)
["frac_digits"]=>
int(127)
["p_cs_precedes"]=>
int(127)
["p_sep_by_space"]=>
int(127)
["n_cs_precedes"]=>
int(127)
["n_sep_by_space"]=>
int(127)
["p_sign_posn"]=>
int(127)
["n_sign_posn"]=>
int(127)
["grouping"]=>
array(1) {
[0]=>
int(127)
}
["mon_grouping"]=>
array(1) {
[0]=>
int(127)
}
}
Checking new locale in the system, Expected : the locale names will be set from the values of
environment variables
Test FAILED.
Done
================================================================================
007+ string(0) ""
007- string(1) ","
009+ string(0) ""
009- string(4) "AUD "
011+ string(0) ""
011- string(1) "$"
013+ string(0) ""
013- string(1) "."
015+ string(0) ""
015- string(1) ","
019+ string(0) ""
019- string(1) "-"
021+ int(127)
021- int(2)
023+ int(127)
023- int(2)
025+ int(127)
025- int(1)
027+ int(127)
027- int(0)
029+ int(127)
029- int(1)
031+ int(127)
031- int(0)
033+ int(127)
033- int(1)
035+ int(127)
035- int(1)
037+ array(1) {
037- array(2) {
039+ int(127)
039- int(3)
040- [1]=>
041- int(3)
042+ array(1) {
044+ int(127)
044- array(2) {
046- int(3)
047- [1]=>
048- int(3)
053+ string(0) ""
055+ string(0) ""
057+ string(0) ""
057- string(1) ","
059+ string(0) ""
059- string(4) "USD "
061+ string(0) ""
061- string(1) "$"
063- string(1) "."
065+ string(0) ""
065- string(1) ","
067+ int(127)
069+ int(127)
069- string(1) "-"
071+ int(127)
071- int(2)
073+ int(127)
073- int(2)
075+ int(127)
075- int(1)
077+ int(127)
077- int(0)
079+ int(127)
079- int(1)
081+ int(127)
081- int(0)
083+ array(1) {
083- int(1)
085+ int(127)
085- int(1)
087- array(2) {
088+ array(1) {
089- int(3)
090- [1]=>
091- int(3)
090+ int(127)
094+ Test FAILED.
094- array(2) {
096- int(3)
097- [1]=>
098- int(3)
102- Test PASSED.
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
FreeBSD - FreeBSD monastyr 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Sun Jan 13 15:49:11 MSK 2008
john@monastyr:/usr/src/sys/i386/compile/MONASTYR i386
Autoconf:
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
Bundled Libtool:
ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
System Libtool:
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiler:
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
Bison:
Libraries:
/usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php:
libcrypt.so.3 => /lib/libcrypt.so.3 (0x2827b000)
libm.so.4 => /lib/libm.so.4 (0x28293000)
libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x282a9000)
libz.so.3 => /lib/libz.so.3 (0x283b6000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x283c7000)
libc.so.6 => /lib/libc.so.6 (0x284b4000)
User's E-mail: john at maxnet dot ru
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 5.2.5
System => FreeBSD monastyr 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Sun Jan 13 15:49:11 MSK 2008
john@monastyr:/usr/src/sys/i386/compile/MONASTYR i386
Build Date => Jan 21 2008 01:01:55
Configure Command => './configure' '--with-layout=GNU'
'--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
'--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
'--program-prefix=' '--enable-force-cgi-redirect'
'--enable-discard-path' '--enable-fastcgi'
'--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php'
'--with-pcre-regex=yes' '--with-zend-vm=CALL'
'--enable-zend-multibyte' '--disable-ipv6' '--prefix=/usr/local'
'--mandir=/usr/local/man' '--infodir=/usr/local/info/'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/etc
Loaded Configuration File => (none)
Scan this dir for additional .ini files => /usr/local/etc/php
PHP API => 20041225
PHP Extension => 20060613
Zend Extension => 220060519
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
IPv6 Support => disabled
Registered PHP Streams => php, file, data, http, ftp
Registered Stream Socket Transports => tcp, udp, unix, udg
Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags,
convert.*, consumed
This server is protected with the Suhosin Patch 0.9.6.2
Copyright (c) 2006 Hardened-PHP Project
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
_______________________________________________________________________
Configuration
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
detect_unicode => On => On
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => STDOUT => STDOUT
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => no value => no value
expose_php => On => On
extension_dir => /usr/local/lib/php/20060613 => /usr/local/lib/php/20060613
file_uploads => On => On
highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font
style="color: #FFFFFF">#FFFFFF</font>
highlight.comment => <font style="color: #FF8000">#FF8000</font> =>
<font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> =>
<font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> =>
<font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> =>
<font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> =>
<font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .: => .:
log_errors => Off => Off
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.force_extra_parameters => no value => no value
max_execution_time => 0 => 0
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
memory_limit => 128M => 128M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
register_globals => Off => Off
register_long_arrays => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
suhosin.log.phpscript => 0 => 0
suhosin.log.phpscript.is_safe => Off => Off
suhosin.log.phpscript.name => no value => no value
suhosin.log.sapi => no value => no value
suhosin.log.script => no value => no value
suhosin.log.script.name => no value => no value
suhosin.log.syslog => no value => no value
suhosin.log.syslog.facility => no value => no value
suhosin.log.syslog.priority => no value => no value
suhosin.log.use-x-forwarded-for => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.ze1_compatibility_mode => Off => Off
date
date/time support => enabled
"Olson" Timezone Database Version => 2007.9
Timezone Database => internal
Default timezone => Europe/Moscow
Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value
libxml
libXML support => active
libXML Version => 2.6.30
libXML streams => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 7.3 2007-08-28
Directive => Local Value => Master Value
pcre.backtrack_limit => 100000 => 100000
pcre.recursion_limit => 100000 => 100000
Reflection
Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp $
standard
Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= =>
a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value
Additional Modules
Module Name
Environment
Variable => Value
USER => john
SSH_CLIENT => deleted
MACHTYPE => i386
MAIL => /var/mail/john
VENDOR => intel
SHLVL => 2
HOME => /root
TEST_PHP_SRCDIR => /usr/ports/lang/php5/work/php-5.2.5
SSH_TTY => deleted
PAGER => more
GROUP => john
LOGNAME => john
TEST_PHP_EXECUTABLE => /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php
TERM => vt100
BLOCKSIZE => K
PATH =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
REMOTEHOST => 195.112.125.48
SSH_AUTH_SOCK => deleted
SHELL => /bin/csh
HOST => monastyr
__MKLVL__ => 1
OSTYPE => FreeBSD
PWD => /usr/ports/lang/php5/work/php-5.2.5
SSH_CONNECTION => deleted
FTP_PASSIVE_MODE => YES
CC => gcc
HOSTTYPE => FreeBSD
EDITOR => ee
PHP Variables
Variable => Value
_SERVER["USER"] => john
_SERVER["SSH_CLIENT"] => deleted
_SERVER["MACHTYPE"] => i386
_SERVER["MAIL"] => /var/mail/john
_SERVER["VENDOR"] => intel
_SERVER["SHLVL"] => 2
_SERVER["HOME"] => /root
_SERVER["TEST_PHP_SRCDIR"] => /usr/ports/lang/php5/work/php-5.2.5
_SERVER["SSH_TTY"] => deleted
_SERVER["PAGER"] => more
_SERVER["GROUP"] => john
_SERVER["LOGNAME"] => john
_SERVER["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php
_SERVER["TERM"] => vt100
_SERVER["BLOCKSIZE"] => K
_SERVER["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
_SERVER["REMOTEHOST"] => 195.112.125.48
_SERVER["SSH_AUTH_SOCK"] => deleted
_SERVER["SHELL"] => /bin/csh
_SERVER["HOST"] => monastyr
_SERVER["__MKLVL__"] => 1
_SERVER["OSTYPE"] => FreeBSD
_SERVER["PWD"] => /usr/ports/lang/php5/work/php-5.2.5
_SERVER["SSH_CONNECTION"] => deleted
_SERVER["FTP_PASSIVE_MODE"] => YES
_SERVER["CC"] => gcc
_SERVER["HOSTTYPE"] => FreeBSD
_SERVER["EDITOR"] => ee
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] => 1200866902
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["USER"] => john
_ENV["SSH_CLIENT"] => deleted
_ENV["MACHTYPE"] => i386
_ENV["MAIL"] => /var/mail/john
_ENV["VENDOR"] => intel
_ENV["SHLVL"] => 2
_ENV["HOME"] => /root
_ENV["TEST_PHP_SRCDIR"] => /usr/ports/lang/php5/work/php-5.2.5
_ENV["SSH_TTY"] => deleted
_ENV["PAGER"] => more
_ENV["GROUP"] => john
_ENV["LOGNAME"] => john
_ENV["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php
_ENV["TERM"] => vt100
_ENV["BLOCKSIZE"] => K
_ENV["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
_ENV["REMOTEHOST"] => 195.112.125.48
_ENV["SSH_AUTH_SOCK"] => deleted
_ENV["SHELL"] => /bin/csh
_ENV["HOST"] => monastyr
_ENV["__MKLVL__"] => 1
_ENV["OSTYPE"] => FreeBSD
_ENV["PWD"] => /usr/ports/lang/php5/work/php-5.2.5
_ENV["SSH_CONNECTION"] => deleted
_ENV["FTP_PASSIVE_MODE"] => YES
_ENV["CC"] => gcc
_ENV["HOSTTYPE"] => FreeBSD
_ENV["EDITOR"] => ee
PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.