tony2001 Thu Jan 5 18:09:32 2006 UTC
Modified files: (Branch: PHP_4_4)
/php-src/ext/tokenizer/tests bug26463.phpt
Log:
fix test
http://cvs.php.net/viewcvs.cgi/php-src/ext/tokenizer/tests/bug26463.phpt?r1=1.1.2.2.2.1&r2=1.1.2.2.2.2&diff_format=u
Index: php-src/ext/tokenizer/tests/bug26463.phpt
diff -u php-src/ext/tokenizer/tests/bug26463.phpt:1.1.2.2.2.1
php-src/ext/tokenizer/tests/bug26463.phpt:1.1.2.2.2.2
--- php-src/ext/tokenizer/tests/bug26463.phpt:1.1.2.2.2.1 Tue Dec 13
21:45:00 2005
+++ php-src/ext/tokenizer/tests/bug26463.phpt Thu Jan 5 18:09:32 2006
@@ -1,5 +1,7 @@
--TEST--
Bug #26463 (token_get_all() does not correctly handle semicolons after
T_END_HEREDOC)
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
--FILE--
<?php
$str = '<?php
@@ -18,7 +20,7 @@
[0]=>
array(2) {
[0]=>
- int(367)
+ int(354)
[1]=>
string(6) "<?php
"
@@ -26,7 +28,7 @@
[1]=>
array(2) {
[0]=>
- int(309)
+ int(307)
[1]=>
string(2) "$x"
}
@@ -35,7 +37,7 @@
[3]=>
array(2) {
[0]=>
- int(371)
+ int(358)
[1]=>
string(6) "<<<DD
"
@@ -43,7 +45,7 @@
[4]=>
array(2) {
[0]=>
- int(307)
+ int(305)
[1]=>
string(13) "jhdsjkfhjdsh
"
@@ -51,14 +53,14 @@
[5]=>
array(2) {
[0]=>
- int(372)
+ int(359)
[1]=>
string(2) "DD"
}
[6]=>
array(2) {
[0]=>
- int(370)
+ int(357)
[1]=>
string(1) "
"
@@ -68,7 +70,7 @@
[8]=>
array(2) {
[0]=>
- int(315)
+ int(313)
[1]=>
string(2) """"
}
@@ -77,7 +79,7 @@
[10]=>
array(2) {
[0]=>
- int(370)
+ int(357)
[1]=>
string(1) "
"
@@ -85,7 +87,7 @@
[11]=>
array(2) {
[0]=>
- int(309)
+ int(307)
[1]=>
string(2) "$a"
}
@@ -94,7 +96,7 @@
[13]=>
array(2) {
[0]=>
- int(371)
+ int(358)
[1]=>
string(8) "<<<DDDD
"
@@ -102,7 +104,7 @@
[14]=>
array(2) {
[0]=>
- int(307)
+ int(305)
[1]=>
string(13) "jhdsjkfhjdsh
"
@@ -110,7 +112,7 @@
[15]=>
array(2) {
[0]=>
- int(372)
+ int(359)
[1]=>
string(4) "DDDD"
}
@@ -119,7 +121,7 @@
[17]=>
array(2) {
[0]=>
- int(370)
+ int(357)
[1]=>
string(1) "
"
@@ -127,7 +129,7 @@
[18]=>
array(2) {
[0]=>
- int(369)
+ int(356)
[1]=>
string(2) "?>"
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php