-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move vkext builtins to runtime-common (#1197)
- Loading branch information
1 parent
29f2b81
commit 23ce77b
Showing
21 changed files
with
1,155 additions
and
683 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 21 additions & 12 deletions
33
...unctions/kphp-light/unsupported/vkext.txt → builtin-functions/kphp-light/vkext.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,34 @@ | ||
<?php | ||
|
||
/** @kphp-extern-func-info generate-stub */ | ||
// ===== SUPPORTED ===== | ||
|
||
function vk_utf8_to_win ($text ::: string, $max_len ::: int = 0, $exit_on_error ::: bool = false) ::: string; | ||
/** @kphp-extern-func-info generate-stub */ | ||
|
||
function vk_win_to_utf8 ($text ::: string, $escape ::: bool = true) ::: string; | ||
/** @kphp-extern-func-info generate-stub */ | ||
function vk_flex ($name ::: string, $case_name ::: string, $sex ::: int, $type ::: string, $lang_id ::: int = 0) ::: string; | ||
/** @kphp-extern-func-info generate-stub */ | ||
|
||
function vk_json_encode ($v ::: mixed) ::: string | false; | ||
/** @kphp-extern-func-info can_throw generate-stub */ | ||
function vk_json_encode_safe ($v ::: mixed) ::: string; | ||
/** @kphp-extern-func-info generate-stub */ | ||
|
||
function vk_sp_deunicode ($str ::: string) ::: string; | ||
/** @kphp-extern-func-info generate-stub */ | ||
|
||
function vk_sp_simplify ($str ::: string) ::: string; | ||
/** @kphp-extern-func-info generate-stub */ | ||
|
||
function vk_sp_to_lower ($str ::: string) ::: string; | ||
/** @kphp-extern-func-info generate-stub */ | ||
|
||
function vk_sp_to_upper ($str ::: string) ::: string; | ||
|
||
function vk_whitespace_pack ($str ::: string, $html_opt ::: bool = false) ::: string; | ||
|
||
function vk_sp_full_simplify ($str ::: string) ::: string; | ||
|
||
// ===== UNSUPPORTED ===== | ||
|
||
/** @kphp-extern-func-info generate-stub */ | ||
function vk_stats_hll_merge($str ::: mixed) ::: string | false; | ||
/** @kphp-extern-func-info generate-stub */ | ||
function vk_stats_hll_count($hll ::: string) ::: float | false; | ||
function vk_stats_hll_count($hll ::: string) ::: float | false; | ||
|
||
/** @kphp-extern-func-info generate-stub */ | ||
function vk_flex ($name ::: string, $case_name ::: string, $sex ::: int, $type ::: string, $lang_id ::: int = 0) ::: string; | ||
|
||
/** @kphp-extern-func-info can_throw generate-stub */ | ||
function vk_json_encode_safe ($v ::: mixed) ::: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.