blob: 428d1a170972ef6c1b9277f73cec6221531402d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--TEST--
Test strlen() function : basic functionality
--FILE--
<?php
echo "*** Testing strlen() : basic functionality ***\n";
var_dump(strlen("abcdef"));
var_dump(strlen(" ab de "));
var_dump(strlen(""));
var_dump(strlen("\x90\x91\x00\x93\x94\x90\x91\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"));
?>
--EXPECT--
*** Testing strlen() : basic functionality ***
int(6)
int(7)
int(0)
int(18)
|