1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
Nikita Popov 7485978339 Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

40 lines
441 B
PHP

--TEST--
token_get_all() and wrong parameters
--EXTENSIONS--
tokenizer
--FILE--
<?php
var_dump(token_get_all(""));
var_dump(token_get_all(0));
var_dump(token_get_all(-1));
echo "Done\n";
?>
--EXPECTF--
array(0) {
}
array(1) {
[0]=>
array(3) {
[0]=>
int(%d)
[1]=>
string(1) "0"
[2]=>
int(1)
}
}
array(1) {
[0]=>
array(3) {
[0]=>
int(%d)
[1]=>
string(2) "-1"
[2]=>
int(1)
}
}
Done