iliaa Mon Feb 16 12:09:09 2004 EDT
Modified files:
/php-src/ext/tokenizer/tests bug26463.phpt
Log:
Fix test.
http://cvs.php.net/diff.php/php-src/ext/tokenizer/tests/bug26463.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/ext/tokenizer/tests/bug26463.phpt
diff -u php-src/ext/tokenizer/tests/bug26463.phpt:1.1
php-src/ext/tokenizer/tests/bug26463.phpt:1.2
--- php-src/ext/tokenizer/tests/bug26463.phpt:1.1 Sat Nov 29 14:05:13 2003
+++ php-src/ext/tokenizer/tests/bug26463.phpt Mon Feb 16 12:09:08 2004
@@ -13,12 +13,12 @@
?>';
var_dump(token_get_all($str));
?>
---EXPECT--
+--EXPECTF--
array(17) {
[0]=>
array(2) {
[0]=>
- int(363)
+ int(%d)
[1]=>
string(6) "<?php
"
@@ -26,7 +26,7 @@
[1]=>
array(2) {
[0]=>
- int(307)
+ int(%d)
[1]=>
string(2) "$x"
}
@@ -35,7 +35,7 @@
[3]=>
array(2) {
[0]=>
- int(367)
+ int(%d)
[1]=>
string(6) "<<<DD
"
@@ -43,7 +43,7 @@
[4]=>
array(2) {
[0]=>
- int(305)
+ int(%d)
[1]=>
string(13) "jhdsjkfhjdsh
"
@@ -51,7 +51,7 @@
[5]=>
array(2) {
[0]=>
- int(368)
+ int(%d)
[1]=>
string(2) "DD"
}
@@ -60,7 +60,7 @@
[7]=>
array(2) {
[0]=>
- int(313)
+ int(%d)
[1]=>
string(2) """"
}
@@ -69,7 +69,7 @@
[9]=>
array(2) {
[0]=>
- int(366)
+ int(%d)
[1]=>
string(1) "
"
@@ -77,7 +77,7 @@
[10]=>
array(2) {
[0]=>
- int(307)
+ int(%d)
[1]=>
string(2) "$a"
}
@@ -86,7 +86,7 @@
[12]=>
array(2) {
[0]=>
- int(367)
+ int(%d)
[1]=>
string(8) "<<<DDDD
"
@@ -94,7 +94,7 @@
[13]=>
array(2) {
[0]=>
- int(305)
+ int(%d)
[1]=>
string(13) "jhdsjkfhjdsh
"
@@ -102,7 +102,7 @@
[14]=>
array(2) {
[0]=>
- int(368)
+ int(%d)
[1]=>
string(4) "DDDD"
}
@@ -111,7 +111,7 @@
[16]=>
array(2) {
[0]=>
- int(365)
+ int(%d)
[1]=>
string(2) "?>"
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php