1--TEST--
2Test strcspn() behavior
3--FILE--
4<?php
5$a = "22222222aaaa bbb1111 cccc";
6$b = "1234";
7var_dump($a);
8var_dump($b);
9var_dump(strcspn($a,$b));
10var_dump(strcspn($a,$b,9));
11var_dump(strcspn($a,$b,9,6));
12var_dump(strcspn('a', 'B', 1, 2147483647));
13?>
14--EXPECT--
15string(25) "22222222aaaa bbb1111 cccc"
16string(4) "1234"
17int(0)
18int(7)
19int(6)
20int(0)
21