cvs: php-src(PHP_4_3) /ext/tokenizer/tests bug26463.phpt
| From: | Ilia Alshanetsky | Date: | Tue, 04 Jan 2005 23:09:15 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /ext/tokenizer/tests bug26463.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-29765@lists.php.net to get a copy of this message | ||
iliaa Tue Jan 4 18:09:15 2005 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/tokenizer/tests bug26463.phpt
Log:
Fixed test case.
http://cvs.php.net/diff.php/php-src/ext/tokenizer/tests/bug26463.phpt?r1=1.1.2.1&r2=1.1.2.2&ty=u
Index: php-src/ext/tokenizer/tests/bug26463.phpt
diff -u php-src/ext/tokenizer/tests/bug26463.phpt:1.1.2.1
php-src/ext/tokenizer/tests/bug26463.phpt:1.1.2.2
--- php-src/ext/tokenizer/tests/bug26463.phpt:1.1.2.1 Sat Nov 29 14:05:59 2003
+++ php-src/ext/tokenizer/tests/bug26463.phpt Tue Jan 4 18:09:13 2005
@@ -13,12 +13,12 @@
?>';
var_dump(token_get_all($str));
?>
---EXPECT--
+--EXPECTF--
array(17) {
[0]=>
array(2) {
[0]=>
- int(353)
+ int(%d)
[1]=>
string(6) "<?php
"
@@ -26,7 +26,7 @@
[1]=>
array(2) {
[0]=>
- int(306)
+ int(%d)
[1]=>
string(2) "$x"
}
@@ -35,7 +35,7 @@
[3]=>
array(2) {
[0]=>
- int(357)
+ int(%d)
[1]=>
string(6) "<<<DD
"
@@ -43,7 +43,7 @@
[4]=>
array(2) {
[0]=>
- int(304)
+ int(%d)
[1]=>
string(13) "jhdsjkfhjdsh
"
@@ -51,7 +51,7 @@
[5]=>
array(2) {
[0]=>
- int(358)
+ int(%d)
[1]=>
string(2) "DD"
}
@@ -60,7 +60,7 @@
[7]=>
array(2) {
[0]=>
- int(312)
+ int(%d)
[1]=>
string(2) """"
}
@@ -69,7 +69,7 @@
[9]=>
array(2) {
[0]=>
- int(356)
+ int(%d)
[1]=>
string(1) "
"
@@ -77,7 +77,7 @@
[10]=>
array(2) {
[0]=>
- int(306)
+ int(%d)
[1]=>
string(2) "$a"
}
@@ -86,7 +86,7 @@
[12]=>
array(2) {
[0]=>
- int(357)
+ int(%d)
[1]=>
string(8) "<<<DDDD
"
@@ -94,7 +94,7 @@
[13]=>
array(2) {
[0]=>
- int(304)
+ int(%d)
[1]=>
string(13) "jhdsjkfhjdsh
"
@@ -102,7 +102,7 @@
[14]=>
array(2) {
[0]=>
- int(358)
+ int(%d)
[1]=>
string(4) "DDDD"
}
@@ -111,7 +111,7 @@
[16]=>
array(2) {
[0]=>
- int(355)
+ int(%d)
[1]=>
string(2) "?>"
}