Test results for 5.2.4-dev [failed]

From: Date: Tue, 31 Jul 2007 11:43:33 +0000
Subject: Test results for 5.2.4-dev [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-42776@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail on MacOS X) [tests/lang/bug30638.phpt] clean [ext/blitz/tests/clean.phpt] contexts [ext/blitz/tests/context.phpt] date output wrapper [ext/blitz/tests/date.phpt] errors and warnings: syntax [ext/blitz/tests/errors1.phpt] errors and warnings: execution [ext/blitz/tests/errors2.phpt] fetch#1 [ext/blitz/tests/fetch1.phpt] fetch#3 [ext/blitz/tests/fetch3.phpt] has context [ext/blitz/tests/has_context.phpt] predefined methods: if [ext/blitz/tests/if.phpt] predefined methods: include [ext/blitz/tests/include.phpt] ini-values settings test [ext/blitz/tests/ini.phpt] user-defined methods [ext/blitz/tests/method.phpt] method call from inner include [ext/blitz/tests/mfi.phpt] mix #1 [ext/blitz/tests/mix1.phpt] mix #2 [ext/blitz/tests/mix2.phpt] mix #3 [ext/blitz/tests/mix3.phpt] mix #4 [ext/blitz/tests/mix4.phpt] mix #5 [ext/blitz/tests/mix5.phpt] mix #6 [ext/blitz/tests/mix6.phpt] returning non-strings from user methods [ext/blitz/tests/return_non_string.phpt] set and get [ext/blitz/tests/set_and_get.phpt] variables [ext/blitz/tests/var.phpt] Gettext basic test [ext/gettext/tests/gettext_basic.phpt] mysqli thread_id & kill [ext/mysqli/tests/071.phpt] Bug #38710 (data leakage because of nonexisting boundary checking in statements) [ext/mysqli/tests/bug38710.phpt] Bug #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement) [ext/simplexml/tests/bug38347.phpt] Sort with SORT_LOCALE_STRING [ext/standard/tests/array/locale_sort.phpt] Test fileowner() function: basic functionality [ext/standard/tests/file/fileowner_basic.phpt] Test lstat() and stat() functions: usage variations - effects of touch() on link [ext/standard/tests/file/lstat_stat_variation6.phpt] Test readlink() and realpath functions: basic functionality - diff. path notation for links [ext/standard/tests/file/readlink_realpath_basic1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in object [ext/standard/tests/file/readlink_realpath_variation1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in array [ext/standard/tests/file/readlink_realpath_variation2.phpt] Test gettype() & settype() functions : usage variations [ext/standard/tests/general_functions/gettype_settype_variation2.phpt] htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) [ext/standard/tests/strings/htmlentities02.phpt] (warn: possibly braindead libc) htmlentities() test 4 (setlocale / ja_JP.EUC-JP) [ext/standard/tests/strings/htmlentities04.phpt] htmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/strings/htmlentities15.phpt] Generic pack()/unpack() tests [ext/standard/tests/strings/pack.phpt] shm_attach() tests [ext/sysvshm/tests/002.phpt] shm_remove() tests [ext/sysvshm/tests/007.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 29 Exts tested : 60 --------------------------------------------------------------------- Number of tests : 3925 3332 Tests skipped : 593 ( 15.1%) -------- Tests warned : 1 ( 0.0%) ( 0.0%) Tests failed : 39 ( 1.0%) ( 1.2%) Tests passed : 3292 ( 83.9%) ( 98.8%) --------------------------------------------------------------------- Time taken : 426 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail on MacOS X) [tests/lang/bug30638.phpt] clean [ext/blitz/tests/clean.phpt] contexts [ext/blitz/tests/context.phpt] date output wrapper [ext/blitz/tests/date.phpt] errors and warnings: syntax [ext/blitz/tests/errors1.phpt] errors and warnings: execution [ext/blitz/tests/errors2.phpt] fetch#1 [ext/blitz/tests/fetch1.phpt] fetch#3 [ext/blitz/tests/fetch3.phpt] has context [ext/blitz/tests/has_context.phpt] predefined methods: if [ext/blitz/tests/if.phpt] predefined methods: include [ext/blitz/tests/include.phpt] ini-values settings test [ext/blitz/tests/ini.phpt] user-defined methods [ext/blitz/tests/method.phpt] method call from inner include [ext/blitz/tests/mfi.phpt] mix #1 [ext/blitz/tests/mix1.phpt] mix #2 [ext/blitz/tests/mix2.phpt] mix #3 [ext/blitz/tests/mix3.phpt] mix #4 [ext/blitz/tests/mix4.phpt] mix #5 [ext/blitz/tests/mix5.phpt] mix #6 [ext/blitz/tests/mix6.phpt] returning non-strings from user methods [ext/blitz/tests/return_non_string.phpt] set and get [ext/blitz/tests/set_and_get.phpt] variables [ext/blitz/tests/var.phpt] Gettext basic test [ext/gettext/tests/gettext_basic.phpt] mysqli thread_id & kill [ext/mysqli/tests/071.phpt] Bug #38710 (data leakage because of nonexisting boundary checking in statements) [ext/mysqli/tests/bug38710.phpt] Bug #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement) [ext/simplexml/tests/bug38347.phpt] Sort with SORT_LOCALE_STRING [ext/standard/tests/array/locale_sort.phpt] Test fileowner() function: basic functionality [ext/standard/tests/file/fileowner_basic.phpt] Test lstat() and stat() functions: usage variations - effects of touch() on link [ext/standard/tests/file/lstat_stat_variation6.phpt] Test readlink() and realpath functions: basic functionality - diff. path notation for links [ext/standard/tests/file/readlink_realpath_basic1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in object [ext/standard/tests/file/readlink_realpath_variation1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in array [ext/standard/tests/file/readlink_realpath_variation2.phpt] Test gettype() & settype() functions : usage variations [ext/standard/tests/general_functions/gettype_settype_variation2.phpt] htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) [ext/standard/tests/strings/htmlentities02.phpt] (warn: possibly braindead libc) htmlentities() test 4 (setlocale / ja_JP.EUC-JP) [ext/standard/tests/strings/htmlentities04.phpt] htmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/strings/htmlentities15.phpt] Generic pack()/unpack() tests [ext/standard/tests/strings/pack.phpt] shm_attach() tests [ext/sysvshm/tests/002.phpt] shm_remove() tests [ext/sysvshm/tests/007.phpt] ===================================================================== ================================================================================ /Users/macbook/bin/php5.2-200707311030/tests/lang/bug30638.phpt ================================================================================ decimal_point: , thousands_sep: ================================================================================ 002+ thousands_sep: 002- thousands_sep: . ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/clean.phpt ================================================================================ <? $body = <<<BODY ================================ context cleaning ({{ \$var }}) ================================ <!-- BEGIN a -->context (a) {{ \$va }} <!-- BEGIN b -->context (b) {{ \$vb }} <!-- END b --> <!-- END --> BODY; $T = new Blitz(); $T->load($body); $T->set(array('var' => 'Hello, World!')); $T->block('/a', array('va' => 'va_value')); for($i=0; $i<3; $i++) { $T->block('/a/b', array('vb' => 'vb_value_'.$i)); } echo $T->parse(); $T->clean('/a/b'); echo $T->parse(); $T->clean('/a'); echo $T->parse(); $T->block('/a', array('va' => 'va_value_new')); $T->iterate('/a/b'); echo $T->parse(); $T->clean(); echo $T->parse(); $T->clean('/',FALSE); // clean with no "not found" warning ?> ================================================================================ 001+ <? 002+ 003+ $body = <<<BODY 002- context cleaning (Hello, World!) 004- context (a) 005- va_value 006- context (b) 007- vb_value_0 008- context (b) 009- vb_value_1 010- context (b) 011- vb_value_2 012- 013- ================================ 014- context cleaning (Hello, World!) 015- ================================ 016- context (a) 017- va_value 018- 019- ================================ 020- context cleaning (Hello, World!) 021- ================================ 022- ================================ 023- context cleaning (Hello, World!) 024- ================================ 025- context (a) 026- va_value_new 027- context (b) 028- 029- 030- ================================ 031- context cleaning () 032- ================================ 005+ context cleaning ({{ \$var }}) 007+ <!-- BEGIN a -->context (a) 008+ {{ \$va }} 009+ <!-- BEGIN b -->context (b) 010+ {{ \$vb }} 011+ <!-- END b --> 012+ <!-- END --> 013+ BODY; 014+ 015+ $T = new Blitz(); 016+ $T->load($body); 017+ $T->set(array('var' => 'Hello, World!')); 018+ $T->block('/a', array('va' => 'va_value')); 019+ for($i=0; $i<3; $i++) { 020+ $T->block('/a/b', array('vb' => 'vb_value_'.$i)); 021+ } 022+ echo $T->parse(); 023+ 024+ $T->clean('/a/b'); 025+ echo $T->parse(); 026+ 027+ $T->clean('/a'); 028+ echo $T->parse(); 029+ 030+ $T->block('/a', array('va' => 'va_value_new')); 031+ $T->iterate('/a/b'); 032+ echo $T->parse(); 033+ 034+ $T->clean(); 035+ echo $T->parse(); 036+ $T->clean('/',FALSE); // clean with no "not found" warning 037+ 038+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/context.phpt ================================================================================ Fatal error: blitz::blitz(): unable to open file context.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/context.php on line 2 ================================================================================ 001+ Fatal error: blitz::blitz(): unable to open file context.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/context.php on line 2 001- complex list example 002- list #0 003- row #0:0 004- row #0:1 005- row #0:2 006- row #0:3 007- row #0:4 008- 009- list #1 010- this list is empty 011- 012- list #2 013- row #2:0 014- row #2:1 015- row #2:2 016- row #2:3 017- row #2:4 018- 019- list #3 020- this list is empty 021- 022- list #4 023- row #4:0 024- row #4:1 025- row #4:2 026- row #4:3 027- row #4:4 ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/date.phpt ================================================================================ <? $body = <<<BODY {{ date("%d %m %Y %H:%M:%S",\$time_num); }} {{ date("%d %m %Y %H:%M:%S",\$time_str); }} {{ date("%d %m %Y %H:%M:%S"); }} BODY; $T = new Blitz(); $T->load($body); $time_num = mktime(11, 22, 33, 7, 22, 1976); $time_str = '1976-07-22 01:02:03'; $T->set(array( 'time_num' => $time_num, 'time_str' => $time_str )); echo $T->parse(); ?> ================================================================================ 001+ <? 002+ 003+ $body = <<<BODY 001- 22 07 1976 11:22:33 002- 22 07 1976 01:02:03 003- \d{2} \d{2} \d{4} \d{2}:\d{2}:\d{2} 004+ {{ date("%d %m %Y %H:%M:%S",\$time_num); }} 005+ {{ date("%d %m %Y %H:%M:%S",\$time_str); }} 006+ {{ date("%d %m %Y %H:%M:%S"); }} 007+ 008+ BODY; 009+ 010+ $T = new Blitz(); 011+ $T->load($body); 012+ 013+ $time_num = mktime(11, 22, 33, 7, 22, 1976); 014+ $time_str = '1976-07-22 01:02:03'; 015+ $T->set(array( 016+ 'time_num' => $time_num, 017+ 'time_str' => $time_str 018+ )); 019+ echo $T->parse(); 020+ 021+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/errors1.phpt ================================================================================ <? error_reporting(E_ALL); set_error_handler('my_error_handler'); function my_error_handler($errno, $errstr, $errfile, $errline) { echo $errstr."\n"; } // show all syntax error warnings, that can be thrown by blitz $T = new Blitz('errors.tpl'); ?> ================================================================================ 001+ <? 002+ 003+ error_reporting(E_ALL); 004+ set_error_handler('my_error_handler'); 005+ function my_error_handler($errno, $errstr, $errfile, $errline) { 006+ echo $errstr."\n"; 007+ } 008+ 009+ // show all syntax error warnings, that can be thrown by blitz 010+ $T = new Blitz('errors.tpl'); 001- [^ ]+: SYNTAX ERROR: invalid method call \(errors\.tpl\: line 2, pos 7\) 002- [^ ]+: SYNTAX ERROR: invalid method call \(errors\.tpl\: line 4, pos 3\) 003- [^ ]+: SYNTAX ERROR: invalid method call \(errors\.tpl\: line 5, pos 5\) 004- [^ ]+: SYNTAX ERROR: unexpected tag \(errors\.tpl\: line 7, pos 3\) 005- [^ ]+: SYNTAX ERROR: unexpected tag \(errors\.tpl\: line 9, pos 9\) 006- [^ ]+: SYNTAX ERROR: invalid method call \(errors\.tpl\: line 10, pos 7\) 007- [^ ]+: SYNTAX ERROR: end with no begin \(errors\.tpl\: line 11, pos 5\) 008- [^ ]+: SYNTAX ERROR: invalid <if> syntax, only 2 or 3 arguments allowed \(errors\.tpl\: line 12, pos 3\) 009- [^ ]+: SYNTAX ERROR: invalid <inlcude> syntax, only 1 argument allowed \(errors\.tpl\: line 13, pos 5\) 010- [^ ]+: SYNTAX ERROR: invalid method call \(errors\.tpl\: line 15, pos 7\) 011+ 012+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/errors2.phpt ================================================================================ <? error_reporting(E_ALL); set_error_handler('my_error_handler'); function my_error_handler($errno, $errstr, $errfile, $errline) { echo $errstr."\n"; } class B extends Blitz {} class C extends Blitz { function test() { return "OK"; } } $A = new Blitz(); $A->load('{{ test(); }}'); echo $A->parse(); $B = new Blitz(); $B->load('{{ test(); }}'); echo $B->parse(); $C = new C(); $C->load('{{ test(); }}'); echo $C->parse(); ?> ================================================================================ 001+ <? 002+ 003+ error_reporting(E_ALL); 001- [^ ]+: INTERNAL ERROR: calling user method \"test\" failed, check if this method exists or parameters are valid 002- [^ ]+: INTERNAL ERROR: calling user method \"test\" failed, check if this method exists or parameters are valid 003- OK 004+ set_error_handler('my_error_handler'); 005+ function my_error_handler($errno, $errstr, $errfile, $errline) { 006+ echo $errstr."\n"; 007+ } 008+ 009+ class B extends Blitz {} 010+ 011+ class C extends Blitz { 012+ function test() { 013+ return "OK"; 014+ } 015+ } 016+ 017+ $A = new Blitz(); 018+ $A->load('{{ test(); }}'); 019+ echo $A->parse(); 020+ 021+ $B = new Blitz(); 022+ $B->load('{{ test(); }}'); 023+ echo $B->parse(); 024+ 025+ 026+ $C = new C(); 027+ $C->load('{{ test(); }}'); 028+ echo $C->parse(); 029+ 030+ 031+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/fetch1.phpt ================================================================================ Fatal error: blitz::blitz(): unable to open file fetch.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/fetch1.php on line 3 ================================================================================ 001+ Fatal error: blitz::blitz(): unable to open file fetch.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/fetch1.php on line 3 001- * this is x; c is not empty! * 002- * this is y; b=b_value * 003- * this is z * ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/fetch3.phpt ================================================================================ <? $T = new Blitz('fetch_cmplx.tpl'); for($i=0; $i<10; $i++) { $T->context('/root/a'); $T->set(array('x' => 'x_value#'.$i, 'i'=> $i)); if($i%2) { $T->context('b'); $T->set(array('y' => 'y_value#'.$i)); } echo "FETCH: /root/a\n"; echo $T->fetch('/root/a')."\n"; } echo "\n\n"; $T->set_global(array( 'x' => 'x_global', 'y' => 'y_global', 'i' => 'i_global' )); $i = 0; $i_params = NULL; $paths = array('/root/a', '/root', '/', '/root/a/b'); $T->context('/root/a/b'); $T->set(array('y' => 'yast')); $T->context('/root'); $T->set(array('p1' => 'alpha', 'p2' => 'omega')); $T->context('/root/a'); $T->set(array('x' => 'xenix')); $T->context('/'); $T->set(array('title' => 'complex fetch #1')); $T->context('/root/a'); echo $T->fetch('/', array('title' => 'complex fetch #1')); $T->context('/root/a/b'); $T->set(array('y' => 'yello')); echo $T->fetch('/root'); echo $T->fetch('/',array('title' => 'complex fetch #2')); ?> ================================================================================ 001+ <? 001- FETCH: /root/a 003+ $T = new Blitz('fetch_cmplx.tpl'); 003- A-begin(0) ; x=x_value#0, y= A-end 005+ for($i=0; $i<10; $i++) { 006+ $T->context('/root/a'); 007+ $T->set(array('x' => 'x_value#'.$i, 'i'=> $i)); 008+ if($i%2) { 009+ $T->context('b'); 010+ $T->set(array('y' => 'y_value#'.$i)); 011+ } 012+ echo "FETCH: /root/a\n"; 013+ echo $T->fetch('/root/a')."\n"; 014+ } 005- FETCH: /root/a 007- A-begin(1) B-begin; y=y_value#1 B-end ; x=x_value#1, y= A-end 009- FETCH: /root/a 011- A-begin(2) ; x=x_value#2, y= A-end 013- FETCH: /root/a 015- A-begin(3) B-begin; y=y_value#3 B-end ; x=x_value#3, y= A-end 016+ echo "\n\n"; 017- FETCH: /root/a 018+ $T->set_global(array( 019+ 'x' => 'x_global', 020+ 'y' => 'y_global', 021+ 'i' => 'i_global' 022+ )); 019- A-begin(4) ; x=x_value#4, y= A-end 021- FETCH: /root/a 024+ $i = 0; 025+ $i_params = NULL; 027+ $paths = array('/root/a', '/root', '/', '/root/a/b'); 029+ $T->context('/root/a/b'); 030+ $T->set(array('y' => 'yast')); 031+ $T->context('/root'); 032+ $T->set(array('p1' => 'alpha', 'p2' => 'omega')); 033+ $T->context('/root/a'); 034+ $T->set(array('x' => 'xenix')); 035+ $T->context('/'); 036+ $T->set(array('title' => 'complex fetch #1')); 037+ $T->context('/root/a'); 038+ echo $T->fetch('/', array('title' => 'complex fetch #1')); 040+ $T->context('/root/a/b'); 041+ $T->set(array('y' => 'yello')); 042+ echo $T->fetch('/root'); 044+ echo $T->fetch('/',array('title' => 'complex fetch #2')); 046+ ?> 022- 023- A-begin(5) B-begin; y=y_value#5 B-end ; x=x_value#5, y= A-end 024- 025- FETCH: /root/a 026- 027- A-begin(6) ; x=x_value#6, y= A-end 028- 029- FETCH: /root/a 030- 031- A-begin(7) B-begin; y=y_value#7 B-end ; x=x_value#7, y= A-end 032- 033- FETCH: /root/a 034- 035- A-begin(8) ; x=x_value#8, y= A-end 036- 037- FETCH: /root/a 038- 039- A-begin(9) B-begin; y=y_value#9 B-end ; x=x_value#9, y= A-end 040- 041- 042- 043- complex fetch example complex fetch #1 044- 045- this is root alpha 046- 047- A-begin(i_global) B-begin; y=yast B-end ; x=xenix, y=y_global A-end 048- 049- end of root omega 050- 051- 052- this is root 053- 054- A-begin(i_global) B-begin; y=yello B-end ; x=x_global, y=y_global A-end 055- 056- end of root 057- complex fetch example complex fetch #2 ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/has_context.phpt ================================================================================ <? $body = <<<BODY {{ BEGIN alpha }} {{ BEGIN beta }} {{ END }} {{ END }} BODY; $T = new Blitz(); $T->load($body); $ctx_list = array('/alpha', 'alpha', 'beta', '/beta', '/alpha/beta'); echo "/:\n"; foreach($ctx_list as $ctx_item) { var_dump($T->has_context($ctx_item)); } $T->context('alpha'); echo "/alpha:\n"; foreach($ctx_list as $ctx_item) { var_dump($T->has_context($ctx_item)); } ?> ================================================================================ 001+ <? 002+ 003+ $body = <<<BODY 004+ {{ BEGIN alpha }} 005+ {{ BEGIN beta }} 006+ {{ END }} 007+ {{ END }} 008+ BODY; 009+ 010+ $T = new Blitz(); 011+ $T->load($body); 012+ 001- /: 002- bool(true) 003- bool(true) 004- bool(false) 005- bool(false) 006- bool(true) 007- /alpha: 008- bool(true) 009- bool(false) 010- bool(true) 011- bool(false) 012- bool(true) 013+ $ctx_list = array('/alpha', 'alpha', 'beta', '/beta', '/alpha/beta'); 014+ 015+ echo "/:\n"; 016+ foreach($ctx_list as $ctx_item) { 017+ var_dump($T->has_context($ctx_item)); 018+ } 019+ 020+ $T->context('alpha'); 021+ 022+ echo "/alpha:\n"; 023+ foreach($ctx_list as $ctx_item) { 024+ var_dump($T->has_context($ctx_item)); 025+ } 026+ 027+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/if.phpt ================================================================================ Fatal error: blitz::blitz(): unable to open file if.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/if.php on line 16 ================================================================================ 001+ Fatal error: blitz::blitz(): unable to open file if.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/if.php on line 16 001- TRUE yes, true 002- FALSE yes, false 003- FALSE yes, false 004- FALSE yes, false 005- TRUE yes, true 006- TRUE yes, true 007- TRUE yes, true 008- TRUE yes, true ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/include.phpt ================================================================================ Fatal error: blitz::blitz(): unable to open file include.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/include.php on line 3 ================================================================================ 001+ Fatal error: blitz::blitz(): unable to open file include.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/include.php on line 3 001- include test: a = a_value, b = b_value ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/ini.phpt ================================================================================ <? ini_set('blitz.var_prefix', '@'); ini_set('blitz.tag_open', '<?blitz'); ini_set('blitz.tag_close','?>'); $T = new Blitz(); $T->load("<?blitz @name ?>\n"); $T->set(array('name' => 'name_val')); echo $T->parse(); ?> ================================================================================ 001+ <? 001- name_val 002+ 003+ ini_set('blitz.var_prefix', '@'); 004+ ini_set('blitz.tag_open', '<?blitz'); 005+ ini_set('blitz.tag_close','?>'); 006+ 007+ $T = new Blitz(); 008+ $T->load("<?blitz @name ?>\n"); 009+ 010+ $T->set(array('name' => 'name_val')); 011+ 012+ echo $T->parse(); 013+ 014+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/method.phpt ================================================================================ Fatal error: blitz::blitz(): unable to open file method.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/method.php on line 7 ================================================================================ 001+ Fatal error: blitz::blitz(): unable to open file method.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/method.php on line 7 001- (1) method: OK 002- (2) method (brackets) OK 003- (3) method (brackets,semicolon) OK 004- (4) method (semicolon): OK 005- (5) special variable for alternative format: var_test 006- (5) special variable for alternative format (semicolon): var_test 007- (5) special variable for alternative format (noprefix): var_test 008- (5) special variable for alternative format (noprefix,semicolon): var_test 009- (7) method for alternative format (brackets): OK 010- (8) method for alternative format (brackets, semicolon): OK 011- (9) method with arguments: user method called (blitztemplate,20) 012- parameters are: 013- 1:134 014- 2:2005 015- 3:'hello,world!' 016- 4:NULL 017- 5:2006 ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/mfi.phpt ================================================================================ <? class View extends Blitz { function test($p1, $p2 = 'empty') { return 'View::test call, p1 = "'.$p1.'", p2="'.$p2."\"\n"; } } $T = new View('mfi.tpl'); $T->set_global(array('var' => "hello, world!")); echo $T->parse(); ?> ================================================================================ 001+ <? 002+ 001- Method from include dest 002- test: View::test call, p1 = "some", p2="hello, world!" 003+ class View extends Blitz { 004+ function test($p1, $p2 = 'empty') { 005+ return 'View::test call, p1 = "'.$p1.'", p2="'.$p2."\"\n"; 006+ } 007+ } 008+ 009+ $T = new View('mfi.tpl'); 010+ 011+ $T->set_global(array('var' => "hello, world!")); 012+ echo $T->parse(); 013+ 014+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/mix1.phpt ================================================================================ <? $body = "start = {{\$start }}\n{{ begin test }}name = {{ \$name }}\n{{ end }}"; $T = new Blitz(); $T->load($body); $T->iterate("/test"); $T->set(array("name" => "john")); // this will set name to root context and it will not be seen $T->context("/"); $T->set(array("start" => "done")); echo $T->parse(); ?> ================================================================================ 001+ <? 002+ 001- start = done 002- name = 003+ $body = "start = {{\$start }}\n{{ begin test }}name = {{ \$name }}\n{{ end }}"; 004+ $T = new Blitz(); 005+ $T->load($body); 006+ $T->iterate("/test"); 007+ 008+ $T->set(array("name" => "john")); // this will set name to root context and it will not be seen 009+ 010+ $T->context("/"); 011+ $T->set(array("start" => "done")); 012+ 013+ echo $T->parse(); 014+ 015+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/mix2.phpt ================================================================================ <? $body = "{{ begin test }} hello, {{ \$name }} \n{{ end }}"; $T = new Blitz(); $T->load($body); $T->iterate("/test"); $T->context("/test"); $T->set(array("name" => "john")); echo $T->parse(); ?> ================================================================================ 001+ <? 001- hello, john 002+ 003+ $body = "{{ begin test }} hello, {{ \$name }} \n{{ end }}"; 004+ $T = new Blitz(); 005+ $T->load($body); 006+ $T->iterate("/test"); 007+ $T->context("/test"); 008+ $T->set(array("name" => "john")); 009+ echo $T->parse(); 010+ 011+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/mix3.phpt ================================================================================ <? $body = "start = {{\$start }}\n{{ begin test }}name = {{ \$name }}\n{{ end }}"; $T = new Blitz(); $T->load($body); $T->iterate("/test"); $T->context("/test"); $T->set(array("name" => "john")); $T->context("/"); $T->set(array("start" => "yes")); echo $T->parse(); ?> ================================================================================ 001+ <? 002+ $body = "start = {{\$start }}\n{{ begin test }}name = {{ \$name }}\n{{ end }}"; 001- start = yes 002- name = john 003+ 004+ $T = new Blitz(); 005+ $T->load($body); 006+ $T->iterate("/test"); 007+ $T->context("/test"); 008+ $T->set(array("name" => "john")); 009+ $T->context("/"); 010+ $T->set(array("start" => "yes")); 011+ 012+ echo $T->parse(); 013+ 014+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/mix4.phpt ================================================================================ <? $T = new Blitz(); $body = <<<BODY hello, {{ \$world }} <!-- BEGIN a -->a: {{ \$a }}<!-- END a --> {{ BEGIN b }}b: {{ \$b }}{{ END }} <!-- BEGIN c -->c: {{ \$c }}<!-- END c --> BODY; $T->load($body); for($i=0; $i<1000; $i++) { foreach(array('a','b','c') as $ctx_name) { $T->context('/'.$ctx_name); $T->set(array($ctx_name => $ctx_name.'_val_#'.$i)); } } $T->context('/'); $T->set(array('world' => 'World!')); echo $T->parse(); ?> ================================================================================ 001+ <? 002+ 003+ $T = new Blitz(); 004+ 001- hello, World! 002- a: a_val_#999 003- b: b_val_#999 004- c: c_val_#999 005+ $body = <<<BODY 006+ hello, {{ \$world }} 007+ <!-- BEGIN a -->a: {{ \$a }}<!-- END a --> 008+ {{ BEGIN b }}b: {{ \$b }}{{ END }} 009+ <!-- BEGIN c -->c: {{ \$c }}<!-- END c --> 010+ BODY; 011+ 012+ $T->load($body); 013+ 014+ for($i=0; $i<1000; $i++) { 015+ foreach(array('a','b','c') as $ctx_name) { 016+ $T->context('/'.$ctx_name); 017+ $T->set(array($ctx_name => $ctx_name.'_val_#'.$i)); 018+ } 019+ } 020+ 021+ $T->context('/'); 022+ $T->set(array('world' => 'World!')); 023+ 024+ echo $T->parse(); 025+ 026+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/mix5.phpt ================================================================================ <? $body = <<<BODY Root:{{ \$start }} {{BEGIN test }}Item:{{ \$item }} {{ END }} BODY; $T = new Blitz(); $T->load($body); $T->iterate('/test'); $T->set(array('item' => 'item_value_1')); $T->set(array('start' => 'start_1')); $T->iterate('/'); $T->block('/test', array('item' => 'item_value_2')); $T->block('/test', array('item' => 'item_value_3')); $T->context('/'); $T->set(array('start' => 'start_2')); echo $T->parse(); ?> ================================================================================ 001+ <? 002+ 003+ $body = <<<BODY 004+ Root:{{ \$start }} 005+ {{BEGIN test }}Item:{{ \$item }} 001- Root:start_1 002- Item: 003- Root:start_2 004- Item:item_value_2 005- Item:item_value_3 006+ {{ END }} 007+ BODY; 008+ 009+ $T = new Blitz(); 010+ $T->load($body); 011+ $T->iterate('/test'); 012+ $T->set(array('item' => 'item_value_1')); 013+ $T->set(array('start' => 'start_1')); 014+ 015+ $T->iterate('/'); 016+ $T->block('/test', array('item' => 'item_value_2')); 017+ $T->block('/test', array('item' => 'item_value_3')); 018+ $T->context('/'); 019+ $T->set(array('start' => 'start_2')); 020+ 021+ echo $T->parse(); 022+ 023+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/mix6.phpt ================================================================================ <? $T = new Blitz('fetch_cmplx.tpl'); for($i=0; $i<10; $i++) { $T->context('/root/a'); $T->set(array('x' => 'x_value#'.$i, 'i'=> $i)); if($i%2) { $T->context('b'); $T->set(array('y' => 'y_value#'.$i)); } } $T->dump_iterations(); ?> ================================================================================ 001+ <? 002+ 003+ $T = new Blitz('fetch_cmplx.tpl'); 004+ 005+ for($i=0; $i<10; $i++) { 006+ $T->context('/root/a'); 007+ $T->set(array('x' => 'x_value#'.$i, 'i'=> $i)); 008+ if($i%2) { 009+ $T->context('b'); 010+ $T->set(array('y' => 'y_value#'.$i)); 011+ } 012+ } 013+ 014+ $T->dump_iterations(); 015+ 016+ ?> 001- ITERATION DUMP (4 parts) 002- (1) iterations: 003- array(1) { 004- [0]=> 005- array(1) { 006- ["root"]=> 007- array(1) { 008- [0]=> 009- array(1) { 010- ["a"]=> 011- array(1) { 012- [0]=> 013- array(3) { 014- ["x"]=> 015- string(9) "x_value#9" 016- ["i"]=> 017- int(9) 018- ["b"]=> 019- array(1) { 020- [0]=> 021- array(1) { 022- ["y"]=> 023- string(9) "y_value#9" 024- } 025- } 026- } 027- } 028- } 029- } 030- } 031- } 032- (2) current path is: /root/a/b 033- (3) current node data (current_iteration_parent) is: 034- array(1) { 035- [0]=> 036- array(1) { 037- ["root"]=> 038- array(1) { 039- [0]=> 040- array(1) { 041- ["a"]=> 042- array(1) { 043- [0]=> 044- array(3) { 045- ["x"]=> 046- string(9) "x_value#9" 047- ["i"]=> 048- int(9) 049- ["b"]=> 050- array(1) { 051- [0]=> 052- array(1) { 053- ["y"]=> 054- string(9) "y_value#9" 055- } 056- } 057- } 058- } 059- } 060- } 061- } 062- } 063- (4) current node item data (current_iteration) is: 064- empty ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/return_non_string.phpt ================================================================================ <? $global_errors = ''; function myErrorHandler($errno, $errstr, $errfile, $errline) { global $global_errors; $global_errors .= $errstr; } set_error_handler("myErrorHandler"); class Tpl extends Blitz { function get_array() { return array(1,2,3); } function get_number() { return 2006; } function get_object() { return new Blitz(); } } $T = new Tpl(); $T->load("{{get_array()}} {{get_number()}} {{get_object()}}"); echo $T->parse(); $ver = (int)phpversion(); if($ver>4) { $test_errors = array( "Array to string conversion", "Object of class blitz could not be converted to string", "Object of class blitz to string conversion"); } else { $test_errors = array( "Array to string conversion", "Object to string conversion"); } if($global_errors === join($test_errors)) { echo "\nmessages OK\n"; } ?> ================================================================================ 001+ <? 002+ 001- Array 2006 Object 002- messages OK 003+ $global_errors = ''; 004+ 005+ function myErrorHandler($errno, $errstr, $errfile, $errline) { 006+ global $global_errors; 007+ $global_errors .= $errstr; 008+ } 009+ set_error_handler("myErrorHandler"); 010+ 011+ class Tpl extends Blitz 012+ { 013+ function get_array() { return array(1,2,3); } 014+ function get_number() { return 2006; } 015+ function get_object() { return new Blitz(); } 016+ } 017+ 018+ $T = new Tpl(); 019+ $T->load("{{get_array()}} {{get_number()}} {{get_object()}}"); 020+ echo $T->parse(); 021+ 022+ $ver = (int)phpversion(); 023+ if($ver>4) { 024+ $test_errors = array( 025+ "Array to string conversion", 026+ "Object of class blitz could not be converted to string", 027+ "Object of class blitz to string conversion"); 028+ } else { 029+ $test_errors = array( 030+ "Array to string conversion", 031+ "Object to string conversion"); 032+ } 033+ 034+ if($global_errors === join($test_errors)) { 035+ echo "\nmessages OK\n"; 036+ } 037+ 038+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/set_and_get.phpt ================================================================================ <? class Template extends Blitz { var $foo; var $bar; function set($foo, $bar) { $this->foo = $foo; $this->bar = $bar; return NULL; } function get() { return $this->dump(); } function dump() { debug_zval_dump($this->foo); debug_zval_dump($this->bar); } } $body = <<<BODY {{set('I am foo', 'I am bar')}} {{get()}} BODY; $Template = new Template(); $Template->load($body); echo $Template->parse(); ?> ================================================================================ 001+ <? 002+ 001- string(8) "I am foo" refcount(2) 002- string(8) "I am bar" refcount(2) 003+ class Template extends Blitz 004+ { 005+ var $foo; 006+ var $bar; 007+ 008+ function set($foo, $bar) 009+ { 010+ $this->foo = $foo; 011+ $this->bar = $bar; 012+ return NULL; 013+ } 014+ 015+ function get() 016+ { 017+ return $this->dump(); 018+ } 019+ 020+ function dump() 021+ { 022+ debug_zval_dump($this->foo); 023+ debug_zval_dump($this->bar); 024+ } 025+ } 026+ 027+ $body = <<<BODY 028+ {{set('I am foo', 'I am bar')}} 029+ {{get()}} 030+ BODY; 031+ 032+ $Template = new Template(); 033+ $Template->load($body); 034+ echo $Template->parse(); 035+ 036+ ?> ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/var.phpt ================================================================================ Fatal error: blitz::blitz(): unable to open file var.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/var.php on line 3 ================================================================================ 001+ Fatal error: blitz::blitz(): unable to open file var.tpl in /Users/macbook/bin/php5.2-200707311030/ext/blitz/tests/var.php on line 3 001- a_value 002- b_value 003- c_value ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/gettext/tests/gettext_basic.phpt ================================================================================ Basic test Basic test ================================================================================ 001+ Basic test 002+ Basic test 001- Perustesti 002- Perustesti ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/mysqli/tests/071.phpt ================================================================================ bool(true) bool(false) bool(false) bool(true) bool(false) bool(false) ================================================================================ 002+ bool(false) 003+ bool(false) 004- bool(true) 005- bool(true) ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/mysqli/tests/bug38710.phpt ================================================================================ Warning: mysqli_stmt::bind_result(): Server returned unknown type 250. Probably your client library is incompatible with the server version you use! in /Users/macbook/bin/php5.2-200707311030/ext/mysqli/tests/bug38710.php on line 8 NULL ================================================================================ 001+ Warning: mysqli_stmt::bind_result(): Server returned unknown type 250. Probably your client library is incompatible with the server version you use! in /Users/macbook/bin/php5.2-200707311030/ext/mysqli/tests/bug38710.php on line 8 001- string(8193) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa! aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa" 002+ NULL ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/simplexml/tests/bug38347.phpt ================================================================================ Fatal error: Cannot redeclare iterate() in /Users/macbook/bin/php5.2-200707311030/ext/simplexml/tests/bug38347.php on line 9 ================================================================================ 001+ Fatal error: Cannot redeclare iterate() in /Users/macbook/bin/php5.2-200707311030/ext/simplexml/tests/bug38347.php on line 9 001- SimpleXMLElement Object 002- ( 003- ) 004- 005- Warning: Invalid argument supplied for foreach() in %sbug38347.php on line 6 006- Done ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/array/locale_sort.phpt ================================================================================ array(13) { ["AB"]=> string(7) "Alberta" ["BC"]=> string(20) "Colombie-Britannique" ["MB"]=> string(8) "Manitoba" ["NB"]=> string(17) "Nouveau-Brunswick" ["NS"]=> string(15) "Nouvelle-Écosse" ["NU"]=> string(7) "Nunavut" ["ON"]=> string(7) "Ontario" ["QC"]=> string(6) "Québec" ["SK"]=> string(12) "Saskatchewan" ["NL"]=> string(23) "Terre-Neuve-et-Labrador" ["YT"]=> string(19) "Territoire du Yukon" ["NT"]=> string(25) "Territoires du Nord-Ouest" ["PE"]=> string(21) "Île-du-Prince-Édouard" } ================================================================================ 006- ["PE"]=> 007- string(21) "Île-du-Prince-Édouard" 026+ ["PE"]=> 027+ string(21) "Île-du-Prince-Édouard" ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/fileowner_basic.phpt ================================================================================ *** Testing fileowner(): basic functionality *** -- Testing with the file or directory created by owner -- array(7) { ["name"]=> string(7) "macbook" ["passwd"]=> string(8) "********" ["uid"]=> int(501) ["gid"]=> int(501) ["gecos"]=> string(12) "Damien Seguy" ["dir"]=> string(14) "/Users/macbook" ["shell"]=> string(9) "/bin/bash" } int(501) int(501) int(501) int(501) -- Testing with the standard file or directory -- int(0) int(0) int(0) *** Done *** ================================================================================ 007+ string(8) "********" 007- string(1) "x" ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/lstat_stat_variation6.phpt ================================================================================ *** Testing lstat() for link after using touch() on the link *** bool(true) bool(true) bool(true) Error: stat1 is not lesser than stat2 at key value: 8 Error: stat1 is not lesser than stat2 at key value: atime Dumping stat array 1... array(26) { [0]=> int(234881026) [1]=> int(10421317) [2]=> int(41453) [3]=> int(1) [4]=> int(501) [5]=> int(501) [6]=> int(0) [7]=> int(88) [8]=> int(1185881925) [9]=> int(1185881925) [10]=> int(1185881925) [11]=> int(4096) [12]=> int(8) ["dev"]=> int(234881026) ["ino"]=> int(10421317) ["mode"]=> int(41453) ["nlink"]=> int(1) ["uid"]=> int(501) ["gid"]=> int(501) ["rdev"]=> int(0) ["size"]=> int(88) ["atime"]=> int(1185881925) ["mtime"]=> int(1185881925) ["ctime"]=> int(1185881925) ["blksize"]=> int(4096) ["blocks"]=> int(8) } Dumping stat array 2... array(26) { [0]=> int(234881026) [1]=> int(10421317) [2]=> int(41453) [3]=> int(1) [4]=> int(501) [5]=> int(501) [6]=> int(0) [7]=> int(88) [8]=> int(1185881925) [9]=> int(1185881925) [10]=> int(1185881925) [11]=> int(4096) [12]=> int(8) ["dev"]=> int(234881026) ["ino"]=> int(10421317) ["mode"]=> int(41453) ["nlink"]=> int(1) ["uid"]=> int(501) ["gid"]=> int(501) ["rdev"]=> int(0) ["size"]=> int(88) ["atime"]=> int(1185881925) ["mtime"]=> int(1185881925) ["ctime"]=> int(1185881925) ["blksize"]=> int(4096) ["blocks"]=> int(8) } bool(false) --- Done --- ================================================================================ 005+ Error: stat1 is not lesser than stat2 at key value: 8 006+ Error: stat1 is not lesser than stat2 at key value: atime 005- bool(true) 007- --- Done --- 008+ Dumping stat array 1... 009+ array(26) { 010+ [0]=> 011+ int(234881026) 012+ [1]=> 013+ int(10421317) 014+ [2]=> 015+ int(41453) 016+ [3]=> 017+ int(1) 018+ [4]=> 019+ int(501) 020+ [5]=> 021+ int(501) 022+ [6]=> 023+ int(0) 024+ [7]=> 025+ int(88) 026+ [8]=> 027+ int(1185881925) 028+ [9]=> 029+ int(1185881925) 030+ [10]=> 031+ int(1185881925) 032+ [11]=> 033+ int(4096) 034+ [12]=> 035+ int(8) 036+ ["dev"]=> 037+ int(234881026) 038+ ["ino"]=> 039+ int(10421317) 040+ ["mode"]=> 041+ int(41453) 042+ ["nlink"]=> 043+ int(1) 044+ ["uid"]=> 045+ int(501) 046+ ["gid"]=> 047+ int(501) 048+ ["rdev"]=> 049+ int(0) 050+ ["size"]=> 051+ int(88) 052+ ["atime"]=> 053+ int(1185881925) 054+ ["mtime"]=> 055+ int(1185881925) 056+ ["ctime"]=> 057+ int(1185881925) 058+ ["blksize"]=> 059+ int(4096) 060+ ["blocks"]=> 061+ int(8) 062+ } 063+ 064+ Dumping stat array 2... 065+ array(26) { 066+ [0]=> 067+ int(234881026) 068+ [1]=> 069+ int(10421317) 070+ [2]=> 071+ int(41453) 072+ [3]=> 073+ int(1) 074+ [4]=> 075+ int(501) 076+ [5]=> 077+ int(501) 078+ [6]=> 079+ int(0) 080+ [7]=> 081+ int(88) 082+ [8]=> 083+ int(1185881925) 084+ [9]=> 085+ int(1185881925) 086+ [10]=> 087+ int(1185881925) 088+ [11]=> 089+ int(4096) 090+ [12]=> 091+ int(8) 092+ ["dev"]=> 093+ int(234881026) 094+ ["ino"]=> 095+ int(10421317) 096+ ["mode"]=> 097+ int(41453) 098+ ["nlink"]=> 099+ int(1) 100+ ["uid"]=> 101+ int(501) 102+ ["gid"]=> 103+ int(501) 104+ ["rdev"]=> 105+ int(0) 106+ ["size"]=> 107+ int(88) 108+ ["atime"]=> 109+ int(1185881925) 110+ ["mtime"]=> 111+ int(1185881925) 112+ ["ctime"]=> 113+ int(1185881925) 114+ ["blksize"]=> 115+ int(4096) 116+ ["blocks"]=> 117+ int(8) 118+ } 119+ bool(false) 120+ 121+ --- Done --- ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1.phpt ================================================================================ *** Testing readlink() and realpath(): with valid and invalid path *** -- Iteration 1 -- string(121) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" string(126) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" -- Iteration 2 -- string(126) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" string(131) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1_link.tmp" -- Iteration 3 -- string(126) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" string(126) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" -- Iteration 4 -- string(121) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" string(126) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" -- Iteration 5 -- Warning: readlink(): No such file or directory in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) bool(false) -- Iteration 6 -- Warning: readlink(): No such file or directory in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) bool(false) -- Iteration 7 -- Warning: readlink(): No such file or directory in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) string(123) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/..readlink_realpath_basic1_link.tmp" -- Iteration 8 -- Warning: readlink(): Invalid argument in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) string(126) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" Done ================================================================================ 005+ string(126) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" 005- string(%d) "%s/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" 009+ string(131) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1_link.tmp" 009- string(%d) "%s/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" 017+ string(126) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" 017- string(%d) "%s/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation1.phpt ================================================================================ *** Testing readlink() and realpath() : usage variations *** *** Testing readlink() and realpath() with linkname stored inside a object *** -- Testing readlink() and realpath() with softlink, linkname stored inside an object -- bool(true) string(140) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" string(134) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp" bool(true) string(140) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" string(100) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation1_link.tmp" -- Testing readlink() and realpath() with hardlink, linkname stored inside an object -- bool(true) Warning: readlink(): Invalid argument in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation1.php on line 45 bool(false) string(134) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp" bool(true) Warning: readlink(): Invalid argument in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation1.php on line 48 bool(false) string(100) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation1_link.tmp" Done ================================================================================ 008+ string(134) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp" 008- string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" 011+ string(100) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation1_link.tmp" 011- string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2.phpt ================================================================================ *** Testing readlink() and realpath() : usage variations *** *** Testing readlink() and realpath() with linkname stored in an array *** -- Testing readlink() and realpath() with softlink, linkname stored inside an array -- bool(true) string(140) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp" string(145) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tmp" Warning: symlink(): No such file or directory in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2.php on line 29 bool(false) Warning: readlink(): No such file or directory in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2.php on line 30 bool(false) bool(false) Warning: unlink(/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_realpath_variation2_link.tmp/): No such file or directory in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2.php on line 35 -- Testing readlink() and realpath() with hardlink, linkname stored inside an array -- bool(true) Warning: readlink(): Invalid argument in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2.php on line 40 bool(false) string(145) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tmp" Warning: link(): No such file or directory in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2.php on line 42 bool(false) Warning: readlink(): No such file or directory in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2.php on line 43 bool(false) bool(false) Warning: unlink(/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_realpath_variation2_link.tmp/): No such file or directory in /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2.php on line 48 Done ================================================================================ 008+ string(145) "/Users/macbook/bin/php5.2-200707311030/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tmp" 008- string(%d) "%s/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp" ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/general_functions/gettype_settype_variation2.phpt ================================================================================ 8: Undefined variable: unset_var 8: Undefined variable: undef_var *** Testing settype() & gettype() : usage variations *** -- Setting type of data to integer -- -- Iteration 1 -- string(4) "NULL" bool(true) int(0) string(7) "integer" -- Iteration 2 -- string(7) "boolean" bool(true) int(0) string(7) "integer" -- Iteration 3 -- string(7) "boolean" bool(true) int(1) string(7) "integer" -- Iteration 4 -- string(7) "boolean" bool(true) int(1) string(7) "integer" -- Iteration 5 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 6 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 7 -- string(6) "string" bool(true) int(3) string(7) "integer" -- Iteration 8 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 9 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 10 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 11 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 12 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 13 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 14 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 15 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 16 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 17 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 18 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 19 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 20 -- string(6) "string" bool(true) int(2147483647) string(7) "integer" -- Iteration 21 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 22 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 23 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 24 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 25 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 26 -- string(6) "string" bool(true) int(2147483647) string(7) "integer" -- Iteration 27 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 28 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 29 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 30 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 31 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 32 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 33 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 34 -- string(6) "string" bool(true) int(-123) string(7) "integer" -- Iteration 35 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 36 -- string(6) "string" bool(true) int(-123) string(7) "integer" -- Iteration 37 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 38 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 39 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 40 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 41 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 42 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 43 -- string(5) "array" bool(true) int(0) string(7) "integer" -- Iteration 44 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 45 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 46 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 47 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 48 -- string(6) "double" bool(true) int(-2147483648) string(7) "integer" -- Iteration 49 -- string(7) "integer" bool(true) int(2147483647) string(7) "integer" -- Iteration 50 -- string(6) "double" bool(true) int(-2147483647) string(7) "integer" -- Iteration 51 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 52 -- string(7) "integer" bool(true) int(85) string(7) "integer" -- Iteration 53 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 54 -- string(7) "integer" bool(true) int(-21903) string(7) "integer" -- Iteration 55 -- string(7) "integer" bool(true) int(365) string(7) "integer" -- Iteration 56 -- string(7) "integer" bool(true) int(-365) string(7) "integer" -- Iteration 57 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 58 -- string(6) "double" bool(true) int(100000) string(7) "integer" -- Iteration 59 -- string(6) "double" bool(true) int(-100000) string(7) "integer" -- Iteration 60 -- string(6) "double" bool(true) int(100000) string(7) "integer" -- Iteration 61 -- string(6) "double" bool(true) int(-100000) string(7) "integer" -- Iteration 62 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 63 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 64 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 65 -- string(6) "double" bool(true) int(500000) string(7) "integer" -- Iteration 66 -- string(6) "double" bool(true) int(-500000) string(7) "integer" -- Iteration 67 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 68 -- string(6) "double" bool(true) int(500000) string(7) "integer" -- Iteration 69 -- string(6) "double" bool(true) int(-500000) string(7) "integer" -- Iteration 70 -- string(6) "double" bool(true) int(512000) string(7) "integer" -- Iteration 71 -- string(6) "double" bool(true) int(-512000) string(7) "integer" -- Iteration 72 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 73 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 74 -- string(6) "double" bool(true) int(512000) string(7) "integer" -- Iteration 75 -- string(6) "double" bool(true) int(-512000) string(7) "integer" -- Iteration 76 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 77 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 78 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 79 -- string(4) "NULL" bool(true) int(0) string(7) "integer" -- Iteration 80 -- string(4) "NULL" bool(true) int(0) string(7) "integer" -- Setting type of data to int -- -- Iteration 1 -- string(4) "NULL" bool(true) int(0) string(7) "integer" -- Iteration 2 -- string(7) "boolean" bool(true) int(0) string(7) "integer" -- Iteration 3 -- string(7) "boolean" bool(true) int(1) string(7) "integer" -- Iteration 4 -- string(7) "boolean" bool(true) int(1) string(7) "integer" -- Iteration 5 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 6 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 7 -- string(6) "string" bool(true) int(3) string(7) "integer" -- Iteration 8 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 9 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 10 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 11 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 12 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 13 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 14 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 15 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 16 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 17 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 18 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 19 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 20 -- string(6) "string" bool(true) int(2147483647) string(7) "integer" -- Iteration 21 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 22 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 23 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 24 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 25 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 26 -- string(6) "string" bool(true) int(2147483647) string(7) "integer" -- Iteration 27 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 28 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 29 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 30 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 31 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 32 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 33 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 34 -- string(6) "string" bool(true) int(-123) string(7) "integer" -- Iteration 35 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 36 -- string(6) "string" bool(true) int(-123) string(7) "integer" -- Iteration 37 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 38 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 39 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 40 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 41 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 42 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 43 -- string(5) "array" bool(true) int(0) string(7) "integer" -- Iteration 44 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 45 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 46 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 47 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 48 -- string(6) "double" bool(true) int(-2147483648) string(7) "integer" -- Iteration 49 -- string(7) "integer" bool(true) int(2147483647) string(7) "integer" -- Iteration 50 -- string(6) "double" bool(true) int(-2147483647) string(7) "integer" -- Iteration 51 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 52 -- string(7) "integer" bool(true) int(85) string(7) "integer" -- Iteration 53 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 54 -- string(7) "integer" bool(true) int(-21903) string(7) "integer" -- Iteration 55 -- string(7) "integer" bool(true) int(365) string(7) "integer" -- Iteration 56 -- string(7) "integer" bool(true) int(-365) string(7) "integer" -- Iteration 57 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 58 -- string(6) "double" bool(true) int(100000) string(7) "integer" -- Iteration 59 -- string(6) "double" bool(true) int(-100000) string(7) "integer" -- Iteration 60 -- string(6) "double" bool(true) int(100000) string(7) "integer" -- Iteration 61 -- string(6) "double" bool(true) int(-100000) string(7) "integer" -- Iteration 62 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 63 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 64 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 65 -- string(6) "double" bool(true) int(500000) string(7) "integer" -- Iteration 66 -- string(6) "double" bool(true) int(-500000) string(7) "integer" -- Iteration 67 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 68 -- string(6) "double" bool(true) int(500000) string(7) "integer" -- Iteration 69 -- string(6) "double" bool(true) int(-500000) string(7) "integer" -- Iteration 70 -- string(6) "double" bool(true) int(512000) string(7) "integer" -- Iteration 71 -- string(6) "double" bool(true) int(-512000) string(7) "integer" -- Iteration 72 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 73 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 74 -- string(6) "double" bool(true) int(512000) string(7) "integer" -- Iteration 75 -- string(6) "double" bool(true) int(-512000) string(7) "integer" -- Iteration 76 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 77 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 78 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 79 -- string(4) "NULL" bool(true) int(0) string(7) "integer" -- Iteration 80 -- string(4) "NULL" bool(true) int(0) string(7) "integer" Done ================================================================================ 260+ int(-1) 260- int(-508130303) 270+ int(-1) 270- int(1952002105) 290+ int(-1) 290- int(343000682) 665+ int(-1) 665- int(-508130303) 675+ int(-1) 675- int(1952002105) 695+ int(-1) 695- int(343000682) ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/strings/htmlentities02.phpt (warn: possibly braindead libc) ================================================================================ string(24) "&frac14;&frac12;&frac34;" ================================================================================ 001+ string(24) "&frac14;&frac12;&frac34;" 001- string(20) "&OElig;&oelig;&Yuml;" ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/strings/htmlentities04.phpt ================================================================================ string(42) "&iexcl;&cent;&iexcl;&pound;&iexcl;&curren;" ================================================================================ 001+ string(42) "&iexcl;&cent;&iexcl;&pound;&iexcl;&curren;" 001- string(6) "¡¢¡£¡¤" ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/strings/htmlentities15.phpt ================================================================================ string(9) "ÒÏÓËÏÛÎÙÊ" string(63) "&Ograve;&Iuml;&Oacute;&Euml;&Iuml;&Ucirc;&Icirc;&Ugrave;&Ecirc;" ================================================================================ 002+ string(63) "&Ograve;&Iuml;&Oacute;&Euml;&Iuml;&Ucirc;&Icirc;&Ugrave;&Ecirc;" 002- string(63) "&#1088;&#1086;&#1089;&#1082;&#1086;&#1096;&#1085;&#1099;&#1081;" ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/standard/tests/strings/pack.phpt ================================================================================ Array ( [1] => h ) Array ( [1] => hello world ) "hello " Array ( [1] => 129 ) Array ( [1] => 127 ) Array ( [1] => 255 ) Array ( [1] => 127 ) Array ( [1] => 4 ) Array ( [1] => 65534 ) Array ( [1] => 0 ) Array ( [1] => -1000 ) Array ( [1] => -64434 ) Array ( [1] => -1 ) Array ( [1] => -2147483648 ) Array ( [1] => 65534 ) Array ( [1] => 0 ) Array ( [1] => -2147483646 ) Array ( [1] => -1 ) Array ( [1] => -2147483648 ) Array ( [1] => 65534 ) Array ( [1] => 0 ) Array ( [1] => -2147483646 ) Array ( [1] => -1 ) Array ( [1] => -2147483648 ) Array ( [1] => -30000 ) Array ( [1] => 65534 ) Array ( [1] => 1 ) Array ( [1] => 0 ) Array ( [1] => 64536 ) Array ( [1] => 1102 ) Array ( [1] => 1 ) Array ( [1] => 65534 ) Array ( [1] => 0 ) Array ( [1] => -2147483646 ) Array ( [1] => -1 ) Array ( [1] => -2147483648 ) Array ( [1] => h ) Array ( [1] => hello world ) Array ( [1] => -127 ) Array ( [1] => 127 ) Array ( [1] => -1 ) Array ( [1] => 127 ) Array ( [1] => 3 ) Array ( [1] => 65534 ) Array ( [1] => 0 ) Array ( [1] => -1000 ) Array ( [1] => -64434 ) Array ( [1] => -65535 ) Array ( [1] => -2147483647 ) Array ( [1] => 65534 ) Array ( [1] => 0 ) Array ( [1] => -2147483646 ) Array ( [1] => -1 ) Array ( [1] => -2147483648 ) Array ( [1] => 65534 ) Array ( [1] => 1 ) Array ( [1] => 0 ) Array ( [1] => 64536 ) Array ( [1] => 1102 ) Array ( [1] => 1 ) Array ( [1] => 32767 ) Array ( [1] => -1 ) Array ( [1] => 0 ) Array ( [1] => -1000 ) Array ( [1] => 1102 ) Array ( [1] => 1 ) Array ( [1] => 65534 ) Array ( [1] => 1 ) Array ( [1] => 0 ) Array ( [1] => 64536 ) Array ( [1] => 1102 ) Array ( [1] => 1 ) ================================================================================ 048+ [1] => -1 048- [1] => 0 088+ [1] => -1 088- [1] => 0 136+ [1] => -1 136- [1] => 0 208+ [1] => -1 208- [1] => 0 ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.phpt ================================================================================ Warning: Wrong parameter count for shm_attach() in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 5 NULL Warning: Wrong parameter count for shm_attach() in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 6 NULL Warning: shm_attach(): Segment size must be greater then zero. in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 8 bool(false) Warning: shm_attach(): Segment size must be greater then zero. in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 9 bool(false) Warning: shm_attach(): Segment size must be greater then zero. in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 10 bool(false) Warning: shm_attach(): Segment size must be greater then zero. in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 11 bool(false) Warning: shm_remove(): The parameter is not a valid shm_identifier in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 12 Warning: shm_attach(): Segment size must be greater then zero. in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 13 bool(false) Warning: shm_remove(): The parameter is not a valid shm_identifier in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 14 int(4) Warning: shm_remove(): The parameter is not a valid shm_identifier in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 17 int(5) int(6) Warning: shm_remove(): failed for key 0x7402101b, id 5: Invalid argument in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 21 int(7) int(8) Done ================================================================================ 030+ 031+ Warning: shm_remove(): failed for key 0x7402101b, id 5: Invalid argument in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/002.php on line 21 ================================================================================ ================================================================================ /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/007.phpt ================================================================================ Warning: Wrong parameter count for shm_remove() in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/007.php on line 6 NULL Warning: shm_remove(): The parameter is not a valid shm_identifier in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/007.php on line 7 bool(false) Warning: shm_remove(): The parameter is not a valid shm_identifier in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/007.php on line 8 bool(false) Warning: shm_remove(): The parameter is not a valid shm_identifier in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/007.php on line 9 bool(false) bool(true) Warning: shm_remove(): failed for key 0x7402102a, id 4: Invalid argument in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/007.php on line 12 bool(false) Warning: shm_remove(): The parameter is not a valid shm_identifier in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/007.php on line 15 bool(false) Done ================================================================================ 013+ 014+ Warning: shm_remove(): failed for key 0x7402102a, id 4: Invalid argument in /Users/macbook/bin/php5.2-200707311030/ext/sysvshm/tests/007.php on line 12 015+ bool(false) 013- bool(true) ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Darwin - Darwin macadams.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 Autoconf: autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 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. 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 (1.1220 2003/04/05 19:32:58) Copyright (C) 2003 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. Target: i686-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5367) Bison: GNU Bison version 1.28 Libraries: User's E-mail: dams at php dot net ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.2.4-dev System => Darwin macadams.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 Build Date => Jul 31 2007 07:14:17 Configure Command => './configure' '--with-apxs' '--prefix=/usr' '--with-iconv' '--disable-cgi' '--with-curl=/usr/local' '--enable-ftp' '--enable-wddx' '--enable-exif' '--enable-trans-sid' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-sockets' '--with-zlib-dir' '--with-gd' '--with-png-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-freetype-dir=/usr/local' '--with-libxml-dir=/usr/local' '--without-xmlrpc' '--enable-hash' '--enable-xdebug' '--with-json' '--enable-translit' '--enable-pcntl' '--with-ming=/usr/local' '--with-pspell' '--with-mysql=/usr/local/mysql-5.1.18-beta-osx10.4-i686' '--with-mysql-sock' '--with-mysqli=/usr/local/mysql-5.1.18-beta-osx10.4-i686/bin/mysql_config' '--enable-filter' '--with-ssh2' '--with-gettext' '--with-pdo-mysql=/usr/local/mysql-5.1.18-beta-osx10.4-i686' '--with-mhash' '--with-xsl' '--with-mcrypt' '--with-bcmath' '--with-bz2' '--enable-zip' '--enable-calendar' '--enable-dba' '--enable-dbase' '--enable-soap' '--enable-sysvmsg'! '--enable-sysvsem' '--enable-sysvshm' '--enable-shmop' '--with-openssl' '--enable-phar' '--with-fileinfo' '--enable-blitz' '--with-geoip' '--enable-parsekit' '--enable-parse_tree' '--enable-stats' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/lib Loaded Configuration File => /usr/lib/php.ini PHP API => 20041225 PHP Extension => 20060613 Zend Extension => 220060519 Debug Build => no Thread Safety => disabled Zend Memory Manager => enabled IPv6 Support => enabled Registered PHP Streams => zip, ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp, php, file, data, http, ftp, compress.zlib, compress.bzip2, phar, https, ftps Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*, bzip2.*, convert.iconv.* 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 => Off => Off allow_url_fopen => On => On allow_url_include => Off => Off always_populate_raw_post_data => On => On 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 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 => 6143 => 6143 expose_php => On => On extension_dir => ./ => ./ 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 => .:/php/includes:/Users/macbook/include => .:/php/includes:/Users/macbook/include log_errors => Off => Off log_errors_max_len => 1024 => 1024 magic_quotes_gpc => Off => Off 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 => On => On register_long_arrays => Off => Off report_memleaks => On => On report_zend_debug => Off => Off safe_mode => Off => Off safe_mode_exec_dir => no value => no value 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 => Off => Off SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => 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 => GPCS => GPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On zend.ze1_compatibility_mode => Off => Off blitz Blitz support => enabled Version => 0.4.13 Directive => Local Value => Master Value blitz.phpt_ctx_left => <!-- => <!-- blitz.phpt_ctx_right => --> => --> blitz.tag_close => }} => }} blitz.tag_open => {{ => {{ blitz.var_prefix => $ => $ bz2 BZip2 Support => Enabled Stream Wrapper support => compress.bz2:// Stream Filter support => bzip2.decompress, bzip2.compress BZip2 Version => 1.0.2, 30-Dec-2001 calendar Calendar support => enabled ctype ctype functions => enabled curl cURL support => enabled cURL Information => libcurl/7.15.3 OpenSSL/0.9.7l zlib/1.2.3 date date/time support => enabled "Olson" Timezone Database Version => 2007.6 Timezone Database => internal Default timezone => America/New_York 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 dba DBA support => enabled Supported handlers => cdb cdb_make inifile flatfile dom DOM/XML => enabled DOM/XML API Version => 20031129 libxml Version => 2.6.27 HTML Support => enabled XPath Support => enabled XPointer Support => enabled Schema Support => enabled RelaxNG Support => enabled exif EXIF Support => enabled EXIF Version => 1.4 $Id: exif.c,v 1.173.2.5.2.20 2007/06/10 20:12:45 iliaa Exp $ Supported EXIF Version => 0220 Supported filetypes => JPEG,TIFF fileinfo fileinfo support => enabled filter Input Validation and Filtering => enabled Revision => $Revision: 1.52.2.39 $ Directive => Local Value => Master Value filter.default => unsafe_raw => unsafe_raw filter.default_flags => no value => no value ftp FTP support => enabled gd GD Support => enabled GD Version => bundled (2.0.34 compatible) FreeType Support => enabled FreeType Linkage => with freetype FreeType Version => 2.1.10 GIF Read Support => enabled GIF Create Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled XBM Support => enabled geoip geoip support => enabled geoip extension version => 0.1.4-dev Directive => Local Value => Master Value geoip.database_standard => GeoIP.dat => GeoIP.dat gettext GetText Support => enabled hash hash support => enabled Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 iconv iconv support => enabled iconv implementation => libiconv iconv library version => 1.9 Directive => Local Value => Master Value iconv.input_encoding => ISO-8859-1 => ISO-8859-1 iconv.internal_encoding => ISO-8859-1 => ISO-8859-1 iconv.output_encoding => ISO-8859-1 => ISO-8859-1 json json support => enabled json version => 1.2.1 libxml libXML support => active libXML Version => 2.6.27 libXML streams => enabled mbstring Multibyte Support => enabled Multibyte string engine => libmbfl Multibyte (japanese) regex support => enabled Multibyte regex (oniguruma) version => 4.4.4 Multibyte regex (oniguruma) backtrack check => On mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive => Local Value => Master Value mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.internal_encoding => ISO-8859-1 => no value mbstring.language => neutral => neutral mbstring.strict_detection => Off => Off mbstring.substitute_character => no value => no value mcrypt mcrypt support => enabled Version => 2.5.7 Api No => 20021217 Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream Directive => Local Value => Master Value mcrypt.algorithms_dir => no value => no value mcrypt.modes_dir => no value => no value mhash MHASH support => Enabled MHASH API Version => 20060101 ming Ming SWF output library => enabled Version => 0.3.0 mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 5.1.18-beta MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => -I/usr/local/mysql-5.1.18-beta-osx10.4-i686/include MYSQL_LIBS => -L/usr/local/mysql-5.1.18-beta-osx10.4-i686/lib -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => 60 => 60 mysql.default_host => no value => no value mysql.default_password => coucou => coucou mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => host => host mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off mysqli MysqlI Support => enabled Client API library version => 5.1.18-beta Client API header version => 5.1.18-beta MYSQLI_SOCKET => /tmp/mysql.sock Directive => Local Value => Master Value mysqli.default_host => no value => no value mysqli.default_port => 3306 => 3306 mysqli.default_pw => no value => no value mysqli.default_socket => no value => no value mysqli.default_user => no value => no value mysqli.max_links => Unlimited => Unlimited mysqli.reconnect => Off => Off openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.7i 14 Oct 2005 parse_tree Parse Tree Support => enabled parsekit parsekit support => enabled pcntl pcntl support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 7.2 2007-06-19 Directive => Local Value => Master Value pcre.backtrack_limit => 100000 => 100000 pcre.recursion_limit => 100000 => 100000 PDO PDO support => enabled PDO drivers => sqlite2, sqlite, mysql pdo_mysql PDO Driver for MySQL, client library version => 5.1.18-beta pdo_sqlite PDO Driver for SQLite 3.x => enabled PECL Module version => (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.2 2007/03/23 14:30:00 wez Exp $ SQLite Library => 3.3.17 Phar Phar: PHP Archive support => enabled Phar EXT version => 1.0.0 Phar API version => 1.0.0 CVS revision => $Revision: 1.173 $ gzip compression => enabled bzip2 compression => enabled Phar based on pear/PHP_Archive, original concept by Davey Shafik Phar fully realized by Gregory Beaver and Marcus Boerger Directive => Local Value => Master Value phar.readonly => On => On phar.require_hash => On => On posix Revision => $Revision: 1.70.2.3.2.16 $ pspell PSpell Support => enabled Reflection Reflection => enabled Version => $Id: php_reflection.c,v 1.164.2.33.2.43 2007/07/24 23:15:58 johannes Exp $ session Session Support => enabled Registered save handlers => files user sqlite Registered serializer handlers => php php_binary wddx Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => Off => Off session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_httponly => Off => Off session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_divisor => 1000 => 1000 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.hash_bits_per_character => 5 => 5 session.hash_function => 0 => 0 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => no value => no value session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => 0 => 0 shmop shmop support => enabled SimpleXML Simplexml support => enabled Revision => $Revision: 1.151.2.22.2.33 $ Schema support => enabled soap Soap Client => enabled Soap Server => enabled Directive => Local Value => Master Value soap.wsdl_cache => 1 => 1 soap.wsdl_cache_dir => /tmp => /tmp soap.wsdl_cache_enabled => 1 => 1 soap.wsdl_cache_limit => 5 => 5 soap.wsdl_cache_ttl => 86400 => 86400 sockets Sockets Support => enabled SPL SPL support => enabled Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException SQLite SQLite support => enabled PECL Module version => 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9 2007/05/19 17:58:22 iliaa Exp $ SQLite Library => 2.8.17 SQLite Encoding => iso8859 Directive => Local Value => Master Value sqlite.assoc_case => 0 => 0 ssh2 libssh2 version => 0.13 banner => SSH-2.0-libssh2_0.13 remote forwarding => enabled hostbased auth => enabled polling support => enabled publickey subsystem => enabled 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,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentry user_agent => no value => no value stats Statistics Support => enabled sysvmsg sysvmsg support => enabled Revision => $Revision: 1.20.2.3.2.6 $ tokenizer Tokenizer Support => enabled translit Transliteration support => enabled wddx WDDX Support => enabled WDDX Session Serializer => enabled xml XML Support => active XML Namespace Support => active libxml2 Version => 2.6.27 xmlreader XMLReader => enabled xmlwriter XMLWriter => enabled xsl XSL => enabled libxslt Version => 1.1.20 libxslt compiled against libxml Version => 2.6.27 EXSLT => enabled libexslt Version => 1.1.20 zip Zip => enabled Extension Version => $Id: php_zip.c,v 1.1.2.37 2007/06/04 06:38:22 tony2001 Exp $ Zip version => 2.0.0 Libzip version => 0.7.1 zlib ZLib Support => enabled Stream Wrapper support => compress.zlib:// Stream Filter support => zlib.inflate, zlib.deflate Compiled Version => 1.2.3 Linked Version => 1.2.3 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name dbase sysvsem sysvshm Environment Variable => Value TERM_PROGRAM => Apple_Terminal TEST_PHP_SRCDIR => /Users/macbook/bin/php5.2-200707311030 SHELL => /bin/sh TERM => xterm-color MAKEFLAGS => SSH_CLIENT => deleted TERM_PROGRAM_VERSION => 133 SSH_TTY => deleted USER => macbook SSH_AUTH_SOCK => deleted __CF_USER_TEXT_ENCODING => 0x1F5:0:91 MAKELEVEL => 1 MFLAGS => PATH => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin _ => /Users/macbook/bin/php5.2-200707311030/sapi/cli/php PWD => /Users/macbook/bin/php5.2-200707311030 TEST_PHP_EXECUTABLE => /Users/macbook/bin/php5.2-200707311030/sapi/cli/php HOME => /Users/macbook SHLVL => 3 LOGNAME => macbook SSH_CONNECTION => deleted CC => gcc SECURITYSESSIONID => 129b400 PHP Variables Variable => Value PHP_SELF => _SERVER["TERM_PROGRAM"] => Apple_Terminal _SERVER["TEST_PHP_SRCDIR"] => /Users/macbook/bin/php5.2-200707311030 _SERVER["SHELL"] => /bin/sh _SERVER["TERM"] => xterm-color _SERVER["MAKEFLAGS"] => _SERVER["SSH_CLIENT"] => deleted _SERVER["TERM_PROGRAM_VERSION"] => 133 _SERVER["SSH_TTY"] => deleted _SERVER["USER"] => macbook _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["__CF_USER_TEXT_ENCODING"] => 0x1F5:0:91 _SERVER["MAKELEVEL"] => 1 _SERVER["MFLAGS"] => _SERVER["PATH"] => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin _SERVER["_"] => /Users/macbook/bin/php5.2-200707311030/sapi/cli/php _SERVER["PWD"] => /Users/macbook/bin/php5.2-200707311030 _SERVER["TEST_PHP_EXECUTABLE"] => /Users/macbook/bin/php5.2-200707311030/sapi/cli/php _SERVER["HOME"] => /Users/macbook _SERVER["SHLVL"] => 3 _SERVER["LOGNAME"] => macbook _SERVER["SSH_CONNECTION"] => deleted _SERVER["CC"] => gcc _SERVER["SECURITYSESSIONID"] => 129b400 _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["REQUEST_TIME"] => 1185882173 _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 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.

« previous php.qa (#42776) next »