Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/spl/tests dit_002.phpt

2008-08-15 Thread Hannes Magnusson
2008/8/15 Jani Taskinen [EMAIL PROTECTED]:
 janiThu Aug 14 23:28:12 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/spl/tests  dit_002.phpt
  Log:
  MFH

 http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/dit_002.phpt?r1=1.1.2.3r2=1.1.2.4diff_format=u
 Index: php-src/ext/spl/tests/dit_002.phpt
 diff -u php-src/ext/spl/tests/dit_002.phpt:1.1.2.3 
 php-src/ext/spl/tests/dit_002.phpt:1.1.2.4
 --- php-src/ext/spl/tests/dit_002.phpt:1.1.2.3  Sat May 24 14:10:43 2008
 +++ php-src/ext/spl/tests/dit_002.phpt  Thu Aug 14 23:28:12 2008
 @@ -1,5 +1,7 @@
  --TEST--
  SPL: DirectoryIterator defaults
 +--SKIPIF--
 +?php if (!extension_loaded(spl) || !extension_loaded('reflection')) print 
 skip; ?
  --FILE--
  ?php

 @@ -29,7 +31,7 @@
var_dump($obj-getFlags());
if ($isstring) {
$val = $obj-current();
 -   if (is_string($val)) {
 +   if (is_string($val) || is_unicode($val)) {

Uhh? In 5_3?

-Hannes

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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/spl/tests dit_002.phpt

2008-08-15 Thread Jani Taskinen
janiFri Aug 15 15:21:04 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/spl/tests  dit_002.phpt 
  Log:
  - Remove crap
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/dit_002.phpt?r1=1.1.2.4r2=1.1.2.5diff_format=u
Index: php-src/ext/spl/tests/dit_002.phpt
diff -u php-src/ext/spl/tests/dit_002.phpt:1.1.2.4 
php-src/ext/spl/tests/dit_002.phpt:1.1.2.5
--- php-src/ext/spl/tests/dit_002.phpt:1.1.2.4  Thu Aug 14 23:28:12 2008
+++ php-src/ext/spl/tests/dit_002.phpt  Fri Aug 15 15:21:04 2008
@@ -31,7 +31,7 @@
var_dump($obj-getFlags());
if ($isstring) {
$val = $obj-current();
-   if (is_string($val) || is_unicode($val)) {
+   if (is_string($val)) {
var_dump(true);
} else {
var_dump($val);



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



Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/spl/tests dit_002.phpt

2008-08-15 Thread Jani Taskinen

Fixed now. It didn't really matter, the test fails anyway if $val is not 
string. Just for different reason. :D

--Jani

Hannes Magnusson [EMAIL PROTECTED] kirjoitti: 

2008/8/15 Jani Taskinen [EMAIL PROTECTED]:
 janiThu Aug 14 23:28:12 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/spl/tests  dit_002.phpt
  Log:
  MFH

 
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/dit_002.phpt?r1=1.1.2.3r2=1.1.2.4diff_format=u
 Index: php-src/ext/spl/tests/dit_002.phpt
 diff -u php-src/ext/spl/tests/dit_002.phpt:1.1.2.3 
php-src/ext/spl/tests/dit_002.phpt:1.1.2.4
 --- php-src/ext/spl/tests/dit_002.phpt:1.1.2.3  Sat May 24 14:10:43 2008
 +++ php-src/ext/spl/tests/dit_002.phpt  Thu Aug 14 23:28:12 2008
 @@ -1,5 +1,7 @@
  --TEST--
  SPL: DirectoryIterator defaults
 +--SKIPIF--
 +?php if (!extension_loaded(spl) || !extension_loaded('reflection')) print 
skip; ?
  --FILE--
  ?php

 @@ -29,7 +31,7 @@
var_dump($obj-getFlags());
if ($isstring) {
$val = $obj-current();
 -   if (is_string($val)) {
 +   if (is_string($val) || is_unicode($val)) {

Uhh? In 5_3?

-Hannes




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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/spl/tests dit_002.phpt

2008-08-14 Thread Jani Taskinen
janiThu Aug 14 23:28:12 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/spl/tests  dit_002.phpt 
  Log:
  MFH
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/dit_002.phpt?r1=1.1.2.3r2=1.1.2.4diff_format=u
Index: php-src/ext/spl/tests/dit_002.phpt
diff -u php-src/ext/spl/tests/dit_002.phpt:1.1.2.3 
php-src/ext/spl/tests/dit_002.phpt:1.1.2.4
--- php-src/ext/spl/tests/dit_002.phpt:1.1.2.3  Sat May 24 14:10:43 2008
+++ php-src/ext/spl/tests/dit_002.phpt  Thu Aug 14 23:28:12 2008
@@ -1,5 +1,7 @@
 --TEST--
 SPL: DirectoryIterator defaults
+--SKIPIF--
+?php if (!extension_loaded(spl) || !extension_loaded('reflection')) print 
skip; ?
 --FILE--
 ?php
 
@@ -29,7 +31,7 @@
var_dump($obj-getFlags());
if ($isstring) {
$val = $obj-current();
-   if (is_string($val)) {
+   if (is_string($val) || is_unicode($val)) {
var_dump(true);
} else {
var_dump($val);



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