]> granicus.if.org Git - php/commitdiff
fix test
authorAntony Dovgal <tony2001@php.net>
Thu, 5 Jan 2006 18:09:32 +0000 (18:09 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 5 Jan 2006 18:09:32 +0000 (18:09 +0000)
ext/tokenizer/tests/bug26463.phpt

index 679ffe3c37ed299f90962cb4510c05cf5d501d2f..5c4a9b6e8ad9d4306994d4342f4659091a47ebbd 100644 (file)
@@ -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 @@ array(19) {
   [0]=>
   array(2) {
     [0]=>
-    int(367)
+    int(354)
     [1]=>
     string(6) "<?php
 "
@@ -26,7 +28,7 @@ array(19) {
   [1]=>
   array(2) {
     [0]=>
-    int(309)
+    int(307)
     [1]=>
     string(2) "$x"
   }
@@ -35,7 +37,7 @@ array(19) {
   [3]=>
   array(2) {
     [0]=>
-    int(371)
+    int(358)
     [1]=>
     string(6) "<<<DD
 "
@@ -43,7 +45,7 @@ array(19) {
   [4]=>
   array(2) {
     [0]=>
-    int(307)
+    int(305)
     [1]=>
     string(13) "jhdsjkfhjdsh
 "
@@ -51,14 +53,14 @@ array(19) {
   [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 @@ array(19) {
   [8]=>
   array(2) {
     [0]=>
-    int(315)
+    int(313)
     [1]=>
     string(2) """"
   }
@@ -77,7 +79,7 @@ array(19) {
   [10]=>
   array(2) {
     [0]=>
-    int(370)
+    int(357)
     [1]=>
     string(1) "
 "
@@ -85,7 +87,7 @@ array(19) {
   [11]=>
   array(2) {
     [0]=>
-    int(309)
+    int(307)
     [1]=>
     string(2) "$a"
   }
@@ -94,7 +96,7 @@ array(19) {
   [13]=>
   array(2) {
     [0]=>
-    int(371)
+    int(358)
     [1]=>
     string(8) "<<<DDDD
 "
@@ -102,7 +104,7 @@ array(19) {
   [14]=>
   array(2) {
     [0]=>
-    int(307)
+    int(305)
     [1]=>
     string(13) "jhdsjkfhjdsh
 "
@@ -110,7 +112,7 @@ array(19) {
   [15]=>
   array(2) {
     [0]=>
-    int(372)
+    int(359)
     [1]=>
     string(4) "DDDD"
   }
@@ -119,7 +121,7 @@ array(19) {
   [17]=>
   array(2) {
     [0]=>
-    int(370)
+    int(357)
     [1]=>
     string(1) "
 "
@@ -127,7 +129,7 @@ array(19) {
   [18]=>
   array(2) {
     [0]=>
-    int(369)
+    int(356)
     [1]=>
     string(2) "?>"
   }