mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Declare ext/standard constants in stubs - part 7 (#9505)
This commit is contained in:
parent
580c29e1a2
commit
3227d04fa9
5 changed files with 126 additions and 51 deletions
|
@ -78,6 +78,16 @@ PHPAPI bool php_binary_string_shuffle(const php_random_algo *algo, php_random_st
|
|||
# define php_mb_reset() php_ignore_value(mblen(NULL, 0))
|
||||
#endif
|
||||
|
||||
void register_string_constants(INIT_FUNC_ARGS);
|
||||
#define PHP_STR_PAD_LEFT 0
|
||||
#define PHP_STR_PAD_RIGHT 1
|
||||
#define PHP_STR_PAD_BOTH 2
|
||||
#define PHP_PATHINFO_DIRNAME 1
|
||||
#define PHP_PATHINFO_BASENAME 2
|
||||
#define PHP_PATHINFO_EXTENSION 4
|
||||
#define PHP_PATHINFO_FILENAME 8
|
||||
#define PHP_PATHINFO_ALL (PHP_PATHINFO_DIRNAME | PHP_PATHINFO_BASENAME | PHP_PATHINFO_EXTENSION | PHP_PATHINFO_FILENAME)
|
||||
|
||||
#define PHP_STR_STRSPN 0
|
||||
#define PHP_STR_STRCSPN 1
|
||||
|
||||
#endif /* PHP_STRING_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue