1--TEST--
2Test strlen() function : basic functionality
3--FILE--
4<?php
5
6/* Prototype  : int strlen  ( string $string  )
7 * Description: Get string length
8 * Source code: ext/standard/string.c
9*/
10
11echo "*** Testing strlen() : basic functionality ***\n";
12var_dump(strlen("abcdef"));
13var_dump(strlen(" ab de "));
14var_dump(strlen(""));
15var_dump(strlen("\x90\x91\x00\x93\x94\x90\x91\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"));
16?>
17===DONE===
18--EXPECTF--
19*** Testing strlen() : basic functionality ***
20int(6)
21int(7)
22int(0)
23int(18)
24===DONE===
25