PHP 8 compatibility
[m6w6/ext-psi] / tests / parser / validate003.phpt
index f597d2452dcd367086fc4bd89d10e3446c984d88..018cc27348794155f9b6bda0953f1213c54307a3 100644 (file)
@@ -1,9 +1,5 @@
 --TEST--
 validate types
---SKIPIF--
-<?php 
-extension_loaded("psi") or die("skip - need ext/psi");
-?>
 --FILE--
 ===TEST===
 <?php 
@@ -15,4 +11,12 @@ psi_validate_string("typedef long int;");
 ===TEST===
 
 Warning: PSI syntax error, unexpected ;, expecting %s at col 17 in %s on line 1
+
+Warning: PSI preceding token 'typedef' at col 1 in <stdin> on line 1
+
+Warning: PSI preceding token 'long' at col 9 in <stdin> on line 1
+
+Warning: PSI preceding token 'int' at col 14 in <stdin> on line 1
+
+Warning: PSI offending token ';' at col 17 in <stdin> on line 1
 ===DONE===